Home
last modified time | relevance | path

Searched refs:BigInteger (Results 1 – 25 of 143) sorted by relevance

123456

/plugin/authgooglesheets/vendor/phpseclib/phpseclib/phpseclib/Math/
H A DBigInteger.php253 * @return BigInteger
264 * @return BigInteger
275 * @return BigInteger
322 * @return BigInteger
358 * @return BigInteger
368 * @return BigInteger
463 public function powMod(BigInteger $e, BigInteger $n)
475 public function modPow(BigInteger $e, BigInteger $n)
694 public static function randomRangePrime(BigInteger $min, BigInteger $max)
713 public static function randomRange(BigInteger $min, BigInteger $max)
[all …]
/plugin/authgooglesheets/vendor/phpseclib/phpseclib/phpseclib/Crypt/DSA/Formats/Keys/
H A DRaw.php20 use phpseclib3\Math\BigInteger; alias
47 case !$key['p'] instanceof BigInteger:
48 case !$key['q'] instanceof BigInteger:
49 case !$key['g'] instanceof BigInteger:
51 case isset($key['x']) && !$key['x'] instanceof BigInteger:
52 case isset($key['y']) && !$key['y'] instanceof BigInteger:
73 …public static function savePrivateKey(BigInteger $p, BigInteger $q, BigInteger $g, BigInteger $y,
88 public static function savePublicKey(BigInteger $p, BigInteger $q, BigInteger $g, BigInteger $y)
H A DPKCS1.php36 use phpseclib3\Math\BigInteger; alias
91 public static function saveParameters(BigInteger $p, BigInteger $q, BigInteger $g)
119 …public static function savePrivateKey(BigInteger $p, BigInteger $q, BigInteger $g, BigInteger $y,
145 public static function savePublicKey(BigInteger $p, BigInteger $q, BigInteger $g, BigInteger $y)
/plugin/authgooglesheets/vendor/phpseclib/phpseclib/phpseclib/Crypt/EC/Curves/
H A Dsecp160k1.php19 use phpseclib3\Math\BigInteger; alias
26 $this->setModulo(new BigInteger('FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEFFFFAC73', 16));
28 new BigInteger('0000000000000000000000000000000000000000', 16),
29 new BigInteger('0000000000000000000000000000000000000007', 16)
32 new BigInteger('3B4C382CE37AA192A4019E763036F4F5DD4D7EBB', 16),
33 new BigInteger('938CF935318FDCED6BC28286531733C3F03C4FEE', 16)
35 $this->setOrder(new BigInteger('0100000000000000000001B8FA16DFAB9ACA16B6B3', 16));
39 'a' => new BigInteger('0096341F1138933BC2F505', -16),
40 'b' => new BigInteger('FF6E9D0418C67BB8D5F562', -16)
43 'a' => new BigInteger('01BDCB3A09AAAABEAFF4A8', -16),
[all …]
H A Dsecp192k1.php19 use phpseclib3\Math\BigInteger; alias
25 $this->setModulo(new BigInteger('FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEFFFFEE37', 16));
27 new BigInteger('000000000000000000000000000000000000000000000000', 16),
28 new BigInteger('000000000000000000000000000000000000000000000003', 16)
31 new BigInteger('DB4FF10EC057E9AE26B07D0280B7F4341DA5D1B1EAE06C7D', 16),
32 new BigInteger('9B2F2F6D9C5628A7844163D015BE86344082AA88D95E2F9D', 16)
34 $this->setOrder(new BigInteger('FFFFFFFFFFFFFFFFFFFFFFFE26F2FC170F69466A74DEFD8D', 16));
38 'a' => new BigInteger('00B3FB3400DEC5C4ADCEB8655C', -16),
39 'b' => new BigInteger('8EE96418CCF4CFC7124FDA0F', -16)
42 'a' => new BigInteger('01D90D03E8F096B9948B20F0A9', -16),
[all …]
H A Dsecp224k1.php19 use phpseclib3\Math\BigInteger; alias
25 … $this->setModulo(new BigInteger('FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEFFFFE56D', 16));
27 new BigInteger('00000000000000000000000000000000000000000000000000000000', 16),
28 new BigInteger('00000000000000000000000000000000000000000000000000000005', 16)
31 new BigInteger('A1455B334DF099DF30FC28A169A467E9E47075A90F7E650EB6B7A45C', 16),
32 new BigInteger('7E089FED7FBA344282CAFBD6F7E319F7C0B0BD59E2CA4BDB556D61A5', 16)
34 … $this->setOrder(new BigInteger('010000000000000000000000000001DCE8D2EC6184CAF0A971769FB1F7', 16));
38 'a' => new BigInteger('00B8ADF1378A6EB73409FA6C9C637D', -16),
39 'b' => new BigInteger('94730F82B358A3776A826298FA6F', -16)
42 'a' => new BigInteger('01DCE8D2EC6184CAF0A972769FCC8B', -16),
[all …]
H A Dsecp256k1.php22 use phpseclib3\Math\BigInteger; alias
29 …$this->setModulo(new BigInteger('FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEFFFFFC2F'…
31 new BigInteger('0000000000000000000000000000000000000000000000000000000000000000', 16),
32 new BigInteger('0000000000000000000000000000000000000000000000000000000000000007', 16)
34 …$this->setOrder(new BigInteger('FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141',…
36 new BigInteger('79BE667EF9DCBBAC55A06295CE870B07029BFCDB2DCE28D959F2815B16F81798', 16),
37 new BigInteger('483ADA7726A3C4655DA4FBFC0E1108A8FD17B448A68554199C47D08FFB10D4B8', 16)
42 'a' => new BigInteger('3086D221A7D46BCDE86C90E49284EB15', -16),
43 'b' => new BigInteger('FF1BBC8129FEF177D790AB8056F5401B3D', -16)
46 'a' => new BigInteger('114CA50F7A8E2F3F657C1108D9D44CFD8', -16),
[all …]
H A DCurve448.php19 use phpseclib3\Math\BigInteger; alias
26 $this->setModulo(new BigInteger(
31 $this->a24 = $this->factory->newInteger(new BigInteger('39081'));
32 $this->p = [$this->factory->newInteger(new BigInteger(5))];
34 $this->setOrder(new BigInteger(
61 public function multiplyPoint(array $p, BigInteger $d)
70 $d = new BigInteger($d, 256);
78 * @return BigInteger
82 return BigInteger::random(446);
88 public function rangeCheck(BigInteger $x)
H A DCurve25519.php19 use phpseclib3\Math\BigInteger; alias
26 …$this->setModulo(new BigInteger('7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFED'…
27 $this->a24 = $this->factory->newInteger(new BigInteger('121666'));
28 $this->p = [$this->factory->newInteger(new BigInteger(9))];
30 …$this->setOrder(new BigInteger('1000000000000000000000000000000014DEF9DEA2F79CD65812631A5CF5D3ED',…
50 public function multiplyPoint(array $p, BigInteger $d)
59 $d = new BigInteger($d, -256);
67 * @return BigInteger
71 return BigInteger::random(256);
77 public function rangeCheck(BigInteger $x)
H A DbrainpoolP512t1.php19 use phpseclib3\Math\BigInteger; alias
25 $this->setModulo(new BigInteger(
31 new BigInteger(
36 new BigInteger(
43 new BigInteger(
48 new BigInteger(
54 $this->setOrder(new BigInteger(
H A Dprime192v3.php19 use phpseclib3\Math\BigInteger; alias
25 $this->setModulo(new BigInteger('FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEFFFFFFFFFFFFFFFF', 16));
27 new BigInteger('FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEFFFFFFFFFFFFFFFC', 16),
28 new BigInteger('22123DC2395A05CAA7423DAECCC94760A7D462256BD56916', 16)
31 new BigInteger('7D29778100C65A1DA1783716588DCE2B8B4AEE8E228F1896', 16),
32 new BigInteger('38A90F22637337334B49DCB66A6DC8F9978ACA7648A943B0', 16)
34 $this->setOrder(new BigInteger('FFFFFFFFFFFFFFFFFFFFFFFF7A62D031C83F4294F640EC13', 16));
H A Dsecp112r1.php19 use phpseclib3\Math\BigInteger; alias
25 $this->setModulo(new BigInteger('DB7C2ABF62E35E668076BEAD208B', 16));
27 new BigInteger('DB7C2ABF62E35E668076BEAD2088', 16),
28 new BigInteger('659EF8BA043916EEDE8911702B22', 16)
31 new BigInteger('09487239995A5EE76B55F9C2F098', 16),
32 new BigInteger('A89CE5AF8724C0A23E0E0FF77500', 16)
34 $this->setOrder(new BigInteger('DB7C2ABF62E35E7628DFAC6561C5', 16));
H A Dsecp128r2.php19 use phpseclib3\Math\BigInteger; alias
26 $this->setModulo(new BigInteger('FFFFFFFDFFFFFFFFFFFFFFFFFFFFFFFF', 16));
28 new BigInteger('D6031998D1B3BBFEBF59CC9BBFF9AEE1', 16),
29 new BigInteger('5EEEFCA380D02919DC2C6558BB6D8A5D', 16)
32 new BigInteger('7B6AA5D85E572983E6FB32A7CDEBC140', 16),
33 new BigInteger('27B6916A894D3AEE7106FE805FC34B44', 16)
35 $this->setOrder(new BigInteger('3FFFFFFF7FFFFFFFBE0024720613B5A3', 16));
H A Dsecp160r2.php19 use phpseclib3\Math\BigInteger; alias
26 $this->setModulo(new BigInteger('FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEFFFFAC73', 16));
28 new BigInteger('FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEFFFFAC70', 16),
29 new BigInteger('B4E134D3FB59EB8BAB57274904664D5AF50388BA', 16)
32 new BigInteger('52DCB034293A117E1F4FF11B30F7199D3144CE6D', 16),
33 new BigInteger('FEAFFEF2E331F296E071FA0DF9982CFEA7D43F2E', 16)
35 $this->setOrder(new BigInteger('0100000000000000000000351EE786A818F3A1A16B', 16));
H A Dsecp224r1.php19 use phpseclib3\Math\BigInteger; alias
25 … $this->setModulo(new BigInteger('FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF000000000000000000000001', 16));
27 new BigInteger('FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEFFFFFFFFFFFFFFFFFFFFFFFE', 16),
28 new BigInteger('B4050A850C04B3ABF54132565044B0B7D7BFD8BA270B39432355FFB4', 16)
31 new BigInteger('B70E0CBD6BB4BF7F321390B94A03C1D356C21122343280D6115C1D21', 16),
32 new BigInteger('BD376388B5F723FB4C22DFE6CD4375A05A07476444D5819985007E34', 16)
34 … $this->setOrder(new BigInteger('FFFFFFFFFFFFFFFFFFFFFFFFFFFF16A2E0B8F03E13DD29455C5C2A3D', 16));
H A Dsecp256r1.php19 use phpseclib3\Math\BigInteger; alias
25 …$this->setModulo(new BigInteger('FFFFFFFF00000001000000000000000000000000FFFFFFFFFFFFFFFFFFFFFFFF'…
27 new BigInteger('FFFFFFFF00000001000000000000000000000000FFFFFFFFFFFFFFFFFFFFFFFC', 16),
28 new BigInteger('5AC635D8AA3A93E7B3EBBD55769886BC651D06B0CC53B0F63BCE3C3E27D2604B', 16)
31 new BigInteger('6B17D1F2E12C4247F8BCE6E563A440F277037D812DEB33A0F4A13945D898C296', 16),
32 new BigInteger('4FE342E2FE1A7F9B8EE7EB4A7C0F9E162BCE33576B315ECECBB6406837BF51F5', 16)
34 …$this->setOrder(new BigInteger('FFFFFFFF00000000FFFFFFFFFFFFFFFFBCE6FAADA7179E84F3B9CAC2FC632551',…
H A Dsecp521r1.php19 use phpseclib3\Math\BigInteger; alias
25 …$this->setModulo(new BigInteger('01FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF'…
29 new BigInteger('01FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF' .
32 new BigInteger('0051953EB9618E1C9A1F929A21A0B68540EEA2DA725B99B315F3B8B489918EF1' .
37 new BigInteger('00C6858E06B70404E9CD9E3ECB662395B4429C648139053FB521F828AF606B4D' .
40 new BigInteger('011839296A789A3BC0045C8A5FB42C7D1BD998F54449579B446817AFBD17273E' .
44 …$this->setOrder(new BigInteger('01FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF' .
H A DbrainpoolP160t1.php32 use phpseclib3\Math\BigInteger; alias
38 $this->setModulo(new BigInteger('E95E4A5F737059DC60DFC7AD95B3D8139515620F', 16));
40 new BigInteger('E95E4A5F737059DC60DFC7AD95B3D8139515620C', 16), // eg. -3
41 new BigInteger('7A556B6DAE535B7B51ED2C4D7DAA7A0B5C55F380', 16)
44 new BigInteger('B199B13B9B34EFC1397E64BAEB05ACC265FF2378', 16),
45 new BigInteger('ADD6718B7C7C1961F0991B842443772152C9E0AD', 16)
47 $this->setOrder(new BigInteger('E95E4A5F737059DC60DF5991D45029409E60FC09', 16));
H A DbrainpoolP320r1.php19 use phpseclib3\Math\BigInteger; alias
25 $this->setModulo(new BigInteger('D35E472036BC4FB7E13C785ED201E065F98FCFA6F6F40DEF4F9' .
28 new BigInteger('3EE30B568FBAB0F883CCEBD46D3F3BB8A2A73513F5EB79DA66190EB085FFA9F4' .
30 new BigInteger('520883949DFDBC42D3AD198640688A6FE13F41349554B49ACC31DCCD88453981' .
34 new BigInteger('43BD7E9AFB53D8B85289BCC48EE5BFE6F20137D10A087EB6E7871E2A10A599C7' .
36 new BigInteger('14FDD05545EC1CC8AB4093247F77275E0743FFED117182EAA9C77877AAAC6AC7' .
39 $this->setOrder(new BigInteger('D35E472036BC4FB7E13C785ED201E065F98FCFA5B68F12A32D4' .
H A DbrainpoolP384t1.php19 use phpseclib3\Math\BigInteger; alias
25 $this->setModulo(new BigInteger(
31 new BigInteger(
36 new BigInteger(
43 new BigInteger(
48 new BigInteger(
54 $this->setOrder(new BigInteger(
H A Dprime192v2.php19 use phpseclib3\Math\BigInteger; alias
25 $this->setModulo(new BigInteger('FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEFFFFFFFFFFFFFFFF', 16));
27 new BigInteger('FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEFFFFFFFFFFFFFFFC', 16),
28 new BigInteger('CC22D6DFB95C6B25E49C0D6364A4E5980C393AA21668D953', 16)
31 new BigInteger('EEA2BAE7E1497842F2DE7769CFE9C989C072AD696F48034A', 16),
32 new BigInteger('6574D11D69B6EC7A672BB82A083DF2F2B0847DE970B2DE15', 16)
34 $this->setOrder(new BigInteger('FFFFFFFFFFFFFFFFFFFFFFFE5FB1A724DC80418648D8DD31', 16));
H A Dprime239v1.php19 use phpseclib3\Math\BigInteger; alias
25 …$this->setModulo(new BigInteger('7FFFFFFFFFFFFFFFFFFFFFFF7FFFFFFFFFFF8000000000007FFFFFFFFFFF', 16…
27 new BigInteger('7FFFFFFFFFFFFFFFFFFFFFFF7FFFFFFFFFFF8000000000007FFFFFFFFFFC', 16),
28 new BigInteger('6B016C3BDCF18941D0D654921475CA71A9DB2FB27D1D37796185C2942C0A', 16)
31 new BigInteger('0FFA963CDCA8816CCC33B8642BEDF905C3D358573D3F27FBBD3B3CB9AAAF', 16),
32 new BigInteger('7DEBE8E4E90A5DAE6E4054CA530BA04654B36818CE226B39FCCB7B02F1AE', 16)
34 …$this->setOrder(new BigInteger('7FFFFFFFFFFFFFFFFFFFFFFF7FFFFF9E5E9A9F5D9071FBD1522688909D0B', 16)…
H A Dsecp112r2.php19 use phpseclib3\Math\BigInteger; alias
26 $this->setModulo(new BigInteger('DB7C2ABF62E35E668076BEAD208B', 16));
28 new BigInteger('6127C24C05F38A0AAAF65C0EF02C', 16),
29 new BigInteger('51DEF1815DB5ED74FCC34C85D709', 16)
32 new BigInteger('4BA30AB5E892B4E1649DD0928643', 16),
33 new BigInteger('ADCD46F5882E3747DEF36E956E97', 16)
35 $this->setOrder(new BigInteger('36DF0AAFD8B8D7597CA10520D04B', 16));
H A Dsecp128r1.php19 use phpseclib3\Math\BigInteger; alias
25 $this->setModulo(new BigInteger('FFFFFFFDFFFFFFFFFFFFFFFFFFFFFFFF', 16));
27 new BigInteger('FFFFFFFDFFFFFFFFFFFFFFFFFFFFFFFC', 16),
28 new BigInteger('E87579C11079F43DD824993C2CEE5ED3', 16)
31 new BigInteger('161FF7528B899B2D0C28607CA52C5B86', 16),
32 new BigInteger('CF5AC8395BAFEB13C02DA292DDED7A83', 16)
34 $this->setOrder(new BigInteger('FFFFFFFE0000000075A30D1B9038A115', 16));
H A Dsecp384r1.php19 use phpseclib3\Math\BigInteger; alias
25 $this->setModulo(new BigInteger(
30 new BigInteger(
34 new BigInteger(
40 new BigInteger(
44 new BigInteger(
49 $this->setOrder(new BigInteger(

123456