Ed448ph
Deterministic Edwards-curve signatures: Ed25519 and Ed448
Source found and wired, correctness not fully proven. Root API only. Reach it with NextSSL(root=True) in Python or the nextssl_root_* functions in C.
About Ed448ph
Ed448ph is one of 3 EdDSA variants in the NextSSL registry, a digital signature scheme. It uses a 57-byte public key, a 57-byte secret key, a 114-byte signature, a 57-byte seed and a 0–255-byte context string. Its registry entry cites RFC 8032. NextSSL lists it in the unverified tier and exposes it through the root API only (NextSSL(root=True) in Python, nextssl_root_* in C).
Overview
EdDSA is a Schnorr-style signature scheme on twisted Edwards curves designed for speed, simplicity and resistance to implementation pitfalls. Ed25519 is the most common modern choice for classical signatures.
EdDSA derives the per-signature nonce deterministically by hashing a secret key prefix with the message, eliminating the random-nonce failures that have plagued ECDSA. Edwards curves have complete addition formulas, which simplifies constant-time implementation, and the encoding of points and scalars is fully specified, so implementations interoperate byte for byte. It also avoids the malleability of ECDSA when verifiers enforce canonical encodings.
Ed25519 uses the Edwards form of Curve25519 with SHA-512 and gives about 128-bit classical security, with 32-byte public keys and 64-byte signatures. Ed448 uses the Edwards448 (Goldilocks) curve with SHAKE256 for about 224-bit security, with 57-byte keys and 114-byte signatures. Ed448ph is the pre-hashed variant, which signs a SHAKE256 digest of the message and suits streaming large inputs. EdDSA is specified in RFC 8032 and approved for US federal use in FIPS 186-5.
History
2011–2023Ed25519 published by Bernstein, Duif, Lange, Schwabe and Yang
EdDSA specified in RFC 8032
EdDSA approved in FIPS 186-5
How it works
- KeyGen hashes a 32- or 57-byte seed; half becomes the secret scalar a, the other half a nonce prefix; A = aB is the public key.
- Sign computes r = H(prefix || M), R = rB, and k = H(R || A || M).
- The signature is (R, S) with S = r + k*a mod L.
- Verify checks that S*B equals R + k*A.
Security notes
Not post-quantum. Deterministic nonces make it vulnerable to fault attacks in some hardware settings, and implementations differ on validation rules (cofactor handling, non-canonical encodings), which matters for consensus systems. Ed448ph in NextSSL is not yet verified.
Typical uses
Sizes
| Field | Bytes | Meaning |
|---|---|---|
| pk | 57 | Public key |
| sk | 57 | Secret key |
| sig | 114 | Signature |
| seed | 57 | Seed |
| ctx | 0 – 255 | Context string |
Use it
from nextssl_demo import NextSSL
root = NextSSL(root=True) # tier 'unverified' is reachable from the root API only
pk, sk = root.call("sign_keygen", "ed448ph", None, outs=2)
sig = root.call("sign_detached", "ed448ph", None, sk, b"message", b"")[0]
ok = root.check("verify_detached", "ed448ph", None, pk, b"message", b"", sig)
nextssl_root_sign_keygen("ed448ph", NULL, pk, sk);
nextssl_root_sign_detached("ed448ph", NULL, sk, msg, ctx, sig);
nextssl_root_verify_detached("ed448ph", NULL, pk, msg, ctx, sig);
use nextssl_core::Params;
use nextssl_registry::{self as reg, Policy};
let alg = reg::new_sign_in(reg::all(), Policy::Any, "ed448ph", &Params::new())?;
let (pk, sk) = alg.keygen(&mut *rng)?;
let sig = alg.sign(&sk, b"message")?;
let ok = alg.verify(&pk, b"message", &sig)?;
Calls follow the NextSSL C ABI and its language bindings. Buffer sizes are validated against the sizes above.
Other EdDSA variants
2More digital signatures
All 503Frequently asked questions
What is Ed448ph?
Ed448ph is a signature in the EdDSA family. EdDSA is a Schnorr-style signature scheme on twisted Edwards curves designed for speed, simplicity and resistance to implementation pitfalls.
What are the Ed448ph sizes?
In NextSSL, Ed448ph uses: public key 57 bytes, signature 114 bytes.
Is Ed448ph post-quantum?
No. Ed448ph is a classical signature based on elliptic curves or discrete logarithms, which a large quantum computer running Shor's algorithm could break. For post-quantum use, look at ML-DSA or SLH-DSA.
Who designed Ed448ph and when?
Ed448ph belongs to the EdDSA family, first published in 2011 by Daniel J. Bernstein, Niels Duif, Tanja Lange, Peter Schwabe, Bo-Yin Yang. Its origin: RFC 8032, FIPS 186-5.
Which standards define Ed448ph?
Ed448ph is referenced by RFC 8032.
Is Ed448ph safe to use?
Ed448ph is in the unverified tier. Source found and wired, correctness not fully proven. Root API only. It is only reachable through the root API (NextSSL(root=True) in Python, nextssl_root_* in C).
What other EdDSA variants are there?
NextSSL also registers ed25519, ed448 in the EdDSA family.
Related families
The NIST Merkle–Damgård hash family behind most of today's TLS, signatures and software
ECDH (including X25519 and X448)Elliptic-curve Diffie-Hellman key agreement on NIST curves, Curve25519 and Curve448
ECDSAElliptic Curve Digital Signature Algorithm on NIST curves and secp256k1
ML-DSANIST's primary post-quantum signature scheme, standardised in FIPS 204
Schnorr signatures (BIP 340)Bitcoin's x-only Schnorr signatures on secp256k1, introduced with Taproot
SHAKEThe extendable-output functions of FIPS 202, producing any length of output from Keccak