Class Ed448Algorithm


public final class Ed448Algorithm extends AbstractCryptoAlgorithm

Ed448 Digital Signature Algorithm

Implementation of the Edwards-curve Digital Signature Algorithm over the Curve448 curve, commonly referred to as Ed448.

Ed448 is a modern elliptic curve signature scheme standardized in RFC 8032. It provides high security margins (224-bit classical strength) and is designed for simplicity, determinism, and resilience against common implementation pitfalls such as malleability.

Roles

  • KeyUsage.SIGN: Contexts that sign messages using a private key, producing fixed-length Ed448 signatures.
  • KeyUsage.VERIFY: Contexts that verify Ed448 signatures using the corresponding public key.

Key material

Thread-safety

Instances of this class are immutable and safe to reuse across threads. Context objects created through capabilities are not necessarily thread-safe.

 // Example: generate a key pair and sign data
 CryptoAlgorithm ed448 = new Ed448Algorithm();
 KeyPair kp = ed448.generateKeyPair(Ed448KeyGenSpec.defaultSpec());

 SignatureContext signer = ed448.create(KeyUsage.SIGN, kp.getPrivate(), null);
 byte[] sig = signer.sign(data);

 SignatureContext verifier = ed448.create(KeyUsage.VERIFY, kp.getPublic(), null);
 boolean ok = verifier.verify(data, sig);
 
Since:
1.0