[ Index ] |
PHP Cross Reference of Joomla 4.2.2 documentation |
[Summary view] [Print] [Text view]
1 <?php 2 3 /** 4 * secp128r2 5 * 6 * PHP version 5 and 7 7 * 8 * @category Crypt 9 * @package EC 10 * @author Jim Wigginton <[email protected]> 11 * @copyright 2017 Jim Wigginton 12 * @license http://www.opensource.org/licenses/mit-license.html MIT License 13 * @link http://pear.php.net/package/Math_BigInteger 14 */ 15 16 namespace phpseclib3\Crypt\EC\Curves; 17 18 use phpseclib3\Crypt\EC\BaseCurves\Prime; 19 use phpseclib3\Math\BigInteger; 20 21 class secp128r2 extends Prime 22 { 23 public function __construct() 24 { 25 // same as secp128r1 26 $this->setModulo(new BigInteger('FFFFFFFDFFFFFFFFFFFFFFFFFFFFFFFF', 16)); 27 $this->setCoefficients( 28 new BigInteger('D6031998D1B3BBFEBF59CC9BBFF9AEE1', 16), 29 new BigInteger('5EEEFCA380D02919DC2C6558BB6D8A5D', 16) 30 ); 31 $this->setBasePoint( 32 new BigInteger('7B6AA5D85E572983E6FB32A7CDEBC140', 16), 33 new BigInteger('27B6916A894D3AEE7106FE805FC34B44', 16) 34 ); 35 $this->setOrder(new BigInteger('3FFFFFFF7FFFFFFFBE0024720613B5A3', 16)); 36 } 37 }
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated: Wed Sep 7 05:41:13 2022 | Chilli.vc Blog - For Webmaster,Blog-Writer,System Admin and Domainer |