Lines Matching refs:BigInteger
25 use phpseclib3\Math\BigInteger; alias
158 …omponents['isPublicKey'] ? 'publicExponent' : 'privateExponent'] = new BigInteger(strrev($pubexp),…
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…
182 … $components['privateExponent'] = new BigInteger(strrev(Strings::shift($key, $bitlen / 8)), 256);
200 …public static function savePrivateKey(BigInteger $n, BigInteger $e, BigInteger $d, array $primes, …
233 public static function savePublicKey(BigInteger $n, BigInteger $e)