1<?php 2 3/** 4 * sect233k1 5 * 6 * PHP version 5 and 7 7 * 8 * @category Crypt 9 * @package EC 10 * @author Jim Wigginton <terrafrost@php.net> 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 16namespace phpseclib3\Crypt\EC\Curves; 17 18use phpseclib3\Crypt\EC\BaseCurves\Binary; 19use phpseclib3\Math\BigInteger; 20 21class sect233k1 extends Binary 22{ 23 public function __construct() 24 { 25 $this->setModulo(233, 74, 0); 26 $this->setCoefficients( 27 '000000000000000000000000000000000000000000000000000000000000', 28 '000000000000000000000000000000000000000000000000000000000001' 29 ); 30 $this->setBasePoint( 31 '017232BA853A7E731AF129F22FF4149563A419C26BF50A4C9D6EEFAD6126', 32 '01DB537DECE819B7F70F555A67C427A8CD9BF18AEB9B56E0C11056FAE6A3' 33 ); 34 $this->setOrder(new BigInteger('8000000000000000000000000000069D5BB915BCD46EFB1AD5F173ABDF', 16)); 35 } 36} 37