What ML-KEM Is Used For
ML-KEM establishes shared secrets, not signatures. It is already protecting a large share of web traffic in hybrid mode. This article explains the KEM model, where it fits in Web3 systems, and where it does not.
- Reading time
- 7 min read
- Last reviewed
- 1 Oct 2026
KEM, not key exchange
A key-encapsulation mechanism has three operations. The recipient generates a key pair. A sender runs encapsulation against the recipient's public key and obtains two things: a ciphertext to transmit and a shared secret to keep. The recipient runs decapsulation on the ciphertext with their secret key and recovers the same shared secret.
This is a slightly different shape from Diffie–Hellman, where both sides contribute a public value symmetrically. In a KEM the sender does not need their own long-term key, and the ciphertext is tied to a specific recipient key. Protocols that were built around Diffie–Hellman need small adjustments to use a KEM, which is why TLS and messaging protocols defined explicit hybrid constructions.
ML-KEM parameters
ML-KEM (FIPS 203) offers three parameter sets. ML-KEM-512, ML-KEM-768 and ML-KEM-1024 target NIST categories 1, 3 and 5. ML-KEM-768 is the common default: a 1,184-byte public key, a 1,088-byte ciphertext and a 32-byte shared secret. Operations are fast, typically well under a millisecond in optimised native code.
Where it is deployed today
Hybrid key exchange combining X25519 with ML-KEM-768 is enabled by default in major browsers and supported by large CDNs, which means a significant fraction of HTTPS connections already use post-quantum key establishment. Messaging protocols such as Signal's PQXDH and Apple's iMessage PQ3 add ML-KEM alongside classical curves.
These deployments share a pattern: they protect confidentiality against harvest-now-decrypt-later, they are hybrid, and they did not require changing the identity or signature layer.
Where it fits in Web3 systems
Blockchains do not use key exchange for consensus, so ML-KEM does not change how transactions are authorised. It is relevant to the surrounding system: wallet-to-dApp channels, encrypted backups, private messaging between parties, RPC transport and any place a long-lived secret is negotiated over a network.
A useful exercise is to list every encrypted channel or stored secret in a product and ask whether its confidentiality must hold for years. Those are the candidates for a hybrid KEM first.
What a KEM does not do
ML-KEM provides no authentication. Decapsulating a ciphertext produced for a different public key does not fail; it simply yields a different secret. Authentication must come from a signature scheme or an authenticated channel. The Sycamore playground demonstrates this by comparing the two shared secrets explicitly.
Practical implication
- Inventory every place your product negotiates a shared secret over a network or stores an encrypted secret.
- Prefer hybrid constructions already specified by standards bodies rather than designing your own combiner.
- Remember that KEMs do not authenticate; pair them with signatures or an authenticated transport.
Limitations
- This article does not cover protocol-level details such as ciphertext binding and key confirmation, which matter when integrating a KEM into a new protocol.
- Deployment statistics change rapidly; consult current browser and CDN publications for present figures.
Sources
- [1]FIPS 203: Module-Lattice-Based Key-Encapsulation Mechanism Standard(opens in a new tab) — NIST
- [2]Hybrid key exchange in TLS 1.3 (IETF draft)(opens in a new tab) — IETF TLS Working Group
- [3]X-Wing: general-purpose hybrid post-quantum KEM (IETF draft)(opens in a new tab) — IETF CFRG
- [4]The PQXDH Key Agreement Protocol(opens in a new tab) — Signal
Related articles
Classical Cryptography vs Post-Quantum Cryptography
Post-quantum cryptography runs on today's computers but rests on mathematical problems that quantum algorithms are not known to solve efficiently. Here is how the two families compare in practice.
- Reading time
- 8 min read
- Last reviewed
- 1 Oct 2026
Planning a Cryptographic Migration
A migration plan turns readiness from an intention into a schedule. This article offers a phased structure, inventory and prioritisation methods, and the questions that decide sequencing.
- Reading time
- 10 min read
- Last reviewed
- 1 Oct 2026
Solana Transaction Authorization Today
To reason about what post-quantum migration would mean for Solana, it helps to know precisely how a transaction is authorised now. This article describes the signature model, size limits and program-controlled accounts.
- Reading time
- 8 min read
- Last reviewed
- 1 Oct 2026