Home
last modified time | relevance | path

Searched refs:substr (Results 126 – 150 of 2368) sorted by path

12345678910>>...95

/plugin/authgooglesheets/vendor/monolog/monolog/src/Monolog/Handler/SyslogUdp/
H A DUdpSocket.php72 return $header . Utils::substr($line, 0, $chunkSize);
/plugin/authgooglesheets/vendor/monolog/monolog/src/Monolog/Processor/
H A DUidProcessor.php57 return substr(bin2hex(random_bytes((int) ceil($length / 2))), 0, $length);
/plugin/authgooglesheets/vendor/monolog/monolog/src/Monolog/
H A DSignalHandler.php89 if (substr($name, 0, 3) === 'SIG' && $name[3] !== '_' && is_int($value)) {
H A DUtils.php27 return \substr($class, 0, $pos + 10);
33 public static function substr(string $string, int $start, ?int $length = null): string function in Monolog\\Utils
39 return substr($string, $start, (null === $length) ? strlen($string) : $length);
50 if ('file://' === substr($streamUrl, 0, 7)) {
51 $streamUrl = substr($streamUrl, 7);
61 …if (substr($streamUrl, 0, 1) === '/' || substr($streamUrl, 1, 1) === ':' || substr($streamUrl, 0, …
154 return substr($key, -6) == '_ERROR';
/plugin/authgooglesheets/vendor/paragonie/constant_time_encoding/src/
H A DBinary.php82 return \substr($str, $start, $length);
84 return \substr($str, $start);
/plugin/authgooglesheets/vendor/phpseclib/phpseclib/phpseclib/Common/Functions/
H A DStrings.php41 $substr = substr($string, 0, $index);
42 $string = substr($string, $index);
43 return $substr;
58 $substr = substr($string, -$index);
59 $string = substr($string, 0, -$index);
60 return $substr;
245 … $format .= substr($parts[$i - 1], 0, -1) . str_repeat(substr($parts[$i - 1], -1), $parts[$i]);
389 $temp = substr($var, -$i, 4);
410 $temp = unpack('Nnum', str_pad(substr($var, 0, $remainder), 4, "\0", STR_PAD_LEFT));
411 $temp = substr(pack('N', $temp['num'] + 1), -$remainder);
/plugin/authgooglesheets/vendor/phpseclib/phpseclib/phpseclib/Crypt/
H A DChaCha20.php133 return substr($ciphertext, 0, strlen($plaintext));
136 $newciphertext = substr($ciphertext, 0, strlen($plaintext));
139 substr($ciphertext, strlen($plaintext)) :
169 if ($this->oldtag != substr($newtag, 0, strlen($this->oldtag))) {
180 return substr($plaintext, 0, strlen($ciphertext));
H A DDES.php1230 $key = str_pad(substr($this->key, $des_round * 8, 8), 8, "\0");
H A DDH.php304 $secret = substr($point, 1, (strlen($point) - 1) >> 1);
H A DEC.php166 } elseif (substr($curveName, 0, 10) == 'brainpoolp') {
167 $curveName = 'brainpoolP' . substr($curveName, 10);
/plugin/authgooglesheets/vendor/phpseclib/phpseclib/phpseclib/Crypt/Common/
H A DAsymmetricKey.php585 return substr($out, -$rolen);
H A DSymmetricKey.php1105 $b = substr($b, 0, $blockLength);
1120 return substr($a, 0, $n);
1248 …$this->encryptIV = substr($this->encryptIV, $len - $this->block_size) . substr($ciphertext, -$len);
1451 $iv = substr($iv, 1) . $c;
1458 … $this->encryptIV = substr($this->encryptIV, $len - $block_size) . substr($ciphertext, -$len);
1637 …$this->decryptIV = substr($this->decryptIV, $len - $this->block_size) . substr($ciphertext, -$len);
1831 … $this->decryptIV = substr($this->decryptIV, $len - $block_size) . substr($ciphertext, -$len);
1916 substr($this->newtag, 0, $length);
2097 … $encryptIV = substr($ciphertext, -$block_size) ^ substr($plaintext, -$block_size);
2618 return substr($text, 0, -$length);
[all …]
/plugin/authgooglesheets/vendor/phpseclib/phpseclib/phpseclib/Crypt/Common/Formats/Keys/
H A DPKCS1.php114 $iv = substr($iv, 0, 8);
118 return substr($symkey, 0, $length);
H A DPKCS8.php151 substr($algo, 13); // strlen('pbeWithSHAAnd') == 13
255 $cipher->setKeyLength(substr($algo, 3, 3));
420 $hash = str_replace('-', '/', substr($prf['algorithm'], 11));
455 …$private['privateKeyAlgorithm']['parameters'] = new ASN1\Element(substr($key, $temp['start'], $tem…
470 $private['publicKey'] = substr($private['publicKey'], 1);
496 …$public['publicKeyAlgorithm']['parameters'] = new ASN1\Element(substr($key, $temp['start'], $temp[…
498 $public['publicKey'] = substr($public['publicKey'], 1);
550 $hash = str_replace('-', '/', substr($prf, 11));
H A DPuTTY.php94 return substr($symkey, 0, $length);
128 $symkey = substr($temp, 0, 32);
129 $symiv = substr($temp, 32, 16);
130 $hashkey = substr($temp, -32);
169 $values[$current] = $in_value ? substr($match[2], 0, -1) : $match[2];
173 $values[$current] .= $in_value ? substr($line, 0, -1) : $line;
/plugin/authgooglesheets/vendor/phpseclib/phpseclib/phpseclib/Crypt/Common/Traits/
H A DFingerprint.php55 return substr($base, 0, strlen($base) - 1);
57 return substr(chunk_split(md5($key), 2, ':'), 0, -1);
/plugin/authgooglesheets/vendor/phpseclib/phpseclib/phpseclib/Crypt/DSA/Formats/Keys/
H A DXML.php59 if (substr($key, 0, 5) != '<?xml') {
/plugin/authgooglesheets/vendor/phpseclib/phpseclib/phpseclib/Crypt/DSA/Formats/Signature/
H A DSSH2.php55 'r' => new BigInteger(substr($blob, 0, 20), 256),
56 's' => new BigInteger(substr($blob, 20), 256)
/plugin/authgooglesheets/vendor/phpseclib/phpseclib/phpseclib/Crypt/EC/Curves/
H A DEd25519.php173 $h = substr($h, 0, 32);
H A DEd448.php114 $h = substr($h, 0, 57);
/plugin/authgooglesheets/vendor/phpseclib/phpseclib/phpseclib/Crypt/EC/Formats/Keys/
H A DPKCS8.php151 if (substr($key['privateKey'], 0, 2) != "\x04\x20") {
154 $components['dA'] = $components['curve']->extractSecret(substr($key['privateKey'], 2));
H A DXML.php91 if (substr($key, 0, 5) != '<?xml') {
H A Dlibsodium.php59 $private = substr($key, 0, 32);
60 $public = substr($key, -32);
63 $public = substr($key, -32);
64 if (substr($key, 32, 32) != $public) {
67 $private = substr($key, 0, 32);
/plugin/authgooglesheets/vendor/phpseclib/phpseclib/phpseclib/Crypt/EC/
H A DPrivateKey.php120 $secret = substr($hash->hash($this->dA->secret), $curve::SIZE);
H A DPublicKey.php76 $R = substr($signature, 0, $curve::SIZE);
77 $S = substr($signature, $curve::SIZE);
104 $k = $hash->hash($dom2 . substr($signature, 0, $curve::SIZE) . $A . $message);

12345678910>>...95