Subversion Repositories oidplus

Rev

Rev 874 | Blame | Compare with Previous | Last modification | View Log | RSS feed

  1. <?php
  2.  
  3. /**
  4.  * sect131r1
  5.  *
  6.  * PHP version 5 and 7
  7.  *
  8.  * @author    Jim Wigginton <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 sect131r1 extends Binary
  20. {
  21.     public function __construct()
  22.     {
  23.         $this->setModulo(131, 8, 3, 2, 0);
  24.         $this->setCoefficients(
  25.             '07A11B09A76B562144418FF3FF8C2570B8',
  26.             '0217C05610884B63B9C6C7291678F9D341'
  27.         );
  28.         $this->setBasePoint(
  29.             '0081BAF91FDF9833C40F9C181343638399',
  30.             '078C6E7EA38C001F73C8134B1B4EF9E150'
  31.         );
  32.         $this->setOrder(new BigInteger('0400000000000000023123953A9464B54D', 16));
  33.     }
  34. }
  35.