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 BigInteger
static AffinePoint<BigInteger>
static BigInteger
static BigInteger
Fields 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, zero
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface dk.jonaslindstrom.ruffini.common.abstractions.AdditiveGroup
doubling, isZero, scale, scale, subtract, sum
Methods 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
-