My Thoughts After a Week of Quantum Jitters All Over the Place
While rumors about Anthropic’s recent papers on lattice cryptography [1] were still swirling, friends and colleagues started texting and emailing me all at once. “Crazy times we live in,” read one message. Others asked what I made of the whole thing. In an email to me, our CEO said, “There are jitters all over the place.”
For almost two years, my mentor Prof. Emlyn Hughes and I have been speaking with organizations about adopting post-quantum cryptography (PQC), which is designed to resist attacks by future quantum computers. In the immediate aftermath of Anthropic’s results, my mind is fixed on two questions. How can one differentiate a real advance in cryptography and/or cryptanalysis from the hype around it? And if a result someday does put a cryptographic scheme at risk, how quickly can one replace it?
What Anthropic found
Using unreleased Claude models, Anthropic found new quantum algorithms for solving certain versions of the Ring Learning With Errors (RLWE) and Module Learning With Errors (MLWE) problems. These computationally challenging problems ask whether you can recover a secret message from a set of linear equations deliberately corrupted with small random errors. They’re related to the mathematics behind two PQC standards approved by the National Institute of Standards and Technology (NIST): ML-KEM and ML-DSA [2]. ML-KEM helps two parties establish a shared secret for encryption. ML-DSA lets them create and verify digital signatures.
Two numbers matter here. The “ring degree” n tells you how many coefficients you use to write down one element of the underlying polynomial ring. The “module rank” k counts how many independent basis vectors the lattice has when you use those ring elements as coefficients. Anthropic’s result is about what happens when n grows and k stays fixed. Their algorithm starts with a set of noisy equations and tries to recover the secret encoded in them. Each such set is a problem instance. The input length is the number of bits needed to characterize the equations the algorithm is given. For the problem instances covered by their results, the runtime is bounded by an expression of the form n[poly(k) log(n)], up to factors polynomial in the input length. For fixed module rank k, this is a quasi-polynomial upper bound in the ring degree n. Since the exponent of the complexity bound grows polynomially with k, increasing the module rank can make the computation much more expensive [3].
Thus, ML-KEM and ML-DSA can use larger module dimensions for higher security levels. At the parameter sizes used today, Anthropic’s method requires far more quantum computation to solve the module-lattice learning with errors problem than it takes to factorize large numbers into their prime factors. RSA and elliptic-curve cryptography (ECC) rely on the classical difficulty of performing the latter task. The Cryptography Incident Review Group estimated that even an astronomically high number of 21000 quantum operations would fall far short of what this method would require to break ML-KEM-512 and ML-DSA-44, the smallest standardized parameter sets [3].
Anthropic’s papers represent a significant theoretical advance in the space of cryptography, but they do not provide a practical implementation of how one could use their method to break ML-KEM or ML-DSA using near-term quantum computers. In contrast, the quantum risk to RSA and ECC is already well understood; a sufficiently capable (near-term) quantum computer running an appropriate variant of Shor’s algorithm could solve the mathematical problems underlying them. ML-KEM and ML-DSA remain much stronger choices against known quantum attacks.
All this being said, quantum attacks against RSA and ECC aren’t even what worry me most anymore. Given how quickly artificial intelligence (AI) is helping researchers find new approaches to cryptanalysis, we may not even have to wait for fault-tolerant quantum computers. What if AI helps someone find a way to break RSA or ECC on a classical computer first?
Why I’d keep moving on PQC
On December 2, the U.S. National Security Agency (NSA) urged owners, operators, and vendors of U.S. National Security Systems to accelerate their transition to PQC immediately. The NSA said [4], “Frontier SI companies have engaged with the U.S. government to responsibly disclose recent discoveries that impact the security of some cryptographic systems currently in use.” (Super Intelligence (SI) is the federal executive branch’s term for AI.) The advisory leaves the specific systems unnamed. In a separate joint statement that day, federal agencies said their assessment was that recent AI advances posed no immediate, widespread threat to cryptography in use [5].
In response to the NSA’s ominous advice resulting from AI-driven cryptanalytic advances, some folks have started referring to the PQC algorithms using a new moniker: post-AI cryptography (PAIC) [6]. No matter what you call it – PQC, PAIC, or PSIC – my advice is to keep migrating and accelerate where you can. Start with highly sensitive data and systems that require strong asymmetric cryptography. Some devices may need hardware replacements before they can support new algorithms. If you’ve been waiting for a FIPS-validated implementation, that’s one less excuse to delay: As of November, OpenSSL FIPS Provider 3.5.9 has FIPS 140-3 validation and includes ML-KEM, ML-DSA, and SLH-DSA in its approved mode [7]. If you haven’t started your PQC migration, start now!
The most crucial part: make crypto agility part of the migration. That’s the ability to quickly replace or upgrade cryptographic schemes while keeping systems secure and running. Inventory where you rely on RSA and ECC, from connections between services to digital certificates and signatures. Ask vendors which post-quantum standards they support and when. Bring people who follow AI, quantum computing, and cryptography into the same conversations as the engineers who will have to make the change.
Let me be clear: Anthropic’s results are novel and represent a significant theoretical advance, but they are not a reason to abandon PQC. Their results also generated plenty of hype. But I’m glad it got people’s attention. For almost two years, we have been asking organizations to take PQC and crypto agility seriously. Now a lot more people are listening. If this week of jitters prompts more folks to start migrating to PQC and building crypto agility, I’d call it a good week.
References
- https://github.com/anthropics/formal-math/tree/main/lattices
- https://www.nist.gov/news-events/news/2024/08/nist-releases-first-3-finalized-post-quantum-encryption-standards
- https://cirg.org/statements/1/
- https://www.nsa.gov/Press-Room/Press-Releases-Statements/Press-Release-View/Article/4662430/nsa-advises-immediate-transition-to-post-quantum-cryptography-to-protect-nation/
- https://www.nsa.gov/Press-Room/Press-Releases-Statements/Press-Release-View/Article/4662453/joint-statement-from-oncd-nsa-and-cisa-on-recent-advances-in-cryptographic-and/
- https://x.com/eastdakota/status/2128329678633287903
- https://openssl-corporation.org/blog/fips-provider-3-5-9-validated-post-quantum-included.html