X25519MLKEM768 explained: the hybrid post-quantum key exchange in TLS 1.3
On this page
Short answer: X25519MLKEM768 is a TLS 1.3 key-exchange group that runs two key agreements at once: ML-KEM-768, the post-quantum KEM standardized in FIPS 203, and classical X25519. Both shared secrets go into the TLS key schedule, so an attacker has to break both to read the traffic. It is the default first choice in Chrome, Edge, Firefox, OpenSSL 3.5, Go 1.24+ and JDK 27, and the group most "post-quantum TLS" migrations mean today.
How it works
In a normal TLS 1.3 handshake the client sends an X25519 public key in its key_share, the server answers with its own, and both derive the same secret. With X25519MLKEM768:
- The client sends an ML-KEM-768 encapsulation key (1,184 bytes) concatenated with an X25519 public key (32 bytes).
- The server encapsulates against the ML-KEM key, producing a 1,088-byte ciphertext and a 32-byte secret, and adds its own X25519 public key (32 bytes).
- The client decapsulates the ciphertext to get the same ML-KEM secret and computes the X25519 secret as usual.
- The two 32-byte secrets are concatenated (ML-KEM first, then X25519) and used as the TLS 1.3 shared secret.
Nothing else in the handshake changes: certificates, signatures, cipher suites and session resumption are the same.
At a glance
| IANA codepoint | 0x11EC (4588) |
| Specified in | RFC 10024 (August 2026) |
| TLS versions | 1.3 only |
| Client key share | 1,216 bytes (vs 32 for X25519) |
| Server key share | 1,120 bytes |
| Shared secret | 64 bytes (ML-KEM ‖ X25519) |
| Sibling groups | SecP256r1MLKEM768 (0x11EB), SecP384r1MLKEM1024 (0x11ED) |
| Predecessor | X25519Kyber768Draft00 (0x6399), now retired |
Why hybrid instead of ML-KEM alone
ML-KEM is new. Its security rests on the module learning-with-errors problem, which has been studied for years but much less than elliptic curves. Hybrid key exchange hedges both ways:
- If a quantum computer breaks X25519, ML-KEM still protects the session.
- If someone finds a flaw in ML-KEM (or in a particular implementation), X25519 still protects the session against everyone without a large quantum computer.
That hedge is why NIST IR 8547 explicitly allows hybrid ("composite") key establishment in FIPS-validated modules as long as one component is approved, and why the December 2026 AI cryptanalysis news changes nothing about the recommendation to deploy hybrid now.
Performance and the ClientHello size
ML-KEM is fast: in optimized implementations, key generation, encapsulation and decapsulation each cost about the same or less CPU than an X25519 operation. The real cost is bytes. A ClientHello carrying a hybrid key share is roughly 1.2 KB larger, so it often no longer fits in one TCP segment or QUIC packet.
Standards-compliant servers don't care. Some middleboxes did: firewalls and TLS-inspecting proxies that assumed a ClientHello fits in one packet dropped or reset the connection. When browsers turned on hybrid key exchange in 2024, most of these were found and fixed. If hybrid-capable clients hang against one of your services while classical clients connect, look for such a device in the path.
Who supports it
| Software | Since |
|---|---|
| Chrome / Edge | Default since Chrome 131 (late 2024) |
| Firefox | Default on desktop |
| OpenSSL | 3.5 (April 2025): default key shares X25519MLKEM768 + X25519 |
Go crypto/tls | 1.24 default; 1.26 adds the P-256 and P-384 hybrids |
| Java (JSSE) | JDK 27, JEP 527, first in the default list |
| Node.js | Releases bundling OpenSSL 3.5 (current 22.x and 24.x) |
Python ssl | When linked to OpenSSL 3.5+; set_groups() in 3.15 |
| Cloudflare | Default for browser traffic; Radar reports over 70% of human HTTPS requests are post-quantum |
SecP256r1MLKEM768 and SecP384r1MLKEM1024
These combine ML-KEM with NIST curves instead of X25519, for environments where every component must be a FIPS-approved algorithm, or, for SecP384r1MLKEM1024, where CNSA 2.0's ML-KEM-1024 requirement applies. For everyone else X25519MLKEM768 is the default, and ML-KEM-768 is the parameter set NIST IR 8547 names as the recommended default.
Next steps
- Check your servers and clients: How to check if a server uses post-quantum TLS
- Turn it on: Go, Node.js, Python, Java, nginx and OpenSSL servers
FAQ
What is X25519MLKEM768?
A TLS 1.3 key-exchange group that runs ML-KEM-768 (FIPS 203) and X25519 side by side and feeds both shared secrets into the key schedule. An attacker must break both to recover the session keys.
Is X25519MLKEM768 the same as Kyber?
It is the standardized successor. Browsers first shipped X25519Kyber768Draft00 (codepoint 0x6399) and replaced it with X25519MLKEM768 (0x11EC) once FIPS 203 was final.
Does hybrid key exchange slow down TLS?
Barely in compute; ML-KEM is fast. The cost is size: the client key share is 1,216 bytes instead of 32, which can push the ClientHello over one packet and expose middleboxes that mishandle that.