mirror of
https://github.com/danog/tgseclib.git
synced 2024-12-11 08:39:43 +01:00
37 lines
1.0 KiB
PHP
37 lines
1.0 KiB
PHP
<?php
|
|
|
|
/**
|
|
* sect233r1
|
|
*
|
|
* PHP version 5 and 7
|
|
*
|
|
* @category Crypt
|
|
* @package EC
|
|
* @author Jim Wigginton <terrafrost@php.net>
|
|
* @copyright 2017 Jim Wigginton
|
|
* @license http://www.opensource.org/licenses/mit-license.html MIT License
|
|
* @link http://pear.php.net/package/Math_BigInteger
|
|
*/
|
|
|
|
namespace phpseclib\Crypt\EC\Curves;
|
|
|
|
use phpseclib\Crypt\EC\BaseCurves\Binary;
|
|
use phpseclib\Math\BigInteger;
|
|
|
|
class sect233r1 extends Binary
|
|
{
|
|
public function __construct()
|
|
{
|
|
$this->setModulo(233, 74, 0);
|
|
$this->setCoefficients(
|
|
'000000000000000000000000000000000000000000000000000000000001',
|
|
'0066647EDE6C332C7F8C0923BB58213B333B20E9CE4281FE115F7D8F90AD'
|
|
);
|
|
$this->setBasePoint(
|
|
'00FAC9DFCBAC8313BB2139F1BB755FEF65BC391F8B36F8F8EB7371FD558B',
|
|
'01006A08A41903350678E58528BEBF8A0BEFF867A7CA36716F7E01F81052'
|
|
);
|
|
$this->setOrder(new BigInteger('01000000000000000000000000000013E974E72F8A6922031D2603CFE0D7', 16));
|
|
}
|
|
}
|