Guides

Hybrid post-quantum TLS.

Hybrid TLS runs a classical key exchange and a post-quantum one together and combines the results. An attacker has to break both. It is the first change most organisations make, and the one that stops recorded traffic being read later.

Last reviewed by Mokshya AI Labs.

How it works

Two exchanges, one key.

In a TLS 1.3 handshake the client and server each contribute to a shared secret. In a hybrid handshake they do this twice at once: with X25519, an elliptic-curve exchange in use for years, and with ML-KEM-768, the post-quantum algorithm NIST standardised as FIPS 203. The two results are combined into the session key.

The combination is commonly written X25519MLKEM768. If ML-KEM were found to be weak, the connection would still be as strong as X25519 is today. If a quantum computer breaks X25519, ML-KEM still protects the connection.

What you need

Three requirements.

TLS 1.3

Hybrid key exchange is defined for TLS 1.3. Services still limited to TLS 1.2 need upgrading first.

A library that supports it

Current releases of OpenSSL (3.5 and later), BoringSSL, AWS-LC, Go and rustls include it. Many CDNs and load balancers offer it as a setting.

Clients that offer it

The major browsers already do. Other clients, such as mobile apps and backend services, depend on the library they were built with.

What can go wrong

The handshake gets bigger.

An ML-KEM-768 public key is 1,184 bytes, where an X25519 key is 32. The first message of the handshake no longer fits in a single network packet. Most equipment handles that correctly. Some older firewalls, proxies and load balancers do not, and connections fail or stall.

This is why a rollout is tested route by route before it is switched on everywhere, and why a way back is prepared in advance.

What it leaves

What hybrid TLS does not change.

Your certificates

The server still proves its identity with an RSA or ECDSA certificate. That is acceptable for now, because a signature only has to hold at the moment of connection.

Everything outside TLS

VPNs, SSH, stored keys, signed software and data at rest each need their own attention. TLS is the first step, not the whole migration.

FAQ

Common questions

Is hybrid TLS standardised?

ML-KEM is a final NIST standard. Its use in TLS 1.3 hybrid key exchange is specified by the IETF and is already deployed at very large scale by browsers and networks.

Why not use ML-KEM on its own?

It can be, and some national-security guidance prefers that. Most organisations choose hybrid because the post-quantum algorithms are newer, and hybrid means a flaw in either one alone does not expose traffic.

How do I check whether my site supports it?

Run the free readiness scan. It offers only post-quantum hybrid groups to your server and reports whether the handshake succeeds.

Start with your own grade.

The free scan shows what the outside world can see of your cryptography.