Elliptic-curve Diffie-Hellman
X25519
Classical key agreement with no practical break in this record; a quantum migration plan is still needed.
Deployment assessment
Use with a migration plan
Viable for classical key agreement within an authenticated protocol; plan quantum migration.
- Intended use
- Authenticated key agreement.
- Conditions
- Follow the exact RFC 7748 function and protocol validation rules. Authenticate peers and derive keys; raw ECDH alone does neither. A hybrid combines distinct components.
- Compare next
- ML-KEM ↗
Guidance reviewed 19 Oct 2026. Deployment guidance and linked specification checked; this is not a new exhaustive cryptanalysis survey. How to read this assessment.
Cryptanalytic assessment
RFC 7748 defines X25519 over Curve25519 and X448 over a different curve. Correct implementations must follow the protocol's validation and key-derivation rules. A large fault-tolerant quantum computer would undermine both functions.
- Best known attack
- Pollard rho, about 2^126
- Quantum
- Quantum-vulnerable. A large fault-tolerant quantum computer running Shor's algorithm breaks it outright.
- Names and historical labels
- ECDH 25519
- Related, not interchangeable
- Curve25519 (underlying curve); X448 (separate key-agreement function)
Standards and construction references
Evidence for the verdict
- MilestoneBernstein publishes Curve25519Daniel J. Bernstein released Curve25519, a Montgomery curve over the prime 2^255-19 designed for fast, constant-time Diffie-Hellman using only x-coordinates. The paper appeared at PKC 2006; the first version is dated 2005-11-15.
- MilestoneRFC 7748 standardizes X25519 and X448The IRTF CFRG published RFC 7748 (Langley, Hamburg, Turner), specifying Curve25519 and Curve448 (~128- and ~224-bit security) and the X25519/X448 Diffie-Hellman functions, with parameters generated deterministically.
Case file
Every event on file that names X25519.
13 case files, newest first.
2020s
- MilestonePracticalMozilla reviews P-256 in certificate chains and plans a P-384 fallback for TLS
X25519MLKEM768 / P-384 / X25519 / P-256
- MilestoneStatus check: no known mathematical break of P-256, secp256k1 or Curve25519
P-256 / secp256k1 / Curve25519 / Ed25519 / P-384
- MilestoneGitHub retires SHA-1 SSH signatures and adds hybrid ML-KEM key exchange
SHA-1 / RSA-2048 / RSA-3072 / ML-KEM / X25519
- MilestonePracticalSignal adds post-quantum PQXDH handshake; SPQR ratchet follows in 2025
X25519 / Kyber-1024 / ML-KEM-768
- MilestonePracticalChrome begins shipping hybrid X25519Kyber768 key agreement
X25519 / Kyber-768 / ML-KEM-768
2010s
- MilestoneTLS 1.3 (RFC 8446) makes ephemeral (EC)DH mandatory
ECDHE / X25519 / P-256 / ECDSA / Ed25519
- MilestoneNIST opens public comment on its recommended elliptic curves
P-256 / P-384 / Curve25519 / Curve448
- MilestoneBernstein and Lange question the NIST curves; SafeCurves launched
P-224 / P-256 / P-384 / secp256k1 / Brainpool / Curve25519
- MilestoneNaCl codifies constant-time design: no secret branches, no secret indices
Curve25519 / Salsa20 / Poly1305 / Ed25519