Viel neues
This commit is contained in:
36
qa-tool/htdocs/oidc/phpseclib/Crypt/EC/Curves/sect163r2.php
Normal file
36
qa-tool/htdocs/oidc/phpseclib/Crypt/EC/Curves/sect163r2.php
Normal file
@@ -0,0 +1,36 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* sect163r2
|
||||
*
|
||||
* PHP version 5 and 7
|
||||
*
|
||||
* @author Jim Wigginton <terrafrost@php.net>
|
||||
* @copyright 2017 Jim Wigginton
|
||||
* @license http://www.opensource.org/licenses/mit-license.html MIT License
|
||||
* @link http://pear.php.net/package/Math_BigInteger
|
||||
*/
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace phpseclib3\Crypt\EC\Curves;
|
||||
|
||||
use phpseclib3\Crypt\EC\BaseCurves\Binary;
|
||||
use phpseclib3\Math\BigInteger;
|
||||
|
||||
class sect163r2 extends Binary
|
||||
{
|
||||
public function __construct()
|
||||
{
|
||||
$this->setModulo(163, 7, 6, 3, 0);
|
||||
$this->setCoefficients(
|
||||
'000000000000000000000000000000000000000001',
|
||||
'020A601907B8C953CA1481EB10512F78744A3205FD'
|
||||
);
|
||||
$this->setBasePoint(
|
||||
'03F0EBA16286A2D57EA0991168D4994637E8343E36',
|
||||
'00D51FBC6C71A0094FA2CDD545B11C5C0C797324F1'
|
||||
);
|
||||
$this->setOrder(new BigInteger('040000000000000000000292FE77E70C12A4234C33', 16));
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user