PageRenderTime 498ms queryFilters 0ms Sphinxql 255ms GetByIds 195ms meta 0ms repositoryFilters 14ms languageFilters 1ms sourceFilters 1ms

147,079 results for 'php chr' (498 ms)

Source

Language

Repository

String.php https://bitbucket.org/thomashii/vtigercrm-6-for-postgresql.git | PHP | 730 lines
33 * @package    PHPExcel_Shared
34 * @copyright  Copyright (c) 2006 - 2012 PHPExcel (http://www.codeplex.com/PHPExcel)
35 */
517	 * Assumes Big-Endian byte order if no BOM is available.
518	 * This function was taken from http://php.net/manual/en/function.utf8-decode.php
519	 * and $bom_be parameter added.
627	 * Set the decimal separator. Only used by PHPExcel_Style_NumberFormat::toFormattedString()
628	 * to format output by PHPExcel_Writer_HTML and PHPExcel_Writer_PDF
629	 *
654	 * Set the thousands separator. Only used by PHPExcel_Style_NumberFormat::toFormattedString()
655	 * to format output by PHPExcel_Writer_HTML and PHPExcel_Writer_PDF
656	 *
686	 * Set the currency code. Only used by PHPExcel_Style_NumberFormat::toFormattedString()
687	 *		to format output by PHPExcel_Writer_HTML and PHPExcel_Writer_PDF
688	 *
String.php https://bitbucket.org/amorello/changeover.git | PHP | 730 lines
33 * @package    PHPExcel_Shared
34 * @copyright  Copyright (c) 2006 - 2012 PHPExcel (http://www.codeplex.com/PHPExcel)
35 */
517	 * Assumes Big-Endian byte order if no BOM is available.
518	 * This function was taken from http://php.net/manual/en/function.utf8-decode.php
519	 * and $bom_be parameter added.
627	 * Set the decimal separator. Only used by PHPExcel_Style_NumberFormat::toFormattedString()
628	 * to format output by PHPExcel_Writer_HTML and PHPExcel_Writer_PDF
629	 *
654	 * Set the thousands separator. Only used by PHPExcel_Style_NumberFormat::toFormattedString()
655	 * to format output by PHPExcel_Writer_HTML and PHPExcel_Writer_PDF
656	 *
686	 * Set the currency code. Only used by PHPExcel_Style_NumberFormat::toFormattedString()
687	 *		to format output by PHPExcel_Writer_HTML and PHPExcel_Writer_PDF
688	 *
Compression.php https://bitbucket.org/kdms/sh-magento.git | PHP | 391 lines
1<?php
2/**
18 * @license    http://framework.zend.com/license/new-bsd     New BSD License
19 * @version    $Id: Compression.php 20096 2010-01-06 02:05:09Z bkarwin $
20 */
23/** Zend_Pdf_Filter_Interface */
24#require_once 'Zend/Pdf/Filter/Interface.php';
25
77                $predictor != 13  &&  $predictor != 14  &&   $predictor != 15) {
78                #require_once 'Zend/Pdf/Exception.php';
79                throw new Zend_Pdf_Exception('Invalid value of \'Predictor\' decode param - ' . $predictor . '.' );
99            if ($colors != 1  &&  $colors != 2  &&  $colors != 3  &&  $colors != 4) {
100                #require_once 'Zend/Pdf/Exception.php';
101                throw new Zend_Pdf_Exception('Invalid value of \'Color\' decode param - ' . $colors . '.' );
123                $bitsPerComponent != 16 ) {
124                #require_once 'Zend/Pdf/Exception.php';
125                throw new Zend_Pdf_Exception('Invalid value of \'BitsPerComponent\' decode param - ' . $bitsPerComponent . '.' );
Zend_Pdf_Filter_Compression.php https://bitbucket.org/kdms/sh-magento.git | PHP | 391 lines
1<?php
2/**
18 * @license    http://framework.zend.com/license/new-bsd     New BSD License
19 * @version    $Id: Compression.php 20096 2010-01-06 02:05:09Z bkarwin $
20 */
23/** Zend_Pdf_Filter_Interface */
24#require_once 'Zend/Pdf/Filter/Interface.php';
25
77                $predictor != 13  &&  $predictor != 14  &&   $predictor != 15) {
78                #require_once 'Zend/Pdf/Exception.php';
79                throw new Zend_Pdf_Exception('Invalid value of \'Predictor\' decode param - ' . $predictor . '.' );
99            if ($colors != 1  &&  $colors != 2  &&  $colors != 3  &&  $colors != 4) {
100                #require_once 'Zend/Pdf/Exception.php';
101                throw new Zend_Pdf_Exception('Invalid value of \'Color\' decode param - ' . $colors . '.' );
123                $bitsPerComponent != 16 ) {
124                #require_once 'Zend/Pdf/Exception.php';
125                throw new Zend_Pdf_Exception('Invalid value of \'BitsPerComponent\' decode param - ' . $bitsPerComponent . '.' );
Compression.php https://bitbucket.org/kdms/sh-magento.git | PHP | 391 lines
1<?php
2/**
18 * @license    http://framework.zend.com/license/new-bsd     New BSD License
19 * @version    $Id: Compression.php 20096 2010-01-06 02:05:09Z bkarwin $
20 */
23/** Zend_Pdf_Filter_Interface */
24#require_once 'Zend/Pdf/Filter/Interface.php';
25
77                $predictor != 13  &&  $predictor != 14  &&   $predictor != 15) {
78                #require_once 'Zend/Pdf/Exception.php';
79                throw new Zend_Pdf_Exception('Invalid value of \'Predictor\' decode param - ' . $predictor . '.' );
99            if ($colors != 1  &&  $colors != 2  &&  $colors != 3  &&  $colors != 4) {
100                #require_once 'Zend/Pdf/Exception.php';
101                throw new Zend_Pdf_Exception('Invalid value of \'Color\' decode param - ' . $colors . '.' );
123                $bitsPerComponent != 16 ) {
124                #require_once 'Zend/Pdf/Exception.php';
125                throw new Zend_Pdf_Exception('Invalid value of \'BitsPerComponent\' decode param - ' . $bitsPerComponent . '.' );
Hash.php https://bitbucket.org/studiobreakfast/sync.git | PHP | 824 lines
1<?php
2/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */
4/**
5 * Pure-PHP implementations of keyed-hash message authentication codes (HMACs) and various cryptographic hashing functions.
6 *
13 *
14 * PHP versions 4 and 5
15 *
20 * <code>
21 * <?php
22 *    include('Crypt/Hash.php');
51 * @package    Crypt_Hash
52 * @author     Jim Wigginton <terrafrost@php.net>
53 * @copyright  MMVII Jim Wigginton
54 * @license    http://www.opensource.org/licenses/mit-license.html  MIT License
55 * @version    $Id: Hash.php,v 1.6 2009/11/23 23:37:07 terrafrost Exp $
56 * @link       http://phpseclib.sourceforge.net
String.php https://bitbucket.org/graaaf/erso.git | PHP | 707 lines
33 * @package    PHPExcel_Shared
34 * @copyright  Copyright (c) 2006 - 2011 PHPExcel (http://www.codeplex.com/PHPExcel)
35 */
507	 * Assumes Big-Endian byte order if no BOM is available.
508	 * This function was taken from http://php.net/manual/en/function.utf8-decode.php
509	 * and $bom_be parameter added.
617	 * Set the decimal separator. Only used by PHPExcel_Style_NumberFormat::toFormattedString()
618	 * to format output by PHPExcel_Writer_HTML and PHPExcel_Writer_PDF
619	 *
644	 * Set the thousands separator. Only used by PHPExcel_Style_NumberFormat::toFormattedString()
645	 * to format output by PHPExcel_Writer_HTML and PHPExcel_Writer_PDF
646	 *
676	 *	Set the currency code. Only used by PHPExcel_Style_NumberFormat::toFormattedString()
677	 *		to format output by PHPExcel_Writer_HTML and PHPExcel_Writer_PDF
678	 *
Compression.php https://bitbucket.org/efdac/e-forest_platform.git | PHP | 391 lines
1<?php
2/**
18 * @license    http://framework.zend.com/license/new-bsd     New BSD License
19 * @version    $Id: Compression.php 20096 2010-01-06 02:05:09Z bkarwin $
20 */
23/** Zend_Pdf_Filter_Interface */
24require_once 'Zend/Pdf/Filter/Interface.php';
25
77                $predictor != 13  &&  $predictor != 14  &&   $predictor != 15) {
78                require_once 'Zend/Pdf/Exception.php';
79                throw new Zend_Pdf_Exception('Invalid value of \'Predictor\' decode param - ' . $predictor . '.' );
99            if ($colors != 1  &&  $colors != 2  &&  $colors != 3  &&  $colors != 4) {
100                require_once 'Zend/Pdf/Exception.php';
101                throw new Zend_Pdf_Exception('Invalid value of \'Color\' decode param - ' . $colors . '.' );
123                $bitsPerComponent != 16 ) {
124                require_once 'Zend/Pdf/Exception.php';
125                throw new Zend_Pdf_Exception('Invalid value of \'BitsPerComponent\' decode param - ' . $bitsPerComponent . '.' );
Decoder.php https://bitbucket.org/efdac/e-forest_platform.git | PHP | 578 lines
431        $chr = $str{$i};
432        if ($chr == '-' || $chr == '.' || ($chr >= '0' && $chr <= '9')) {
433            if (preg_match('/-?([0-9])*(\.[0-9]*)?((e|E)((-|\+)?)[0-9]+)?/s',
469     * @link   http://solarphp.com/
470     * @link   http://svn.solarphp.com/core/trunk/Solar/Json.php
471     * @param  string $value
477        $utf8        = '';
478        $strlen_chrs = strlen($chrs);
479
482            $substr_chrs_c_2 = substr($chrs, $i, 2);
483            $ord_chrs_c = ord($chrs[$i]);
484
488                    $utf16 = chr(hexdec(substr($chrs, ($i + 2), 2)))
489                           . chr(hexdec(substr($chrs, ($i + 4), 2)));
490                    $utf8 .= self::_utf162utf8($utf16);
Compression.php https://bitbucket.org/sunil_nextbits/magento2.git | PHP | 391 lines
1<?php
2/**
18 * @license    http://framework.zend.com/license/new-bsd     New BSD License
19 * @version    $Id: Compression.php 20096 2010-01-06 02:05:09Z bkarwin $
20 */
23/** Zend_Pdf_Filter_Interface */
24#require_once 'Zend/Pdf/Filter/Interface.php';
25
77                $predictor != 13  &&  $predictor != 14  &&   $predictor != 15) {
78                #require_once 'Zend/Pdf/Exception.php';
79                throw new Zend_Pdf_Exception('Invalid value of \'Predictor\' decode param - ' . $predictor . '.' );
99            if ($colors != 1  &&  $colors != 2  &&  $colors != 3  &&  $colors != 4) {
100                #require_once 'Zend/Pdf/Exception.php';
101                throw new Zend_Pdf_Exception('Invalid value of \'Color\' decode param - ' . $colors . '.' );
123                $bitsPerComponent != 16 ) {
124                #require_once 'Zend/Pdf/Exception.php';
125                throw new Zend_Pdf_Exception('Invalid value of \'BitsPerComponent\' decode param - ' . $bitsPerComponent . '.' );
barcodes.php https://bitbucket.org/izubizarreta/https-bitbucket.org-bityvip.git | PHP | 1,980 lines
457		$encode = array(
458			chr(0) => chr(131).'U', chr(1) => chr(128).'A', chr(2) => chr(128).'B', chr(3) => chr(128).'C',
459			chr(4) => chr(128).'D', chr(5) => chr(128).'E', chr(6) => chr(128).'F', chr(7) => chr(128).'G',
461			chr(12) => chr(128).'L', chr(13) => chr(128).'M', chr(14) => chr(128).'N', chr(15) => chr(128).'O',
462			chr(16) => chr(128).'P', chr(17) => chr(128).'Q', chr(18) => chr(128).'R', chr(19) => chr(128).'S',
463			chr(20) => chr(128).'T', chr(21) => chr(128).'U', chr(22) => chr(128).'V', chr(23) => chr(128).'W',
463			chr(20) => chr(128).'T', chr(21) => chr(128).'U', chr(22) => chr(128).'V', chr(23) => chr(128).'W',
464			chr(24) => chr(128).'X', chr(25) => chr(128).'Y', chr(26) => chr(128).'Z', chr(27) => chr(131).'A',
465			chr(28) => chr(131).'B', chr(29) => chr(131).'C', chr(30) => chr(131).'D', chr(31) => chr(131).'E',
472			chr(56) => '8', chr(57) => '9', chr(58) => chr(129).'Z', chr(59) => chr(131).'F',
473			chr(60) => chr(131).'G', chr(61) => chr(131).'H', chr(62) => chr(131).'I', chr(63) => chr(131).'J',
474			chr(64) => chr(131).'V', chr(65) => 'A', chr(66) => 'B', chr(67) => 'C',
480			chr(88) => 'X', chr(89) => 'Y', chr(90) => 'Z', chr(91) => chr(131).'K',
481			chr(92) => chr(131).'L', chr(93) => chr(131).'M', chr(94) => chr(131).'N', chr(95) => chr(131).'O',
482			chr(96) => chr(131).'W', chr(97) => chr(130).'A', chr(98) => chr(130).'B', chr(99) => chr(130).'C',
String.php https://bitbucket.org/izubizarreta/https-bitbucket.org-bityvip.git | PHP | 731 lines
33 * @package    PHPExcel_Shared
34 * @copyright  Copyright (c) 2006 - 2012 PHPExcel (http://www.codeplex.com/PHPExcel)
35 */
517	 * Assumes Big-Endian byte order if no BOM is available.
518	 * This function was taken from http://php.net/manual/en/function.utf8-decode.php
519	 * and $bom_be parameter added.
627	 * Set the decimal separator. Only used by PHPExcel_Style_NumberFormat::toFormattedString()
628	 * to format output by PHPExcel_Writer_HTML and PHPExcel_Writer_PDF
629	 *
654	 * Set the thousands separator. Only used by PHPExcel_Style_NumberFormat::toFormattedString()
655	 * to format output by PHPExcel_Writer_HTML and PHPExcel_Writer_PDF
656	 *
686	 * Set the currency code. Only used by PHPExcel_Style_NumberFormat::toFormattedString()
687	 *		to format output by PHPExcel_Writer_HTML and PHPExcel_Writer_PDF
688	 *
String.php https://bitbucket.org/izubizarreta/https-bitbucket.org-bityvip.git | PHP | 731 lines
33 * @package    PHPExcel_Shared
34 * @copyright  Copyright (c) 2006 - 2012 PHPExcel (http://www.codeplex.com/PHPExcel)
35 */
517	 * Assumes Big-Endian byte order if no BOM is available.
518	 * This function was taken from http://php.net/manual/en/function.utf8-decode.php
519	 * and $bom_be parameter added.
627	 * Set the decimal separator. Only used by PHPExcel_Style_NumberFormat::toFormattedString()
628	 * to format output by PHPExcel_Writer_HTML and PHPExcel_Writer_PDF
629	 *
654	 * Set the thousands separator. Only used by PHPExcel_Style_NumberFormat::toFormattedString()
655	 * to format output by PHPExcel_Writer_HTML and PHPExcel_Writer_PDF
656	 *
686	 * Set the currency code. Only used by PHPExcel_Style_NumberFormat::toFormattedString()
687	 *		to format output by PHPExcel_Writer_HTML and PHPExcel_Writer_PDF
688	 *
barcodes.php https://bitbucket.org/izubizarreta/https-bitbucket.org-bityvip-alpes.git | PHP | 1,980 lines
457		$encode = array(
458			chr(0) => chr(131).'U', chr(1) => chr(128).'A', chr(2) => chr(128).'B', chr(3) => chr(128).'C',
459			chr(4) => chr(128).'D', chr(5) => chr(128).'E', chr(6) => chr(128).'F', chr(7) => chr(128).'G',
461			chr(12) => chr(128).'L', chr(13) => chr(128).'M', chr(14) => chr(128).'N', chr(15) => chr(128).'O',
462			chr(16) => chr(128).'P', chr(17) => chr(128).'Q', chr(18) => chr(128).'R', chr(19) => chr(128).'S',
463			chr(20) => chr(128).'T', chr(21) => chr(128).'U', chr(22) => chr(128).'V', chr(23) => chr(128).'W',
463			chr(20) => chr(128).'T', chr(21) => chr(128).'U', chr(22) => chr(128).'V', chr(23) => chr(128).'W',
464			chr(24) => chr(128).'X', chr(25) => chr(128).'Y', chr(26) => chr(128).'Z', chr(27) => chr(131).'A',
465			chr(28) => chr(131).'B', chr(29) => chr(131).'C', chr(30) => chr(131).'D', chr(31) => chr(131).'E',
472			chr(56) => '8', chr(57) => '9', chr(58) => chr(129).'Z', chr(59) => chr(131).'F',
473			chr(60) => chr(131).'G', chr(61) => chr(131).'H', chr(62) => chr(131).'I', chr(63) => chr(131).'J',
474			chr(64) => chr(131).'V', chr(65) => 'A', chr(66) => 'B', chr(67) => 'C',
480			chr(88) => 'X', chr(89) => 'Y', chr(90) => 'Z', chr(91) => chr(131).'K',
481			chr(92) => chr(131).'L', chr(93) => chr(131).'M', chr(94) => chr(131).'N', chr(95) => chr(131).'O',
482			chr(96) => chr(131).'W', chr(97) => chr(130).'A', chr(98) => chr(130).'B', chr(99) => chr(130).'C',
String.php https://bitbucket.org/izubizarreta/https-bitbucket.org-bityvip-alpes.git | PHP | 731 lines
33 * @package    PHPExcel_Shared
34 * @copyright  Copyright (c) 2006 - 2012 PHPExcel (http://www.codeplex.com/PHPExcel)
35 */
517	 * Assumes Big-Endian byte order if no BOM is available.
518	 * This function was taken from http://php.net/manual/en/function.utf8-decode.php
519	 * and $bom_be parameter added.
627	 * Set the decimal separator. Only used by PHPExcel_Style_NumberFormat::toFormattedString()
628	 * to format output by PHPExcel_Writer_HTML and PHPExcel_Writer_PDF
629	 *
654	 * Set the thousands separator. Only used by PHPExcel_Style_NumberFormat::toFormattedString()
655	 * to format output by PHPExcel_Writer_HTML and PHPExcel_Writer_PDF
656	 *
686	 * Set the currency code. Only used by PHPExcel_Style_NumberFormat::toFormattedString()
687	 *		to format output by PHPExcel_Writer_HTML and PHPExcel_Writer_PDF
688	 *
Hash.php https://bitbucket.org/cbeier/test.git | PHP | 826 lines
1<?php
2/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */
4/**
5 * Pure-PHP implementations of keyed-hash message authentication codes (HMACs) and various cryptographic hashing functions.
6 *
13 *
14 * PHP versions 4 and 5
15 *
20 * <code>
21 * <?php
22 *    include('Crypt/Hash.php');
51 * @package    Crypt_Hash
52 * @author     Jim Wigginton <terrafrost@php.net>
53 * @copyright  MMVII Jim Wigginton
54 * @license    http://www.opensource.org/licenses/mit-license.html  MIT License
55 * @version    $Id: Hash.php,v 1.6 2009/11/23 23:37:07 terrafrost Exp $
56 * @link       http://phpseclib.sourceforge.net
Compression.php https://bitbucket.org/mkrasuski/magento-ce.git | PHP | 391 lines
1<?php
2/**
23/** Zend_Pdf_Filter_Interface */
24#require_once 'Zend/Pdf/Filter/Interface.php';
25
77                $predictor != 13  &&  $predictor != 14  &&   $predictor != 15) {
78                #require_once 'Zend/Pdf/Exception.php';
79                throw new Zend_Pdf_Exception('Invalid value of \'Predictor\' decode param - ' . $predictor . '.' );
99            if ($colors != 1  &&  $colors != 2  &&  $colors != 3  &&  $colors != 4) {
100                #require_once 'Zend/Pdf/Exception.php';
101                throw new Zend_Pdf_Exception('Invalid value of \'Color\' decode param - ' . $colors . '.' );
123                $bitsPerComponent != 16 ) {
124                #require_once 'Zend/Pdf/Exception.php';
125                throw new Zend_Pdf_Exception('Invalid value of \'BitsPerComponent\' decode param - ' . $bitsPerComponent . '.' );
169        if ($predictor == 2) {
170            #require_once 'Zend/Pdf/Exception.php';
171            throw new Zend_Pdf_Exception('Not implemented yet' );
barcodes.php https://bitbucket.org/Jon_Ward6/giam6386.git | PHP | 1,969 lines
449		$encode = array(
450			chr(0) => chr(131).'U', chr(1) => chr(128).'A', chr(2) => chr(128).'B', chr(3) => chr(128).'C',
451			chr(4) => chr(128).'D', chr(5) => chr(128).'E', chr(6) => chr(128).'F', chr(7) => chr(128).'G',
453			chr(12) => chr(128).'L', chr(13) => chr(128).'M', chr(14) => chr(128).'N', chr(15) => chr(128).'O',
454			chr(16) => chr(128).'P', chr(17) => chr(128).'Q', chr(18) => chr(128).'R', chr(19) => chr(128).'S',
455			chr(20) => chr(128).'T', chr(21) => chr(128).'U', chr(22) => chr(128).'V', chr(23) => chr(128).'W',
455			chr(20) => chr(128).'T', chr(21) => chr(128).'U', chr(22) => chr(128).'V', chr(23) => chr(128).'W',
456			chr(24) => chr(128).'X', chr(25) => chr(128).'Y', chr(26) => chr(128).'Z', chr(27) => chr(131).'A',
457			chr(28) => chr(131).'B', chr(29) => chr(131).'C', chr(30) => chr(131).'D', chr(31) => chr(131).'E',
464			chr(56) => '8', chr(57) => '9', chr(58) => chr(129).'Z', chr(59) => chr(131).'F',
465			chr(60) => chr(131).'G', chr(61) => chr(131).'H', chr(62) => chr(131).'I', chr(63) => chr(131).'J',
466			chr(64) => chr(131).'V', chr(65) => 'A', chr(66) => 'B', chr(67) => 'C',
472			chr(88) => 'X', chr(89) => 'Y', chr(90) => 'Z', chr(91) => chr(131).'K',
473			chr(92) => chr(131).'L', chr(93) => chr(131).'M', chr(94) => chr(131).'N', chr(95) => chr(131).'O',
474			chr(96) => chr(131).'W', chr(97) => chr(130).'A', chr(98) => chr(130).'B', chr(99) => chr(130).'C',
barcodes.php https://bitbucket.org/Jon_Ward6/giam6386.git | PHP | 1,969 lines
449		$encode = array(
450			chr(0) => chr(131).'U', chr(1) => chr(128).'A', chr(2) => chr(128).'B', chr(3) => chr(128).'C',
451			chr(4) => chr(128).'D', chr(5) => chr(128).'E', chr(6) => chr(128).'F', chr(7) => chr(128).'G',
453			chr(12) => chr(128).'L', chr(13) => chr(128).'M', chr(14) => chr(128).'N', chr(15) => chr(128).'O',
454			chr(16) => chr(128).'P', chr(17) => chr(128).'Q', chr(18) => chr(128).'R', chr(19) => chr(128).'S',
455			chr(20) => chr(128).'T', chr(21) => chr(128).'U', chr(22) => chr(128).'V', chr(23) => chr(128).'W',
455			chr(20) => chr(128).'T', chr(21) => chr(128).'U', chr(22) => chr(128).'V', chr(23) => chr(128).'W',
456			chr(24) => chr(128).'X', chr(25) => chr(128).'Y', chr(26) => chr(128).'Z', chr(27) => chr(131).'A',
457			chr(28) => chr(131).'B', chr(29) => chr(131).'C', chr(30) => chr(131).'D', chr(31) => chr(131).'E',
464			chr(56) => '8', chr(57) => '9', chr(58) => chr(129).'Z', chr(59) => chr(131).'F',
465			chr(60) => chr(131).'G', chr(61) => chr(131).'H', chr(62) => chr(131).'I', chr(63) => chr(131).'J',
466			chr(64) => chr(131).'V', chr(65) => 'A', chr(66) => 'B', chr(67) => 'C',
472			chr(88) => 'X', chr(89) => 'Y', chr(90) => 'Z', chr(91) => chr(131).'K',
473			chr(92) => chr(131).'L', chr(93) => chr(131).'M', chr(94) => chr(131).'N', chr(95) => chr(131).'O',
474			chr(96) => chr(131).'W', chr(97) => chr(130).'A', chr(98) => chr(130).'B', chr(99) => chr(130).'C',
RSA.php https://bitbucket.org/appstrakt/lib_php_phpseclib.git | PHP | 1,931 lines
1<?php
2/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */
10 * <code>
11 * <?php
12 *    include('Crypt/RSA.php');
28 * <code>
29 * <?php
30 *    include('Crypt/RSA.php');
61 * @package    RSA
62 * @author     Jim Wigginton <terrafrost@php.net>
63 * @copyright  MMIX Jim Wigginton
568        $raw = array(
569            'version' => $num_primes == 2 ? chr(0) : chr(1), // two-prime vs. multi
570            'modulus' => $n->toBytes(true),
1460        $ps = $this->_random($this->k - $mLen - 3, true);
1461        $em = chr(0) . chr(2) . $ps . chr(0) . $m;
1462
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21