Encryption Observer

Glossary The famous algorithms

Curve25519 (X25519 and Ed25519)

Curve25519 is a specific elliptic curve designed to be fast and hard to use wrongly. X25519 uses it to agree keys and Ed25519 uses it to make signatures.

Think of it like this

A lock design built so that a careless locksmith finds it hard to fit badly.

Inside a TLS 1.3 connectionNeeds a post-quantum replacementStays safeOnly the key exchange and the certificate signature need a post-quantum replacement.
  1. 1Agree a secret Both sides combine key shares to make a shared secret. Typical choice: X25519, now paired with ML-KEM The hybrid with ML-KEM fixes this.
  2. 2Prove identity The server signs the conversation so far with its certificate's key. Typical choice: ECDSA or RSA Post-quantum certificates are still to come.
  3. 3Derive keys The shared secret is stretched into separate keys for each direction. Typical choice: HKDF with SHA-256 or SHA-384 Hash-based, so barely affected by quantum computers.
  4. 4Encrypt and tag Every record is encrypted and given a tag that detects tampering, with a unique number per record. Typical choice: AES-GCM or ChaCha20-Poly1305 Phones without AES hardware often use ChaCha20.

Why it matters

Most secure web connections, messaging apps and SSH logins now start with X25519. It is the classic half of today's hybrid post-quantum key exchange.

Where you meet it

TLS in browsers, Signal and WhatsApp, SSH, WireGuard, and Apple and Google products.

Go deeper history and technical detail

Daniel J. Bernstein published Curve25519 in 2006. Its design avoids several pitfalls of older NIST curves, such as the need for special checks on incoming points, and its constants were chosen in an openly explained way, which mattered to many after the Dual_EC_DRBG affair. Like all elliptic curve cryptography, it would be broken by a large quantum computer running Shor's algorithm.

Related terms

Cite this page Encryption Observer, “Curve25519 (X25519 and Ed25519)”, encryption.observer/terms/curve25519/, checked December 2026.