Skip to content
Vibe Math Lab.

Explainer ·

What is ML-KEM? The lock built to survive quantum computers, in plain words

ML-KEM is the method that browsers and messaging apps have started using so that a secure connection stays secret even if someone, years from now, owns a powerful quantum computer. It handles one job, the moment two devices agree on a secret key, and NIST, the US standards agency, published it as a standard in August 2024.

It is in the news because Anthropic is reported to be about to announce a result affecting it, which the Guardian describes as a quantum algorithm. Nothing has been published yet.

The sections below explain how the lock works with a picture, where it is already in use, and what an attack that needs a quantum computer would mean for ordinary people.

I'm Tyler Orden, an independent researcher who does mathematics with AI agents. My research record is at Cyborg Mathematics.

Two steps in every secure connection

When a phone opens a banking app or a browser loads a site with a padlock icon, two things happen. First the two sides agree on a secret key, a long random number that only they know, even though everything they send can be overheard. Then they use that key with a fast cipher, usually AES, to scramble everything else they say.

Picture two strangers at opposite ends of a crowded room who need to agree on a combination for a safe, by shouting. The first step is the clever trick that lets them do it without the eavesdroppers learning the combination. The second step is the safe itself. ML-KEM is a new way to do the first step. AES, the safe, stays as it is.

Why the old trick has an expiry date

For decades the first step has used RSA or elliptic curves, two methods built on math problems that ordinary computers cannot solve in any useful time. A large quantum computer, a machine that computes with the strange rules of atoms, could solve both quickly using a method found in 1994 called Shor's algorithm. No quantum computer large enough exists yet. But anyone can record encrypted traffic today and keep it until one does. Security people call this "harvest now, decrypt later", and it is the reason the switch began years before the machines arrive.

How ML-KEM works, as a picture

Imagine being handed a page of simple sums, such as "three times the first secret number plus five times the second", each with its answer, and asked to find the secret numbers. With exact answers, a schoolchild could solve them step by step. Now suppose each answer has been nudged up or down by a small random amount. The nudges spread through every step of the working, and with hundreds of secret numbers the problem becomes hopelessly hard, as far as anyone has shown so far, for ordinary computers and quantum computers alike. That puzzle, "learning with errors", is what ML-KEM's security rests on.

The geometry behind it is a lattice: a regular grid of points, like the corners of floor tiles, extended into hundreds of dimensions. Finding the grid point nearest to a given spot is easy on a floor and very hard in hundreds of dimensions. ML-KEM uses a lattice with extra symmetry, a "module lattice", because the symmetry makes keys small and fast to use. Its name spells this out: Module-Lattice-based Key-Encapsulation Mechanism. The extra symmetry is also exactly the kind of structure a clever attack might try to exploit, and that is why the reported result matters to specialists.

ML-KEM grew out of a design called Kyber, which won a public competition NIST ran for its replacement standards. Researchers around the world spent years trying to break the entrants; one of them, a different candidate lock called SIKE, was broken in 2022 and dropped. NIST published ML-KEM on August 13, 2024, in a standards document called FIPS 203, in three sizes, ML-KEM-512, ML-KEM-768 and ML-KEM-1024, and it recommends the middle one as the default.

Where it is already in use

Almost always it is used together with an older elliptic-curve method, as a "hybrid", so that a connection stays secret as long as either method holds. Some examples, each from the company's own announcement:

  • Google Chrome, from version 131 (late 2024), uses a hybrid of ML-KEM and the elliptic-curve method X25519 when a website supports it.
  • Signal added a post-quantum step based on Kyber in September 2023, and in October 2025 described a further upgrade using ML-KEM.
  • Apple's iMessage moved to a protocol it calls PQ3, using Kyber alongside elliptic curves, starting with iOS 17.4 in 2024.
  • OpenSSH, the standard tool for logging in to remote servers, has used a hybrid of ML-KEM and X25519 by default since version 10.0 in April 2025.

What a quantum attack on ML-KEM would mean for ordinary people

If the reported result is a quantum algorithm, it would need a large quantum computer to run, and none exists. Nothing sent today could be opened with it today. A hybrid connection also keeps its elliptic-curve half, which ordinary computers cannot break.

The concern is the future. ML-KEM was added so that recorded traffic would stay safe once quantum computers exist. Against such a machine the elliptic-curve half falls anyway, so a working quantum attack on ML-KEM would leave recordings made now without the protection they were meant to have. That matters most for secrets that must last for decades, such as medical, legal or state records. The people who would respond are standards bodies, browser makers and app developers. For everyone else, any change arrives as a normal software update, so the one useful step is to keep automatic updates turned on.

A few things would stay as they are. RSA, the older lock, is not involved by either news report. AES and the other ciphers that do the actual scrambling are a different kind of method and are not affected. Passwords, passkeys and two-factor codes work the same as before.

How to read the next few days

A real announcement would name the scheme and sizes it affects, say whether the method needs a quantum computer, and give its cost. Then other cryptographers check it, which can take days or longer; in April 2024 a quantum attack on a close relative of ML-KEM's puzzle, claimed by the researcher Yilei Chen, was found to contain a bug eight days after it was posted, and he withdrew the claim. The news item will be updated as this happens. For the mathematics, see ML-KEM and Module-LWE, technically; for the older locks, Is RSA-2048 broken?; and for the general picture of breaks and disclosure, What would a cryptographic break mean?

These pages are about a reported result from Anthropic. I use Claude, Anthropic's AI model, for my own research. I do not work for Anthropic.

Short answers

What is ML-KEM?

A method for two devices to agree on a secret key, designed to stay secure against quantum computers. NIST published it as the standard FIPS 203 on August 13, 2024. It grew out of a design called Kyber.

What does ML-KEM stand for?

Module-Lattice-based Key-Encapsulation Mechanism. Its security rests on a puzzle about noisy equations over a structured lattice, called Module Learning with Errors.

Who uses ML-KEM?

Chrome (from version 131), OpenSSH (by default from version 10.0) and Signal use ML-KEM or its predecessor Kyber, usually together with an elliptic-curve method; Apple's iMessage PQ3 uses Kyber.

Would a quantum attack on ML-KEM affect me now?

No. It would need a large quantum computer, which does not exist. It would matter for traffic recorded now and decrypted later, once such a machine exists.

Did this make sense?

Was this helpful?

Share this page