Searched refs:b64 (Results 1 – 12 of 12) sorted by relevance
26 $b64 = base64_encode($data);27 $b64 = str_replace(array('+', '/', '\r', '\n', '='),29 $b64);30 return $b64;33 public static function urlSafeB64Decode($b64) { argument34 $b64 = str_replace(array('-', '_'),36 $b64);37 return base64_decode($b64);
114 $b64 = base64_decode($str);116 if ($b64 === false) {120 return $this->binaryToLong($b64);
2211 function b64ToByteArray( b64 ) { argument2214 if ( b64.length % 4 > 0 ) {2223 var len = b64.length2224 placeHolders = '=' === b64.charAt( len - 2 ) ? 2 : '=' === b64.charAt( len - 1 ) ? 1 : 02227 arr = new Arr( b64.length * 3 / 4 - placeHolders )2230 l = placeHolders > 0 ? b64.length - 4 : b64.length2239 …mp = ( decode( b64.charAt( i ) ) << 18 ) | ( decode( b64.charAt( i + 1 ) ) << 12 ) | ( decode( b64…2246 tmp = ( decode( b64.charAt( i ) ) << 2 ) | ( decode( b64.charAt( i + 1 ) ) >> 4 )2249 …tmp = ( decode( b64.charAt( i ) ) << 10 ) | ( decode( b64.charAt( i + 1 ) ) << 4 ) | ( decode( b64…
1030 $b64 = self::base64UrlEncode($json);1031 $raw_sig = hash_hmac('sha256', $b64, $this->getAppSecret(), $raw = true);1033 return $sig.'.'.$b64;
1775 function b64ToByteArray (b64) {1778 if (b64.length % 4 > 0) {1787 var len = b64.length1788 placeHolders = '=' === b64.charAt(len - 2) ? 2 : '=' === b64.charAt(len - 1) ? 1 : 01791 arr = new Arr(b64.length * 3 / 4 - placeHolders)1794 l = placeHolders > 0 ? b64.length - 4 : b64.length1803 …tmp = (decode(b64.charAt(i)) << 18) | (decode(b64.charAt(i + 1)) << 12) | (decode(b64.charAt(i + 2…1810 tmp = (decode(b64.charAt(i)) << 2) | (decode(b64.charAt(i + 1)) >> 4)1813 …tmp = (decode(b64.charAt(i)) << 10) | (decode(b64.charAt(i + 1)) << 4) | (decode(b64.charAt(i + 2)…
1 …b64","L","l","tmp","placeHolders","charAt","Arr","uint8ToBase64","uint8","encode","num","tripletTo…
6 …Requests&&(t[this.opts.timestampParam]=h()),this.supportsBinary||t.sid||(t.b64=1),t=p.encode(t),th…
... .apache.commons.codec.binary.Base64 b64 long len public static byte[] decodeBase64 (java ...
32924 function getLens(b64) {32925 var len = b64.length;32933 var validLen = b64.indexOf('=');32940 function byteLength(b64) {32941 var lens = getLens(b64);32947 function _byteLength(b64, validLen, placeHoldersLen) {32951 function toByteArray(b64) {32953 var lens = getLens(b64);32963 …tmp = revLookup[b64.charCodeAt(i)] << 18 | revLookup[b64.charCodeAt(i + 1)] << 12 | revLookup[b64.…32970 tmp = revLookup[b64.charCodeAt(i)] << 2 | revLookup[b64.charCodeAt(i + 1)] >> 4;[all …]
1 …b64) {\n var len = b64.length\n\n if (len % 4 > 0) {\n throw new Error('Invalid string. Lengt…
22466 case 'binary-data': break; // 10.4.5 TODO: b64 blob