Subversion Repositories oidplus

Rev

Rev 846 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
827 daniel-mar 1
<?php
2
 
3
/**
4
 * sect233r1
5
 *
6
 * PHP version 5 and 7
7
 *
874 daniel-mar 8
 * @category  Crypt
9
 * @package   EC
827 daniel-mar 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
 
16
namespace phpseclib3\Crypt\EC\Curves;
17
 
18
use phpseclib3\Crypt\EC\BaseCurves\Binary;
19
use phpseclib3\Math\BigInteger;
20
 
21
class sect233r1 extends Binary
22
{
23
    public function __construct()
24
    {
25
        $this->setModulo(233, 74, 0);
26
        $this->setCoefficients(
27
            '000000000000000000000000000000000000000000000000000000000001',
28
            '0066647EDE6C332C7F8C0923BB58213B333B20E9CE4281FE115F7D8F90AD'
29
        );
30
        $this->setBasePoint(
31
            '00FAC9DFCBAC8313BB2139F1BB755FEF65BC391F8B36F8F8EB7371FD558B',
32
            '01006A08A41903350678E58528BEBF8A0BEFF867A7CA36716F7E01F81052'
33
        );
34
        $this->setOrder(new BigInteger('01000000000000000000000000000013E974E72F8A6922031D2603CFE0D7', 16));
35
    }
36
}