ML-KEM

ML-KEM (Module-Lattice-Based Key-Encapsulation Mechanism) is the main standard for post-quantum key exchange, published by NIST as FIPS 203 in August 2024. It grew out of the algorithm CRYSTALS-Kyber. Its security rests on Module-LWE, a hard problem on lattices that no known quantum algorithm solves at real sizes.

How a KEM works

A key-encapsulation mechanism does not encrypt your data. It agrees on a fresh secret between two sides, which then encrypts the data with a fast cipher such as AES:

  1. Alice makes a key pair and sends the public (encapsulation) key.
  2. Bob uses it to make a random 32-byte shared secret and a ciphertext that wraps it. He sends the ciphertext.
  3. Alice unwraps the ciphertext with her private (decapsulation) key and gets the same 32-byte secret.

Sizes

Parameter setNIST categoryPublic keyCiphertext
ML-KEM-5121 (like AES-128)800 bytes768 bytes
ML-KEM-7683 (like AES-192)1,184 bytes1,088 bytes
ML-KEM-10245 (like AES-256)1,568 bytes1,568 bytes

That is much larger than X25519, whose public key has 32 bytes, but still small enough for a TLS handshake. ML-KEM-768 is the common choice.

Where you meet it

Mostly in hybrid form with X25519, as X25519MLKEM768 in browsers and at Cloudflare, and as mlkem768x25519-sha256, the default key exchange of OpenSSH since version 10.0.

Is ML-KEM broken?

No. In November 2026 Anthropic published a quantum algorithm that is faster than earlier methods only for sizes far beyond ML-KEM. Outside reviewers estimated that even 21000 quantum operations would not be enough against ML-KEM-512, and recommended to keep migrating. Details: Did AI break encryption?

Searches the list of pages on this site. What you type stays in your browser.