No. Ed25519 is an elliptic-curve signature scheme (EdDSA on Curve25519). Its security rests on the elliptic-curve discrete logarithm problem, which Shor's algorithm solves efficiently on a large fault-tolerant quantum computer. Claims that Ed25519 is only weakened by Grover's algorithm are wrong. Post-quantum replacements include ML-DSA, SLH-DSA and Falcon.
Why Ed25519 falls to Shor's algorithm
An Ed25519 public key is a point on Curve25519: the private scalar multiplied by a fixed base point. Recovering the scalar from the point is the elliptic-curve discrete logarithm problem. Shor's algorithm (1994) solves it in polynomial time, and resource estimates for 256-bit curves apply to Curve25519 much as they do to Bitcoin's secp256k1 (Roetteler et al.).
Myth: “Ed25519 uses SHA-512, so it's only weakened by Grover.” The hash is used inside the scheme, but forging signatures only requires the private scalar, which Shor's algorithm recovers from the public key.
Where Ed25519 is used
| System | Ed25519 use | Exposure |
|---|---|---|
| Solana | All accounts | Address is the public key |
| Cardano | Payment and stake keys | Hashed until used |
| XRP Ledger | Optional key type | Hashed until first transaction |
| Monero | Curve25519 keys | Keys embedded in address |
| Toncoin, Algorand, Stellar | Account keys | Exposed |
| SSH, Signal, WireGuard | Authentication / key exchange | Migrating to hybrid post-quantum |
What replaces it
NIST's post-quantum signature standards, ML-DSA (FIPS 204) and SLH-DSA (FIPS 205), plus the upcoming FN-DSA (Falcon) (NIST). Solana's validator clients are testing Falcon because its signatures are compact (Cointelegraph).
Frequently asked questions
Is Ed25519 safer than secp256k1 against quantum computers?
No meaningful difference: both are 256-bit elliptic curves broken by Shor's algorithm with comparable resources.
Is X25519 (key exchange) quantum safe?
No, for the same reason. That's why browsers now combine X25519 with ML-KEM in hybrid key exchange.
Sources
- Shor (1994): Polynomial-time algorithms for prime factorization and discrete logarithms on a quantum computer
- Roetteler et al. (2017): Quantum resource estimates for computing elliptic curve discrete logarithms
- NIST (Aug 2024): First 3 finalized post-quantum encryption standards (FIPS 203, 204, 205)
- Cointelegraph: Solana introduces post-quantum Falcon signatures on two validator clients