Class Curve25519
java.lang.Object
dk.jonaslindstrom.ruffini.elliptic.structures.MontgomeryCurve<BigInteger,BigPrimeField>
dk.jonaslindstrom.ruffini.elliptic.structures.Curve25519
- All Implemented Interfaces:
AdditiveGroup<AffinePoint<BigInteger>>,CommutativeMonoid<AffinePoint<BigInteger>>,Set<AffinePoint<BigInteger>>
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic BigIntegerstatic AffinePoint<BigInteger>static BigIntegerstatic BigIntegerFields inherited from class dk.jonaslindstrom.ruffini.elliptic.structures.MontgomeryCurve
B, field -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondecodePoint(byte[] bytes) decodeScalar(byte[] bytes) static byte[]encodePoint(AffinePoint<BigInteger> point) Methods inherited from class dk.jonaslindstrom.ruffini.elliptic.structures.MontgomeryCurve
add, discriminant, equals, getA, getB, getCorrespondingWeierstrassCurve, getField, jInvariant, negate, toString, toString, zeroMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface dk.jonaslindstrom.ruffini.common.abstractions.AdditiveGroup
doubling, isZero, scale, scale, subtract, sumMethods inherited from interface dk.jonaslindstrom.ruffini.common.abstractions.CommutativeMonoid
add, add
-
Field Details
-
BASE_POINT
-
SUBGROUP_ORDER
-
P
-
A
-
-
Constructor Details
-
Curve25519
public Curve25519()
-
-
Method Details
-
encodePoint
-
decodeScalar
-
decodePoint
- Throws:
InvalidParametersException
-