kemspotter Check a site

Learn Lesson 5 of 5 about 4 minutes

Two locks on one door

How the new exchange is being added without removing the old one

  1. Lesson 1: Two strangers, one secret
  2. Lesson 2: A machine that hears the rhythm
  3. Lesson 3: Recorded today, read later
  4. Lesson 4: A new kind of hard problem
  5. Lesson 5: Two locks on one door
In one sentence

The web is adding the new lock beside the old one, so an attacker has to break both.

Lattice cryptography is young compared with what it replaces, and a mistake in it would be expensive. So the web is adding it without taking anything away. A hybrid key exchange runs the old exchange and the new one side by side and stirs both results into the session key. To read the traffic an attacker has to break both.

Try thisBreak either lock and see whether the session key survives.

X25519

elliptic curve, published in 2006

holding

ML-KEM-768

lattice, standardised in 2024

holding

The session key

made from both secrets together

safe

Both locks are holding. Break either one and see what happens to the key.

A hybrid exchange fails only if both of its halves fail.

The combination nearly everything has settled on is named X25519MLKEM768, after its two halves. It became an internet standard in August 2026 as RFC 10024.

The price is size. A classical key share is 32 bytes. The hybrid one is 1,216 bytes on the way out and 1,120 on the way back, which usually pushes the first message of a connection into a second packet. That is the whole visible cost.

Key shares drawn to scale, one square for every eight bytes. The lattice half is what makes the hybrid share thirty-eight times the size of the classical one.

Browsers have offered the hybrid by default since late 2024. A server has to answer in kind, and that is the half still in progress.

Where the hybrid exchange is switched on without anyone asking
SoftwareSinceWhat it takes
Chrome and Edgeversion 131, November 2024nothing, on by default
Firefoxversion 132 on desktopnothing, on by default
Safari and Apple systemsthe 26 releases, September 2025nothing, according to press reports
OpenSSL3.5, April 2025nothing, unless a list of groups was pinned by hand
Go1.24, February 2025nothing, unless CurvePreferences is set
Caddy2.10, April 2025nothing, on by default
nginx, Apache, HAProxywhen built against OpenSSL 3.5one line of configuration, shown on the download page

What to remember

  • Hybrid means old and new together, so both have to be broken.
  • The usual pairing is X25519MLKEM768, standardised as RFC 10024.
  • The cost is a bigger first message.
  • Browsers have it switched on. Servers are the half still in progress.

Words used here: hybrid key exchange, X25519, ML-KEM, key share, group.