klefki.curves.secp256k1
¶
Module Contents¶
Classes¶
A FIELD is a set F which is closed under two operations + and × s.t. |
|
A FIELD is a set F which is closed under two operations + and × s.t. |
|
y^2 = x^3 + A * x + B |
-
class
klefki.curves.secp256k1.
FiniteFieldSecp256k1
(*args)¶ Bases:
klefki.algebra.fields.FiniteField
A FIELD is a set F which is closed under two operations + and × s.t. (1) Fis an abelian group under + and (2) F-{0} (the set F without the additive identity 0) is an abelian group under ×.
-
P
¶
-
-
class
klefki.curves.secp256k1.
FiniteFieldCyclicSecp256k1
(*args)¶ Bases:
klefki.algebra.fields.FiniteField
A FIELD is a set F which is closed under two operations + and × s.t. (1) Fis an abelian group under + and (2) F-{0} (the set F without the additive identity 0) is an abelian group under ×.
-
P
¶
-
-
class
klefki.curves.secp256k1.
EllipticCurveGroupSecp256k1
(*args)¶ Bases:
klefki.algebra.groups.EllipticCurveGroup
y^2 = x^3 + A * x + B
-
N
¶
-
A
¶
-
B
¶
-
op
(self, g)¶ The Operator for obeying axiom associativity (2)
-
classmethod
lift_x
(cls, x: FiniteField)¶
-
-
klefki.curves.secp256k1.
G
¶