[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

/libraries/vendor/phpseclib/phpseclib/phpseclib/Crypt/EC/Curves/ -> sect409r1.php (source)

   1  <?php
   2  
   3  /**
   4   * sect409r1
   5   *
   6   * PHP version 5 and 7
   7   *
   8   * @category  Crypt
   9   * @package   EC
  10   * @author    Jim Wiggint  on <[email protected]>
  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 sect409r1 extends Binary
  22  {
  23      public function __construct()
  24      {
  25          $this->setModulo(409, 87, 0);
  26          $this->setCoefficients(
  27              '00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001',
  28              '0021A5C2C8EE9FEB5C4B9A753B7B476B7FD6422EF1F3DD674761FA99D6AC27C8A9A197B272822F6CD57A55AA4F50AE317B13545F'
  29          );
  30          $this->setBasePoint(
  31              '015D4860D088DDB3496B0C6064756260441CDE4AF1771D4DB01FFE5B34E59703DC255A868A1180515603AEAB60794E54BB7996A7',
  32              '0061B1CFAB6BE5F32BBFA78324ED106A7636B9C5A7BD198D0158AA4F5488D08F38514F1FDF4B4F40D2181B3681C364BA0273C706'
  33          );
  34          $this->setOrder(new BigInteger(
  35              '010000000000000000000000000000000000000000000000000001E2' .
  36              'AAD6A612F33307BE5FA47C3C9E052F838164CD37D9A21173',
  37              16
  38          ));
  39      }
  40  }


Generated: Wed Sep 7 05:41:13 2022 Chilli.vc Blog - For Webmaster,Blog-Writer,System Admin and Domainer