Package net.i2p.crypto.eddsa.math
Class Curve
java.lang.Object
net.i2p.crypto.eddsa.math.Curve
- All Implemented Interfaces:
Serializable
public class Curve extends Object implements Serializable
A twisted Edwards curve.
Points on the curve satisfy $-x^2 + y^2 = 1 + d x^2y^2$
- Since:
- 0.9.15
- Author:
- str4d
- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description Curve(Field f, byte[] d, FieldElement I) -
Method Summary
Modifier and Type Method Description GroupElementcreatePoint(byte[] P, boolean precompute)booleanequals(Object o)FieldElementget2D()FieldElementgetD()FieldgetField()FieldElementgetI()GroupElementgetZero(GroupElement.Representation repr)inthashCode()