EN

Is Ed25519 quantum safe?

Ed25519 is the fast, modern signature scheme behind Solana, Cardano, SSH keys and more. It's excellent against classical attackers, and just as vulnerable as ECDSA to a large quantum computer.

Updated 2 min read4 sources
Short answer

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

SystemEd25519 useExposure
SolanaAll accountsAddress is the public key
CardanoPayment and stake keysHashed until used
XRP LedgerOptional key typeHashed until first transaction
MoneroCurve25519 keysKeys embedded in address
Toncoin, Algorand, StellarAccount keysExposed
SSH, Signal, WireGuardAuthentication / key exchangeMigrating 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

  1. Shor (1994): Polynomial-time algorithms for prime factorization and discrete logarithms on a quantum computer
  2. Roetteler et al. (2017): Quantum resource estimates for computing elliptic curve discrete logarithms
  3. NIST (Aug 2024): First 3 finalized post-quantum encryption standards (FIPS 203, 204, 205)
  4. Cointelegraph: Solana introduces post-quantum Falcon signatures on two validator clients