Home
last modified time | relevance | path

Searched refs:substr (Results 151 – 175 of 2368) sorted by path

12345678910>>...95

/plugin/authgooglesheets/vendor/phpseclib/phpseclib/phpseclib/Crypt/
H A DHash.php314 $this->length = abs(substr($hash, -3)) >> 3;
326 $hash = substr($hash, 0, -3);
517 substr($t, 0, $taglen);
550 $L1Key_i = substr($L1Key, $i * 16, 1024);
551 $L2Key_i = substr($L2Key, $i * 24, 24);
552 $L3Key1_i = substr($L3Key1, $i * 64, 64);
553 $L3Key2_i = substr($L3Key2, $i * 4, 4);
702 $m_1 = substr($m, 0, 0x20000); // 1 << 17
703 $m_2 = substr($m, 0x20000) . "\x80";
870 return substr($output, 0, $this->length);
[all …]
H A DRSA.php701 return substr($t, 0, $maskLen);
H A DRandom.php167 $crypto->setKey(substr($key, 0, $crypto->getKeyLength() >> 3));
168 $crypto->setIV(substr($iv, 0, $crypto->getBlockLength() >> 3));
190 return substr($result, 0, $length);
H A DSalsa20.php168 $this->setPoly1305Key(substr($block, 0, 32));
224 $this->p1 = substr($constant, 0, 4) .
225 substr($key, 0, 16) .
226 substr($constant, 4, 4) .
229 $this->p2 = substr($constant, 8, 4) .
230 substr($key, 16, 16) .
231 substr($constant, 12, 4);
277 if ($this->oldtag != substr($newtag, 0, strlen($this->oldtag))) {
348 $text = substr($text, strlen($ciphertext));
380 $buffer['ciphertext'] = substr($temp, $overflow);
H A DTripleDES.php264 $key .= substr($key, 0, 8);
279 $this->des[0]->setKey(substr($key, 0, 8));
280 $this->des[1]->setKey(substr($key, 8, 8));
281 $this->des[2]->setKey(substr($key, 16, 8));
/plugin/authgooglesheets/vendor/phpseclib/phpseclib/phpseclib/Crypt/RSA/Formats/Keys/
H A DXML.php68 if (substr($key, 0, 5) != '<?xml') {
/plugin/authgooglesheets/vendor/phpseclib/phpseclib/phpseclib/Crypt/RSA/
H A DPrivateKey.php347 $ps = substr($em, 2, strpos($em, chr(0), 2) - 2);
348 $m = substr($em, strlen($ps) + 3);
398 $maskedSeed = substr($em, 1, $this->hLen);
399 $maskedDB = substr($em, $this->hLen + 1);
404 $lHash2 = substr($db, 0, $this->hLen);
405 $m = substr($db, $this->hLen);
424 return substr($m, $offset + 1);
H A DPublicKey.php212 $hash = substr($hash, 0, 3) == 'id-' ?
213 substr($hash, 3) :
250 $maskedDB = substr($em, 0, -$this->hLen - 1);
251 $h = substr($em, -$this->hLen - 1, $this->hLen);
260 if (substr($db, 0, $temp) != str_repeat(chr(0), $temp) || ord($db[$temp]) != 1) {
263 $salt = substr($db, $temp + 1); // should be $sLen long
/plugin/authgooglesheets/vendor/phpseclib/phpseclib/phpseclib/File/
H A DANSI.php273 $this->screen[$this->y] = substr($this->screen[$this->y], 0, $this->x);
403 …$this->tokenization[count($this->tokenization) - 1] = substr($this->tokenization[count($this->toke…
539 $output = substr($output, 0, -2);
H A DASN1.php285 $temp = substr($encoded, $encoded_pos, $length);
300 $content = substr($encoded, $encoded_pos, $length);
386 $current['content'] = substr($content, $content_pos);
410 $current['content'] = substr($content, $content_pos);
414 while (substr($content, $content_pos, 2) != "\0\0") {
427 if (substr($content, $content_pos, 2) == "\0\0") {
502 $current['content'] = substr($content, $content_pos);
960 $temp = $subtag . substr($temp, 1);
994 $temp = $subtag . substr($temp, 1);
1295 $prefix = substr($content, 0, 2) >= 50 ? '19' : '20';
[all …]
H A DX509.php516 …$this->signatureSubject = substr($cert, $decoded[0]['content'][0]['start'], $decoded[0]['content']…
1363 substr($this->currentCert['signature'], 1),
1371 substr($this->currentCert['signature'], 1),
1379 substr($this->currentCert['signature'], 1),
1411 substr($this->currentCert['signature'], 1),
1558 $mask = substr($ip, $size);
1559 $ip = substr($ip, 0, $size);
2277 …$this->signatureSubject = substr($orig, $decoded[0]['content'][0]['start'], $decoded[0]['content']…
2388 …$this->signatureSubject = substr($orig, $decoded[0]['content'][0]['start'], $decoded[0]['content']…
2487 …$this->signatureSubject = substr($orig, $decoded[0]['content'][0]['start'], $decoded[0]['content']…
[all …]
/plugin/authgooglesheets/vendor/phpseclib/phpseclib/phpseclib/Math/BigInteger/Engines/
H A DBCMath.php153 $current = substr($current, 1);
163substr(str_pad($value, $this->precision >> 3, chr(0), STR_PAD_LEFT), -($this->precision >> 3)) :
229 …$remainder->value = bcadd($remainder->value, $y->value[0] == '-' ? substr($y->value, 1) : $y->valu…
320 substr($this->value, 1) :
698 substr($this->value, 1) :
H A DEngine.php171 $x = substr($x, 1);
205 $x = substr($x, 1);
294 $result = $this->precision > 0 ? substr($bits, -$this->precision) : ltrim($bits, '0');
478 $msb = substr($msb, strpos($msb, '0'));
719 …$result = static::multiplyReduce($result, $powers[bindec(substr($e_bits, $i, $j + 1))], $n_value, …
H A DGMP.php133 $bits = substr($bits, -$this->precision);
162substr(str_pad($temp, $this->precision >> 3, chr(0), STR_PAD_LEFT), -($this->precision >> 3)) :
H A DPHP.php119 $x = substr($x, 1);
130 … $temp = $temp->add(new static($this->int2bytes(substr($x, 0, static::MAX10LEN)), 256));
131 $x = substr($x, static::MAX10LEN);
213 substr($result, -(($this->precision + 7) >> 3)),
H A DPHP32.php74 $val = substr($val, 0, 4 + $i);
81 list(, $digit) = unpack('N', substr($val, $i, 4));
H A DPHP64.php74 $val = substr($val, 0, 4 + $i);
81 list(, $digit) = unpack('N', substr($val, $i, 4));
/plugin/authgooglesheets/vendor/phpseclib/phpseclib/phpseclib/Math/BigInteger/Engines/BCMath/Reductions/
H A DBarrett.php103 $lsd = substr($n, -$cutoff);
104 $msd = substr($n, 0, -$cutoff);
113 $temp = substr($n, 0, -$m_length + 1);
119 $temp = substr($temp, 0, -($m_length >> 1) - 1);
173 $temp = substr($x, 0, -$n_length + 1);
175 $temp = substr($temp, 0, -$n_length - 1);
177 $r1 = substr($x, -$n_length - 1);
178 $r2 = substr(bcmul($temp, $n), -$n_length - 1);
/plugin/authgooglesheets/vendor/phpseclib/phpseclib/phpseclib/Math/
H A DBinaryField.php72 $r = rtrim(substr($val, 0, -1), '0');
91 $t1 = $j ? substr($c, 0, -$j) : $c;
101 $c = substr($c, -$t);
/plugin/authgooglesheets/vendor/phpseclib/phpseclib/phpseclib/Math/BinaryField/
H A DInteger.php257 $x1 = substr($x, 0, -$m);
258 $x0 = substr($x, -$m);
259 $y1 = substr($y, 0, -$m);
260 $y0 = substr($y, -$m);
/plugin/authgooglesheets/vendor/phpseclib/phpseclib/phpseclib/Net/
H A DSFTP.php940 $handle = substr($response, 4);
1081 $handle = substr($response, 4);
1570 return $this->close_handle(substr($response, 4));
1737 pack('a*Ca*', substr($attr, 0, 4), NET_SFTP_TYPE_UNKNOWN, substr($attr, 4)) :
1926 $packet = substr($this->server_identifier, 0, 15) == 'SSH-2.0-OpenSSH' ?
2154 $handle = substr($response, 4);
2223 … $temp = isset($fp) ? fread($fp, $sftp_packet_size) : substr($data, $sent, $sftp_packet_size);
2381 $handle = substr($response, 4);
2452 $temp = substr($response, 4);
2494 $content = substr($content, 0, $length);
H A DSSH2.php1768 substr($this->kex_algorithm, 10);
1860 $temp = unpack('Nlength', substr($this->signature, 0, 4));
1865 $keyBytes = substr($keyBytes, 1);
1951 $this->encryptFixedPart = substr($nonce, 0, 4);
1968 $this->lengthEncrypt->setKey(substr($key, 32, 32));
1970 $this->encrypt->setKey(substr($key, 0, $encryptKeyLength));
1997 $this->decryptFixedPart = substr($nonce, 0, 4);
2014 $this->lengthDecrypt->setKey(substr($key, 32, 32));
2016 $this->decrypt->setKey(substr($key, 0, $decryptKeyLength));
3615 $payload = substr($payload, 2);
[all …]
/plugin/authgooglesheets/vendor/ralouphie/getallheaders/src/
H A Dgetallheaders.php21 if (substr($key, 0, 5) === 'HTTP_') {
22 $key = substr($key, 5);
/plugin/authgooglesheets/vendor/symfony/polyfill-intl-idn/
H A DIdn.php350 if ('xn--' === substr($label, 0, 4)) {
352 $label = self::punycodeDecode(substr($label, 4));
514 if ('-' === substr($label, 0, 1)) {
518 if ('-' === substr($label, -1, 1)) {
/plugin/authgooglesheets/vendor/symfony/polyfill-intl-normalizer/
H A DNormalizer.php125 $lastUchr = substr($s, 0, $i);
138 $lastUchr .= substr($s, $i, $j);
150 $uchr = substr($s, $i, $ulen);
179 $uchr = substr($s, $i + $ulen, 3);
224 $result .= substr($s, $i, $j);
230 $uchr = substr($s, $i, $ulen);
258 $uchr = substr($uchr, 0, $ulen);

12345678910>>...95