/plugin/authgooglesheets/vendor/phpseclib/phpseclib/phpseclib/Crypt/EC/Formats/Keys/ |
H A D | Common.php | 383 if ($candidate->getA()->toBytes() != $curve->getA()->toBytes()) { 386 if ($candidate->getB()->toBytes() != $curve->getB()->toBytes()) { 392 if ($candidateX->toBytes() != $curveX->toBytes()) { 395 if ($candidateY->toBytes() != $curveY->toBytes()) { 409 if ($candidate->getA()->toBytes() != $curve->getA()->toBytes()) { 412 if ($candidate->getB()->toBytes() != $curve->getB()->toBytes()) { 418 if ($candidateX->toBytes() != $curveX->toBytes()) { 421 if ($candidateY->toBytes() != $curveY->toBytes()) { 440 $x = $point[0]->toBytes(); 441 $y = $point[1]->toBytes(); [all …]
|
H A D | PKCS8.php | 199 $key = "\4" . $publicKey[0]->toBytes() . $publicKey[1]->toBytes(); 233 $publicKey = "\4" . $publicKey[0]->toBytes() . $publicKey[1]->toBytes(); 239 'privateKey' => $privateKey->toBytes(),
|
H A D | OpenSSH.php | 165 $points = "\4" . $publicKey[0]->toBytes() . $publicKey[1]->toBytes(); 208 $points = "\4" . $publicKey[0]->toBytes() . $publicKey[1]->toBytes();
|
H A D | MontgomeryPrivate.php | 87 return strrev($publicKey[0]->toBytes()); 106 return $privateKey->toBytes();
|
H A D | PKCS1.php | 188 $publicKey = "\4" . $publicKey[0]->toBytes() . $publicKey[1]->toBytes(); 192 'privateKey' => $privateKey->toBytes(),
|
H A D | MontgomeryPublic.php | 76 return strrev($publicKey[0]->toBytes());
|
H A D | XML.php | 405 $publicKey = "\4" . $publicKey[0]->toBytes() . $publicKey[1]->toBytes(); 474 …'<' . $pre . 'P>' . Base64::encode($temp['fieldID']['parameters']->toBytes()) . '</' . $pre . 'P>'…
|
/plugin/authgooglesheets/vendor/phpseclib/phpseclib/phpseclib/Crypt/RSA/Formats/Keys/ |
H A D | XML.php | 153 ' <Modulus>' . Base64::encode($n->toBytes()) . "</Modulus>\r\n" . 154 ' <Exponent>' . Base64::encode($e->toBytes()) . "</Exponent>\r\n" . 155 ' <P>' . Base64::encode($primes[1]->toBytes()) . "</P>\r\n" . 156 ' <Q>' . Base64::encode($primes[2]->toBytes()) . "</Q>\r\n" . 157 ' <DP>' . Base64::encode($exponents[1]->toBytes()) . "</DP>\r\n" . 158 ' <DQ>' . Base64::encode($exponents[2]->toBytes()) . "</DQ>\r\n" . 159 ' <InverseQ>' . Base64::encode($coefficients[2]->toBytes()) . "</InverseQ>\r\n" . 160 ' <D>' . Base64::encode($d->toBytes()) . "</D>\r\n" . 175 ' <Modulus>' . Base64::encode($n->toBytes()) . "</Modulus>\r\n" . 176 ' <Exponent>' . Base64::encode($e->toBytes()) . "</Exponent>\r\n" .
|
H A D | MSBLOB.php | 210 $n = strrev($n->toBytes()); 211 $e = str_pad(strrev($e->toBytes()), 4, "\0"); 215 $key .= strrev($primes[1]->toBytes()); 216 $key .= strrev($primes[2]->toBytes()); 217 $key .= strrev($exponents[1]->toBytes()); 218 $key .= strrev($exponents[2]->toBytes()); 219 $key .= strrev($coefficients[2]->toBytes()); 220 $key .= strrev($d->toBytes()); 235 $n = strrev($n->toBytes()); 236 $e = str_pad(strrev($e->toBytes()), 4, "\0");
|
/plugin/gtime/gtlib/util/ |
H A D | GTBigInteger.php | 213 $bytes1 = $this->toBytes(); 214 $bytes2 = $integer->toBytes(); 238 $bytes1 = $this->toBytes(); 239 $bytes2 = $integer->toBytes(); 263 $bytes1 = $this->toBytes(); 264 $bytes2 = $integer->toBytes(); 290 foreach ($this->toBytes() as $byte) { 317 public function toBytes() { function in GTBigInteger 352 $bytes = $int->toBytes(); 392 foreach ($this->toBytes() as $byte) {
|
/plugin/authgooglesheets/vendor/phpseclib/phpseclib/phpseclib/Crypt/DSA/Formats/Keys/ |
H A D | XML.php | 133 ' <P>' . Base64::encode($p->toBytes()) . "</P>\r\n" . 134 ' <Q>' . Base64::encode($q->toBytes()) . "</Q>\r\n" . 135 ' <G>' . Base64::encode($g->toBytes()) . "</G>\r\n" . 136 ' <Y>' . Base64::encode($y->toBytes()) . "</Y>\r\n" .
|
/plugin/authgooglesheets/vendor/phpseclib/phpseclib/phpseclib/Math/BigInteger/Engines/ |
H A D | Engine.php | 256 $bytes = $temp->toBytes(); 470 $temp = $this->toBytes(); 537 $bits = $this->toBytes(); 545 $mask = $mask->toBytes(); 625 return strlen($this->toBytes()); 1235 $left = $this->toBytes(true); 1236 $right = $x->toBytes(true); 1254 $left = $this->toBytes(true); 1255 $right = $x->toBytes(true); 1273 $left = $this->toBytes(true); [all …]
|
H A D | OpenSSL.php | 59 $plaintext = str_pad($x->toBytes(), $n->getLengthInBytes(), "\0", STR_PAD_LEFT);
|
/plugin/authgooglesheets/vendor/phpseclib/phpseclib/phpseclib/Crypt/DSA/Formats/Signature/ |
H A D | SSH2.php | 76 str_pad($r->toBytes(), 20, "\0", STR_PAD_LEFT) . 77 str_pad($s->toBytes(), 20, "\0", STR_PAD_LEFT)
|
/plugin/authgooglesheets/vendor/phpseclib/phpseclib/phpseclib/Crypt/EC/ |
H A D | PrivateKey.php | 63 return sodium_crypto_scalarmult($this->dA->toBytes(), $coordinates); 68 return strrev($point[0]->toBytes(true)); 81 return "\4" . $point[0]->toBytes(true) . $point[1]->toBytes(true); 142 $S = str_pad(strrev($S->toBytes()), $curve::SIZE, "\0");
|
/plugin/authgooglesheets/vendor/phpseclib/phpseclib/phpseclib/Crypt/ |
H A D | EC.php | 185 $QA = sodium_crypto_box_publickey_from_secretkey($dA->toBytes()); 348 return strrev($this->QA[0]->toBytes(true)); 353 return "\4" . $this->QA[0]->toBytes(true) . $this->QA[1]->toBytes(true);
|
H A D | Hash.php | 666 return $y->add($length)->toBytes(); 763 return $y->toBytes(); 787 $y = str_pad(substr($y->toBytes(), -4), 4, "\0", STR_PAD_LEFT); 1474 … $temp = $hash[0]->toBytes() . $hash[1]->toBytes() . $hash[2]->toBytes() . $hash[3]->toBytes() . 1475 … $hash[4]->toBytes() . $hash[5]->toBytes() . $hash[6]->toBytes() . $hash[7]->toBytes();
|
H A D | DH.php | 279 … return $public->publicKey->powMod($private->privateKey, $private->prime)->toBytes(true); 284 return $public->powMod($private->privateKey, $private->prime)->toBytes(true);
|
/plugin/ipban/ip-lib/src/ |
H A D | Factory.php | 135 $toBytes = $to->getBytes(); 140 $toByte = $toBytes[$byteIndex];
|
/plugin/authgooglesheets/vendor/phpseclib/phpseclib/phpseclib/Math/ |
H A D | BinaryField.php | 123 return new Integer($this->instanceID, $num instanceof BigInteger ? $num->toBytes() : $num); 138 … return new Integer($this->instanceID, BigInteger::randomRange($one, $this->randomMax)->toBytes());
|
/plugin/authgooglesheets/vendor/phpseclib/phpseclib/phpseclib/Math/PrimeField/ |
H A D | Integer.php | 317 public function toBytes() function in phpseclib3\\Math\\PrimeField\\Integer 320 return str_pad($this->value->toBytes(), $length, "\0", STR_PAD_LEFT); 330 return Hex::encode($this->toBytes());
|
/plugin/gtime/gtlib/asn1/ |
H A D | ASN1Integer.php | 72 $bytes = $this->value->toBytes();
|
/plugin/authgooglesheets/vendor/phpseclib/phpseclib/phpseclib/Crypt/EC/Curves/ |
H A D | Curve448.php | 66 $d = $d->toBytes();
|
H A D | Curve25519.php | 55 $d = $d->toBytes();
|
/plugin/gtime/gtlib/asn1/gt/ |
H A D | GTPublishedData.php | 114 $bytes = $int->toBytes();
|