Home
last modified time | relevance | path

Searched refs:Strings (Results 1 – 25 of 75) sorted by relevance

123

/plugin/authgooglesheets/vendor/phpseclib/phpseclib/phpseclib/Crypt/EC/Formats/Keys/
H A DPuTTY.php19 use phpseclib3\Common\Functions\Strings; alias
74 $temp = Base64::encode(Strings::packSSH2('s', $components['type']) . $components['public']);
78 if (Strings::shift($private, 4) != "\0\0\0\x20") {
83 list($components['dA']) = Strings::unpackSSH2('i', $private);
108 list(, $length) = unpack('N', Strings::shift($public, 4));
109 Strings::shift($public, $length);
121 Strings::packSSH2('s', $privateKey->secret) :
122 Strings::packSSH2('s', $private);
140 list(, $length) = unpack('N', Strings::shift($public, 4));
141 Strings::shift($public, $length);
H A DOpenSSH.php20 use phpseclib3\Common\Functions\Strings; alias
64 list($type) = Strings::unpackSSH2('s', $paddedKey);
69 list(, $key, $comment) = Strings::unpackSSH2('sss', $paddedKey);
74 … list($curveName, $publicKey, $privateKey, $comment) = Strings::unpackSSH2('ssis', $paddedKey);
86 if (Strings::shift($parsed['publicKey'], 4) != "\0\0\0\x20") {
93 list($curveName, $publicKey) = Strings::unpackSSH2('ss', $parsed['publicKey']);
153 $key = Strings::packSSH2('ss', 'ssh-ed25519', $curve->encodePoint($publicKey));
166 $key = Strings::packSSH2('sss', 'ecdsa-sha2-' . $alias, $alias, $points);
200 $publicKey = Strings::packSSH2('ss', 'ssh-ed25519', $pubKey);
201 … $privateKey = Strings::packSSH2('sss', 'ssh-ed25519', $pubKey, $privateKey->secret . $pubKey);
[all …]
/plugin/authgooglesheets/vendor/phpseclib/phpseclib/phpseclib/Crypt/Common/Formats/Keys/
H A DOpenSSH.php21 use phpseclib3\Common\Functions\Strings; alias
73 if (!Strings::is_stringable($key)) {
83 $magic = Strings::shift($key, 15);
87 list($ciphername, $kdfname, $kdfoptions, $numKeys) = Strings::unpackSSH2('sssN', $key);
125 list($publicKey, $paddedKey) = Strings::unpackSSH2('ss', $key);
126 list($type) = Strings::unpackSSH2('s', $publicKey);
127 list($checkint1, $checkint2) = Strings::unpackSSH2('NN', $paddedKey);
152 list($type) = Strings::unpackSSH2('s', $key);
212 $paddedKey = Strings::packSSH2('NN', $checkint, $checkint) .
214 Strings::packSSH2('s', $comment);
[all …]
H A DPuTTY.php22 use phpseclib3\Common\Functions\Strings; alias
145 if (!Strings::is_stringable($key)) {
193 if (Strings::shift($key[0], strlen('PuTTY-User-Key-File-')) != 'PuTTY-User-Key-File-') {
213 $source = Strings::packSSH2('ssss', $type, $encryption, $components['comment'], $public);
215 extract(unpack('Nlength', Strings::shift($public, 4)));
216 $newtype = Strings::shift($public, $length);
273 $source .= Strings::packSSH2('s', $private);
308 $public = Strings::packSSH2('s', $type) . $public;
310 $source = Strings::packSSH2('ssss', $type, $encryption, $comment, $public);
317 $source .= Strings::packSSH2('s', $private);
[all …]
/plugin/authgooglesheets/vendor/phpseclib/phpseclib/phpseclib/Crypt/RSA/Formats/Keys/
H A DMSBLOB.php23 use phpseclib3\Common\Functions\Strings; alias
89 if (!Strings::is_stringable($key)) {
104 extract(unpack('atype/aversion/vreserved/Valgo', Strings::shift($key, 8)));
137 extract(unpack('Vmagic/Vbitlen/a4pubexp', Strings::shift($key, 12)));
160 $components['modulus'] = new BigInteger(strrev(Strings::shift($key, $bitlen / 8)), 256);
169 … $components['primes'] = [1 => new BigInteger(strrev(Strings::shift($key, $bitlen / 16)), 256)];
171 $components['primes'][] = new BigInteger(strrev(Strings::shift($key, $bitlen / 16)), 256);
173 … $components['exponents'] = [1 => new BigInteger(strrev(Strings::shift($key, $bitlen / 16)), 256)];
175 … $components['exponents'][] = new BigInteger(strrev(Strings::shift($key, $bitlen / 16)), 256);
177 …$components['coefficients'] = [2 => new BigInteger(strrev(Strings::shift($key, $bitlen / 16)), 256…
[all …]
H A DPuTTY.php18 use phpseclib3\Common\Functions\Strings; alias
71 $result = Strings::unpackSSH2('ii', $public);
77 $result = Strings::unpackSSH2('iiii', $private);
112 $public = Strings::packSSH2('ii', $e, $n);
113 $private = Strings::packSSH2('iiii', $d, $primes[1], $primes[2], $coefficients[2]);
128 return self::wrapPublicKey(Strings::packSSH2('ii', $e, $n), 'ssh-rsa');
H A DOpenSSH.php20 use phpseclib3\Common\Functions\Strings; alias
58 list($type) = Strings::unpackSSH2('s', $parsed['paddedKey']);
73 ) = Strings::unpackSSH2('i6s', $parsed['paddedKey']);
85 list($publicExponent, $modulus) = Strings::unpackSSH2('ii', $parsed['publicKey']);
106 $RSAPublicKey = Strings::packSSH2('sii', 'ssh-rsa', $e, $n);
135 …$privateKey = Strings::packSSH2('si6', 'ssh-rsa', $n, $e, $d, $coefficients[2], $primes[1], $prime…
H A DPKCS8.php30 use phpseclib3\Common\Functions\Strings; alias
78 if (!Strings::is_stringable($key)) {
H A DXML.php26 use phpseclib3\Common\Functions\Strings; alias
50 if (!Strings::is_stringable($key)) {
H A DPKCS1.php27 use phpseclib3\Common\Functions\Strings; alias
52 if (!Strings::is_stringable($key)) {
/plugin/authgooglesheets/vendor/phpseclib/phpseclib/phpseclib/Crypt/EC/Formats/Signature/
H A DSSH2.php20 use phpseclib3\Common\Functions\Strings; alias
45 $result = Strings::unpackSSH2('ss', $sig);
60 $result = Strings::unpackSSH2('ii', $blob);
96 $blob = Strings::packSSH2('ii', $r, $s);
98 return Strings::packSSH2('ss', 'ecdsa-sha2-' . $curve, $blob);
/plugin/authgooglesheets/vendor/phpseclib/phpseclib/phpseclib/Crypt/DSA/Formats/Keys/
H A DPuTTY.php23 use phpseclib3\Common\Functions\Strings; alias
69 list($p, $q, $g, $y) = Strings::unpackSSH2('iiii', $public);
70 list($x) = Strings::unpackSSH2('i', $private);
94 $public = Strings::packSSH2('iiii', $p, $q, $g, $y);
95 $private = Strings::packSSH2('i', $x);
116 return self::wrapPublicKey(Strings::packSSH2('iiii', $p, $q, $g, $y), 'ssh-dsa');
H A DOpenSSH.php20 use phpseclib3\Common\Functions\Strings; alias
53 list($type) = Strings::unpackSSH2('s', $parsed['paddedKey']);
58 list($p, $q, $g, $y, $x, $comment) = Strings::unpackSSH2('i5s', $parsed['paddedKey']);
63 list($p, $q, $g, $y) = Strings::unpackSSH2('iiii', $parsed['publicKey']);
93 $DSAPublicKey = Strings::packSSH2('siiii', 'ssh-dss', $p, $q, $g, $y);
121 $privateKey = Strings::packSSH2('si5', 'ssh-dss', $p, $q, $g, $y, $x);
H A DXML.php25 use phpseclib3\Common\Functions\Strings; alias
48 if (!Strings::is_stringable($key)) {
H A DPKCS8.php28 use phpseclib3\Common\Functions\Strings; alias
77 if (!Strings::is_stringable($key)) {
/plugin/authgooglesheets/vendor/phpseclib/phpseclib/phpseclib/Net/
H A DSFTP.php38 use phpseclib3\Common\Functions\Strings; alias
549 $packet = Strings::packSSH2(
567 $packet = Strings::packSSH2(
587 $packet = Strings::packSSH2(
1494 $packet = Strings::packSSH2('s', $filename);
1559 $packet = Strings::packSSH2('s', $filename);
1735 $packet = Strings::packSSH2('s', $filename);
1804 $packet = Strings::packSSH2('s', $temp);
1821 $packet = Strings::packSSH2('s', $path);
2145 $packet = Strings::packSSH2('s', $remote_file);
[all …]
H A DSSH2.php50 use phpseclib3\Common\Functions\Strings; alias
2443 $packet = Strings::packSSH2(
2514 $packet = Strings::packSSH2(
2719 $part1 = Strings::packSSH2(
2853 $packet = Strings::packSSH2(
2903 $packet = Strings::packSSH2(
2965 $packet = Strings::packSSH2(
2981 $packet = Strings::packSSH2(
3003 $packet = Strings::packSSH2(
3075 $packet = Strings::packSSH2(
[all …]
/plugin/authgooglesheets/vendor/phpseclib/phpseclib/phpseclib/Crypt/DSA/Formats/Signature/
H A DSSH2.php20 use phpseclib3\Common\Functions\Strings; alias
45 $result = Strings::unpackSSH2('ss', $sig);
73 return Strings::packSSH2(
/plugin/authgooglesheets/vendor/phpseclib/phpseclib/phpseclib/System/SSH/Agent/
H A DIdentity.php20 use phpseclib3\Common\Functions\Strings; alias
285 $packet = Strings::packSSH2(
292 $packet = Strings::packSSH2('s', $packet);
300 list($type, $signature_blob) = Strings::unpackSSH2('Cs', $packet);
309 list($type, $signature_blob) = Strings::unpackSSH2('ss', $signature_blob);
/plugin/authgooglesheets/vendor/phpseclib/phpseclib/phpseclib/System/SSH/
H A DAgent.php37 use phpseclib3\Common\Functions\Strings; alias
178 list($type, $keyCount) = Strings::unpackSSH2('CN', $packet);
185 list($key_blob, $comment) = Strings::unpackSSH2('ss', $packet);
187 list($key_type) = Strings::unpackSSH2('s', $temp);
/plugin/authgooglesheets/vendor/phpseclib/phpseclib/phpseclib/Math/
H A DBinaryField.php19 use phpseclib3\Common\Functions\Strings; alias
170 $str = Strings::bits2bin($x);
196 return Strings::bin2bits($x);
/plugin/authgooglesheets/vendor/phpseclib/phpseclib/phpseclib/Crypt/Common/
H A DSymmetricKey.php39 use phpseclib3\Common\Functions\Strings; alias
1154 Strings::increment_str($this->iv);
1391 Strings::increment_str($xor);
1541 Strings::increment_str($this->iv);
1765 Strings::increment_str($xor);
1994 Strings::increment_str($xor);
2002 Strings::increment_str($xor);
2045 Strings::increment_str($encryptIV);
3330 $xn = Strings::switchEndianness($xn);
3336 $y[$n] = Strings::switchEndianness($y[$n]);
[all …]
/plugin/authgooglesheets/vendor/phpseclib/phpseclib/phpseclib/Crypt/DH/Formats/Keys/
H A DPKCS8.php24 use phpseclib3\Common\Functions\Strings; alias
73 if (!Strings::is_stringable($key)) {
/plugin/findologicxmlexport/vendor/symfony/yaml/Tests/Fixtures/
H A DYtsTypeTransfers.yml2 test: Strings
37 test: Indicators in Strings
52 test: Forcing Strings
65 test: Single-quoted Strings
85 test: Double-quoted Strings
97 test: Multi-line Quoted Strings
/plugin/authgooglesheets/vendor/phpseclib/phpseclib/phpseclib/Crypt/
H A DSalsa20.php18 use phpseclib3\Common\Functions\Strings; alias
347 $ciphertext = $text ^ Strings::shift($buffer['ciphertext'], strlen($text));
356 $text2 = Strings::pop($text, $overflow);
368 $temp = Strings::pop($encrypted, 64);

123