Post-Quantum Cryptography and Encryption Field Guide
ML-KEM, Explained: Post-Quantum Key Exchange in Plain English
- WHAT IT IS
- Key exchange
- NIST FIPS 203
- REPLACES
- Diffie-Hellman
- the TLS handshake
- ALREADY LIVE
- In your browser
- Chrome 131, Firefox 132
- FOR YOUR WALLET
- Doesn’t sign it
- that’s ML-DSA / SLH-DSA
ML-KEM is NIST’s post-quantum standard (FIPS 203) for establishing a shared secret key over a channel anyone can read, the job classical Diffie-Hellman does today at the start of a secure connection. It’s the key side of the 2024 standards, not the signing side, and it’s rolling out first because of harvest-now-decrypt-later: an attacker can record your encrypted traffic today and decrypt it once a quantum computer exists, so confidentiality has a clock already running. It’s live in browsers now, usually paired with classical X25519 as a hybrid. ML-KEM protects what you send; it doesn’t sign your transactions, which is a separate post-quantum job.
Part of the Post-Quantum Cryptography and Encryption guide seriesWhat a KEM is
ML-KEM establishes a shared key that protects encrypted traffic. It doesn’t sign anything, so it isn’t what guards a wallet; that’s a post-quantum signature the chain adopts. See NIST’s PQC Standards Explained.
KEM stands for key encapsulation mechanism, which is a precise way of saying a method for two parties to end up sharing a secret key over a channel anyone can read. That shared key then feeds an ordinary cipher like AES, which does the encrypting.
It’s the job classical Diffie-Hellman and elliptic-curve key exchange do today, the handshake at the start of nearly every secure connection. ML-KEM is the post-quantum replacement for that key-establishment role, built so no known classical or quantum algorithm can efficiently recover the agreed key from what it sees on the wire.
How it works, without the math
How ML-KEM shares a secret
Receiver publishes a public key
Anyone can grab it.
Sender encapsulates
Runs ML-KEM with that public key, producing two things at once: a shared secret and a ciphertext.
Sender transmits the ciphertext
And keeps the secret. The secret itself never crosses the wire.
Receiver decapsulates
Combines the ciphertext with the matching private key to derive the very same secret.
Security rests on a lattice problem, Module Learning With Errors. An eavesdropper has the public key and the ciphertext but not the private key, and recovering the secret from those means solving that lattice problem, which has no known efficient attack, classical or quantum. Shor’s algorithm dismantles today’s key exchange; no comparable shortcut is known here.
Why it’s rolling out fast: harvest now, decrypt later
Signature migration is necessary too, and some long-lived signing keys need years of lead time, but harvest-now-decrypt-later is what pushed ML-KEM into network protocols so quickly. More in Harvest Now, Decrypt Later.
- Encryption
- record traffic today, decrypt it years later when a machine exists; confidentiality has a shelf life
- Signatures
- a forgery mostly helps once quantum computers are here; you can’t fake today’s transaction retroactively
- The upshot
- the recorded-traffic problem is the one with a clock already running
Already in your browser
ML-KEM isn’t a future plan. It’s live.
| Where | Detail |
|---|---|
| TLS hybrid | X25519MLKEM768 (ML-KEM-768 + classical X25519); secure if either holds |
| Chrome | finalized version since Chrome 131 |
| Firefox | on by default (desktop) from v132 |
| Standard | a formal TLS standard, written up in an IETF RFC (2026) |
| Libraries | OpenSSL and other mainstream libraries |
Much larger than the classical share, but well within what a modern handshake absorbs. The pairing with a well-studied classical scheme is deliberate: ML-KEM is young, so a break in ML-KEM alone doesn’t expose the key. An implementation bug or a botched combiner still could, which is why the hybrid is careful engineering rather than a promise.
- ML-KEM-768 public key
- 1,184 bytes
- Ciphertext
- 1,088 bytes
- vs X25519
- a 32-byte share
- Parameter sets
- ML-KEM-512, -768, -1024 (FIPS 203)
What it means for your wallet
You want both eventually, and they arrive on different timelines. ML-KEM turns up through browser and server updates you don’t see; a chain’s move to post-quantum signatures is a slower, more visible affair.
- ML-KEM
- protects the confidentiality of what you send (a browser link to an exchange or custodian
- Signatures (ML-DSA, SLH-DSA)
- protect the authenticity of what you sign
- Your coins
- a chain adopting a post-quantum signature, not a key-exchange upgrade
Harvest now, decrypt later makes encryption the migration with a running clock, and ML-KEM is the piece already going into place.
This article is educational and does not constitute security or investment advice.
// FAQ
What is ML-KEM?
NIST’s post-quantum standard (FIPS 203) for key encapsulation, a way for two parties to agree on a shared secret key over an open channel. That key then feeds an ordinary cipher like AES. It replaces classical Diffie-Hellman and elliptic-curve key exchange.
Is ML-KEM already in use?
Yes. It’s live in browsers as the TLS hybrid X25519MLKEM768, default in recent Chrome and Firefox, standardized in an IETF RFC, and supported in OpenSSL and other libraries. A given connection uses it only if the server supports it too.
Why is encryption being upgraded before signatures?
Harvest-now-decrypt-later. An attacker can record encrypted traffic today and decrypt it once a quantum computer exists, so confidentiality has a clock running now. A forged signature mostly helps after quantum computers arrive, since you can’t fake today’s transaction retroactively.
Why pair ML-KEM with a classical algorithm?
Because ML-KEM is young. Pairing it with the well-studied X25519 means a break in ML-KEM alone doesn’t expose the shared key. The trade-off is size: ML-KEM-768’s key and ciphertext are over 1 KB each versus 32 bytes for X25519, which a modern handshake absorbs easily.
Does ML-KEM protect my crypto wallet?
No. It secures the confidentiality of data in transit; it doesn’t sign anything. The signature that proves you own your coins is protected by post-quantum signature standards (ML-DSA, SLH-DSA) that the blockchain has to adopt.
// Sources
- NIST, FIPS 203 (ML-KEM) https://csrc.nist.gov/pubs/fips/203/final
- IETF, X25519MLKEM768 hybrid key exchange for TLS 1.3 https://datatracker.ietf.org/doc/draft-ietf-tls-ecdhe-mlkem/
- QNews, Harvest Now, Decrypt Later https://qnews.io/guides/q-day/harvest-now-decrypt-later-how-it-affects-crypto-specifically/
- QNews, NIST's PQC Standards Explained https://qnews.io/guides/post-quantum-cryptography/nists-pqc-standards-ml-kem-ml-dsa-slh-dsa-falcon-hqc-explained/
- QNews, Post-Quantum Cryptography: The Quantum Computing Threat, in Plain English https://qnews.io/guides/post-quantum-cryptography/post-quantum-cryptography-a-plain-english-guide-for-crypto-holders/