PLAIN QUANTUM
Search

What is ML-KEM?

  • Level: Intermediate
  • 4 min read
  • Quick answer
The short answer

ML-KEM is NIST's principal standardised post-quantum key-encapsulation mechanism, used to establish shared secret keys. NIST published it in August 2024 as FIPS 203. It does the job that elliptic-curve and RSA key exchange do today, letting two systems that have never met set up a shared secret over an open network, but it's designed to resist attacks by quantum computers as well as ordinary ones. It runs on ordinary computers; no quantum hardware is involved. For organisations, the practical task is to find where key establishment happens and check which systems and partners can support it.

What the name means

ML stands for module lattice, the family of mathematical problems it's built on. KEM stands for key encapsulation mechanism: one side uses the other's public key to produce two things, a fresh shared secret and a ciphertext to send across. Only the holder of the matching private key can use that ciphertext to recover the same secret. Both sides can then derive keys from the shared secret for fast symmetric encryption, such as AES. ML-KEM was developed from an algorithm called CRYSTALS-Kyber, which won NIST's open international competition.

Side A Side B 1. public key ML-KEM-768: 1,184 bytes 2. encapsulate ciphertext 1,088 bytes 3. decapsulate same shared secret same shared secret messages encrypted with AES Side A Side B 1. public key ML-KEM-768: 1,184 bytes 2. encapsulate ciphertext 1,088 bytes 3. decapsulate same shared secret same shared secret messages encrypted with AES
A key encapsulation mechanism in three steps. B uses A's public key to make a fresh secret and a ciphertext; only A's private key can open the ciphertext to get the same secret, so the secret itself is never sent. In a web connection A is your browser and B the server; both then derive keys for symmetric encryption, such as AES, from the secret. ML-KEM doesn't encrypt the message or prove who sent it. Today's elliptic-curve exchange has no ciphertext: each side sends a public value and combines the other's with its own private value.

How it compares with today's key exchange

ML-KEM's messages are over 30 times X25519's Bytes sent each way, drawn to scale Browser to server 32 X25519 1,184 ML-KEM-768 Server to browser 32 X25519 1,088 ML-KEM-768 0 500 1,000 public key or value ciphertext Sources: FIPS 203; RFC 7748 (X25519) ML-KEM's messages are over 30 times X25519's Bytes sent each way, drawn to scale Browser to server X25519 32 ML-KEM-768 1,184 Server to browser X25519 32 ML-KEM-768 1,088 0 500 1,000 public key or value ciphertext Sources: FIPS 203; RFC 7748 (X25519)
The main cost is size. Setting up one key with ML-KEM-768 sends a 1,184-byte public key one way and a 1,088-byte ciphertext back; X25519 sends a 32-byte public value each way. For most web traffic an extra kilobyte barely matters; for card chips and tight message formats it needs testing.
Elliptic curve (X25519)ML-KEM-768
SpeedFastAlso fast
Resists a quantum computerNo: broken by Shor's algorithmDesigned to
Apart from size, the practical difference is quantum resistance.

FIPS 203 defines three parameter sets, ML-KEM-512, ML-KEM-768 and ML-KEM-1024, trading size for security margin. ML-KEM-768 is the common middle choice. NIST's FIPS 203 page also lists errata, including a correction planned for a future revision, so implementers should check it.

Where it's used already

Most early deployments use a hybrid: ML-KEM combined with a traditional method, most commonly X25519, so that, when correctly negotiated and implemented, a connection stays secure as long as either one holds. Major browsers and large networks switched hybrid key establishment on by default during 2024 and 2025. A connection only gets that protection when both ends support it and agree to use it, so coverage depends on servers, apps and corporate networks catching up.

ML-KEM is the main fix for harvest now, decrypt later. When it's correctly implemented and actually negotiated, alone or in a hybrid, recorded traffic is designed to stay protected against future quantum attacks. That depends on the whole protocol and implementation, not the algorithm alone.

What ML-KEM doesn't do

  • Signatures. Proving who sent something is a different job, handled by ML-DSA (FIPS 204) and SLH-DSA (FIPS 205).
  • Encrypting bulk data. That stays with symmetric algorithms like AES.
  • Guarantees forever. Like all cryptography, it remains under public analysis. That's why NIST selected HQC in 2025 for standardisation as a backup built on different mathematics, with a final standard expected around 2027, and why crypto-agility matters.

Common confusions

  • "ML-KEM is quantum cryptography." No. It's ordinary software. Quantum cryptography, such as quantum key distribution, is a different thing.
  • "Hybrid is a NIST standard." The individual algorithms are standardised; how to combine them is covered by transition guidance and internet standards.
  • "Kyber and ML-KEM are identical." ML-KEM is the standardised version, with small changes from the competition entry, so implementations should target FIPS 203.

Where this comes up

Sources and further reading

Tags show the kind of source (how sources are chosen and checked). The original source list was checked on 12 October 2026. The RFC 7748 reference was added on 26 November 2026.

  1. StandardFIPS 203: Module-Lattice-Based Key-Encapsulation Mechanism Standard (ML-KEM)NIST, 2024
  2. Informational RFCRFC 7748: Elliptic Curves for SecurityA. Langley, M. Hamburg and S. Turner, IRTF, 2016
  3. StandardNIST releases first 3 finalized post-quantum encryption standardsNIST, 2024
  4. StandardNIST selects HQC as fifth algorithm for post-quantum encryptionNIST, 2025
  5. Company announcementProtecting Chrome traffic with hybrid Kyber KEMChromium blog, 2023
  6. Company announcementThe state of the post-quantum InternetCloudflare, 2024

Written by Muhammad Atif · Reviewed 26 November 2026 · Report a correction