Hybrid key exchange
A key exchange that combines a classical algorithm with a post-quantum one, so that an attacker has to break both. X25519MLKEM768 in TLS and mlkem768x25519-sha256 in SSH are the deployed forms.
Hybrid key exchange combines a classical and a post-quantum algorithm in one handshake, so that an attacker needs two unrelated breakthroughs to recover the session key. It matters because nobody knows which half would fail first. If lattices lose their margin, the elliptic curve still protects the session. If a quantum computer arrives, the lattice half does. A recorded session stays sealed unless both halves fall.
The form deployed in TLS 1.3 is X25519MLKEM768. It runs an X25519 elliptic-curve exchange and an ML-KEM-768 lattice key encapsulation side by side, joins the two shared secrets end to end and feeds the result into the usual TLS 1.3 key derivation. It was standardized as RFC 10024 in August 2026. The SSH equivalent is mlkem768x25519-sha256, the default key exchange in OpenSSH since version 10.0. The cost is size. An ML-KEM-768 public key is 1,184 bytes and its ciphertext 1,088 bytes, against 32 bytes for an X25519 value, so the first message no longer fits in one network packet and some older servers and middleboxes fail on it.
Turn it on at every edge you control, then verify it instead of trusting defaults. Current browsers, OpenSSL 3.5 and newer, and OpenSSH 10 negotiate the hybrid without configuration, while a load balancer policy set years ago may not offer it. To test a site, connect with openssl s_client from OpenSSL 3.5 or newer and offer only that group with the option -groups X25519MLKEM768. For SSH, run ssh -v and look for mlkem768x25519-sha256 in the line that reports the key exchange. Hybrid key exchange protects confidentiality only. Certificates and signatures are a separate migration.
Frequently asked questions
What is hybrid key exchange?
Hybrid key exchange runs a classical key exchange and a post-quantum one in the same handshake and combines both results into the session key. An attacker has to break both algorithms to read the session. X25519MLKEM768 in TLS 1.3 and mlkem768x25519-sha256 in SSH pair the X25519 elliptic curve with the ML-KEM-768 lattice scheme.
Why use a hybrid instead of ML-KEM alone?
Because the post-quantum half is younger. ML-KEM rests on lattice problems studied seriously for about fifteen years, and in 2026 an AI system cut the security margin of HAWK, an undeployed lattice signature candidate. A hybrid keeps the session safe if either half is weakened. Regulators differ: France requires hybrids, and the US National Security Agency prefers pure post-quantum algorithms.
How widely is hybrid key exchange deployed?
Widely for web traffic. Cloudflare reported in April 2026 that over 65% of human traffic reaching it used post-quantum key exchange. On 29 November 2026 I measured 72 well-known services, and 54 negotiated X25519MLKEM768. Authentication is the opposite story: no post-quantum certificate is publicly trusted.
Source analyses
References
- RFC 10024: X25519MLKEM768 hybrid key agreement for TLS 1.3 (August 2026)
- RFC 10042: ML-KEM hybrid key exchange for SSH, including mlkem768x25519-sha256 (August 2026)
- Cloudflare: post-quantum roadmap and share of traffic (7 April 2026)