public final class Ed25519
extends java.lang.Object
This implementation is based on the ed25519/ref10 implementation in NaCl.
It implements this twisted Edwards curve:
-x^2 + y^2 = 1 + (-121665 / 121666 mod 2^255-19)*x^2*y^2
Modifier and Type | Method and Description |
---|---|
static boolean |
verify(byte[] message,
byte[] signature,
byte[] publicKey)
Returns true if the EdDSA
signature with message , can be verified with
publicKey . |