[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

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

   1  <?php
   2  
   3  /**
   4   * brainpoolP320r1
   5   *
   6   * PHP version 5 and 7
   7   *
   8   * @category  Crypt
   9   * @package   EC
  10   * @author    Jim Wigginton <[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\Prime;
  19  use phpseclib3\Math\BigInteger;
  20  
  21  class brainpoolP320r1 extends Prime
  22  {
  23      public function __construct()
  24      {
  25          $this->setModulo(new BigInteger('D35E472036BC4FB7E13C785ED201E065F98FCFA6F6F40DEF4F9' .
  26                                          '2B9EC7893EC28FCD412B1F1B32E27', 16));
  27          $this->setCoefficients(
  28              new BigInteger('3EE30B568FBAB0F883CCEBD46D3F3BB8A2A73513F5EB79DA66190EB085FFA9F4' .
  29                             '92F375A97D860EB4', 16),
  30              new BigInteger('520883949DFDBC42D3AD198640688A6FE13F41349554B49ACC31DCCD88453981' .
  31                             '6F5EB4AC8FB1F1A6', 16)
  32          );
  33          $this->setBasePoint(
  34              new BigInteger('43BD7E9AFB53D8B85289BCC48EE5BFE6F20137D10A087EB6E7871E2A10A599C7' .
  35                             '10AF8D0D39E20611', 16),
  36              new BigInteger('14FDD05545EC1CC8AB4093247F77275E0743FFED117182EAA9C77877AAAC6AC7' .
  37                             'D35245D1692E8EE1', 16)
  38          );
  39          $this->setOrder(new BigInteger('D35E472036BC4FB7E13C785ED201E065F98FCFA5B68F12A32D4' .
  40                                         '82EC7EE8658E98691555B44C59311', 16));
  41      }
  42  }


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