SecgCurve
in package
Table of Contents
Constants
- NAME_SECP_112R1 = 'secp112r1'
- NAME_SECP_192K1 = 'secp192k1'
- NAME_SECP_256K1 = 'secp256k1'
- NAME_SECP_256R1 = 'secp256r1'
- NAME_SECP_384R1 = 'secp384r1'
Properties
Methods
- __construct() : mixed
- curve112r1() : NamedCurveFp
- curve192k1() : NamedCurveFp
- curve256k1() : NamedCurveFp
- curve256r1() : NamedCurveFp
- curve384r1() : NamedCurveFp
- generator112r1() : GeneratorPoint
- generator192k1() : GeneratorPoint
- generator256k1() : GeneratorPoint
- generator256r1() : GeneratorPoint
- generator384r1() : GeneratorPoint
Constants
NAME_SECP_112R1
public
mixed
NAME_SECP_112R1
= 'secp112r1'
NAME_SECP_192K1
public
mixed
NAME_SECP_192K1
= 'secp192k1'
NAME_SECP_256K1
public
mixed
NAME_SECP_256K1
= 'secp256k1'
NAME_SECP_256R1
public
mixed
NAME_SECP_256R1
= 'secp256r1'
NAME_SECP_384R1
public
mixed
NAME_SECP_384R1
= 'secp384r1'
Properties
$adapter
private
GmpMathInterface
$adapter
Methods
__construct()
public
__construct(GmpMathInterface $adapter) : mixed
Parameters
- $adapter : GmpMathInterface
curve112r1()
public
curve112r1() : NamedCurveFp
Return values
NamedCurveFpcurve192k1()
public
curve192k1() : NamedCurveFp
Return values
NamedCurveFpcurve256k1()
public
curve256k1() : NamedCurveFp
Return values
NamedCurveFpcurve256r1()
public
curve256r1() : NamedCurveFp
Return values
NamedCurveFpcurve384r1()
public
curve384r1() : NamedCurveFp
Return values
NamedCurveFpgenerator112r1()
public
generator112r1([RandomNumberGeneratorInterface $randomGenerator = null ]) : GeneratorPoint
Parameters
- $randomGenerator : RandomNumberGeneratorInterface = null
Return values
GeneratorPointgenerator192k1()
public
generator192k1([RandomNumberGeneratorInterface $randomGenerator = null ]) : GeneratorPoint
Parameters
- $randomGenerator : RandomNumberGeneratorInterface = null
Return values
GeneratorPointgenerator256k1()
public
generator256k1([RandomNumberGeneratorInterface $randomGenerator = null ]) : GeneratorPoint
Parameters
- $randomGenerator : RandomNumberGeneratorInterface = null
Return values
GeneratorPointgenerator256r1()
public
generator256r1([RandomNumberGeneratorInterface $randomGenerator = null ]) : GeneratorPoint
Parameters
- $randomGenerator : RandomNumberGeneratorInterface = null
Return values
GeneratorPointgenerator384r1()
public
generator384r1([RandomNumberGeneratorInterface $randomGenerator = null ]) : GeneratorPoint
Parameters
- $randomGenerator : RandomNumberGeneratorInterface = null