[ Index ] |
PHP Cross Reference of DokuWiki |
[Summary view] [Print] [Text view]
1 <?php 2 3 /** 4 * sect283k1 5 * 6 * PHP version 5 and 7 7 * 8 * @author Jim Wiggint on <terrafrost@php.net> 9 * @copyright 2017 Jim Wigginton 10 * @license http://www.opensource.org/licenses/mit-license.html MIT License 11 * @link http://pear.php.net/package/Math_BigInteger 12 */ 13 14 namespace phpseclib3\Crypt\EC\Curves; 15 16 use phpseclib3\Crypt\EC\BaseCurves\Binary; 17 use phpseclib3\Math\BigInteger; 18 19 class sect283k1 extends Binary 20 { 21 public function __construct() 22 { 23 $this->setModulo(283, 12, 7, 5, 0); 24 $this->setCoefficients( 25 '000000000000000000000000000000000000000000000000000000000000000000000000', 26 '000000000000000000000000000000000000000000000000000000000000000000000001' 27 ); 28 $this->setBasePoint( 29 '0503213F78CA44883F1A3B8162F188E553CD265F23C1567A16876913B0C2AC2458492836', 30 '01CCDA380F1C9E318D90F95D07E5426FE87E45C0E8184698E45962364E34116177DD2259' 31 ); 32 $this->setOrder(new BigInteger('01FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFE9AE2ED07577265DFF7F94451E061E163C61', 16)); 33 } 34 }
title
Description
Body
title
Description
Body
title
Description
Body
title
Body