[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

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

   1  <?php
   2  
   3  /**
   4   * brainpoolP384t1
   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 brainpoolP384t1 extends Prime
  22  {
  23      public function __construct()
  24      {
  25          $this->setModulo(new BigInteger(
  26              '8CB91E82A3386D280F5D6F7E50E641DF152F7109ED5456B412B1DA197FB71123ACD3A729901D1A7' .
  27              '1874700133107EC53',
  28              16
  29          ));
  30          $this->setCoefficients(
  31              new BigInteger(
  32                  '8CB91E82A3386D280F5D6F7E50E641DF152F7109ED5456B412B1DA197FB71123ACD3A729901' .
  33                  'D1A71874700133107EC50',
  34                  16
  35              ), // eg. -3
  36              new BigInteger(
  37                  '7F519EADA7BDA81BD826DBA647910F8C4B9346ED8CCDC64E4B1ABD11756DCE1D2074AA263B8' .
  38                  '8805CED70355A33B471EE',
  39                  16
  40              )
  41          );
  42          $this->setBasePoint(
  43              new BigInteger(
  44                  '18DE98B02DB9A306F2AFCD7235F72A819B80AB12EBD653172476FECD462AABFFC4FF191B946' .
  45                  'A5F54D8D0AA2F418808CC',
  46                  16
  47              ),
  48              new BigInteger(
  49                  '25AB056962D30651A114AFD2755AD336747F93475B7A1FCA3B88F2B6A208CCFE469408584DC' .
  50                  '2B2912675BF5B9E582928',
  51                  16
  52              )
  53          );
  54          $this->setOrder(new BigInteger(
  55              '8CB91E82A3386D280F5D6F7E50E641DF152F7109ED5456B31F166E6CAC0425A7CF3AB6AF6B7FC31' .
  56              '03B883202E9046565',
  57              16
  58          ));
  59      }
  60  }


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