[ Index ] |
PHP Cross Reference of Joomla 4.2.2 documentation |
[Summary view] [Print] [Text view]
1 <?php 2 3 /** 4 * secp128r1 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 secp128r1 extends Prime 22 { 23 public function __construct() 24 { 25 $this->setModulo(new BigInteger('FFFFFFFDFFFFFFFFFFFFFFFFFFFFFFFF', 16)); 26 $this->setCoefficients( 27 new BigInteger('FFFFFFFDFFFFFFFFFFFFFFFFFFFFFFFC', 16), 28 new BigInteger('E87579C11079F43DD824993C2CEE5ED3', 16) 29 ); 30 $this->setBasePoint( 31 new BigInteger('161FF7528B899B2D0C28607CA52C5B86', 16), 32 new BigInteger('CF5AC8395BAFEB13C02DA292DDED7A83', 16) 33 ); 34 $this->setOrder(new BigInteger('FFFFFFFE0000000075A30D1B9038A115', 16)); 35 } 36 }
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 |