· AI dev tools

Anthropic publishes math on lattice problems, confirming post-quantum cryptography remains safe

The encryption safeguarding your data and internet connections remains secure, according to new mathematical findings published by Anthropic.


Anthropic recently released four mathematical papers concerning lattice-based cryptography, alongside their formalization in Lean. The primary research paper introduces novel approaches that could potentially address the lattice-based mathematical challenges underpinning widely utilized post-quantum cryptography algorithms, specifically ML-DSA and ML-KEM. This investigation is purely theoretical and carries no bearing on the security of cryptosystems currently in use. Furthermore, the infrastructure protected by Cloudflare, including your encrypted data and internet links, remains safe. Cloudflare has been actively working toward migrating the internet to post-quantum cryptography since 2019, enabling post-quantum encryption for all its websites and APIs in 2022; as of this writing, 73% of human traffic passing through Cloudflare benefits from post-quantum encryption.

This work arrives amid widespread speculation regarding the dependability of nearly all cryptography we rely upon, spanning from RSA and elliptic curve cryptography to lattice-based systems. However, no evidence suggests an immediate, practical danger. Anthropic's cryptanalytic efforts fit within a long-standing tradition of research dedicated to fortifying cryptographic systems. The integration of AI into research is speeding up the pace at which we uncover potential vulnerabilities. When these new, AI-aided methods are coupled with responsible disclosure practices, the industry can identify and address potential risks faster than malicious actors could. In this article, we will examine the current understanding of these results and elaborate on the reasons for our continued confidence in the inherent mathematical strength of the core techniques behind lattice-based, post-quantum cryptography standards.

The key finding involves theoretical quantum solvers for lattice problems. Anthropic’s study outlines quantum algorithms designed to solve the problems securing the ML-KEM encryption and ML-DSA signature scheme, namely Module-LWE (learning with errors) and Module-SIS (short integer solutions). These are computational hurdles situated within mathematical structures known as lattices, which can be explored further in our beginner's guide. An efficient method for solving Module-LWE or Module-SIS would compromise the security of ML-DSA, while ML-KEM’s security hinges solely on Module-LWE. Anthropic's investigation targets the fundamental lattice problems that mathematicians and cryptographers have been studying for many decades. Nevertheless, two significant factors render these potential quantum attacks impractical and of negligible risk.

Firstly, the necessary hardware simply does not exist. The algorithms demand a quantum computer of immense scale, requiring a minimum of billions of logical quantum bits (qubits) for a straightforward implementation. In contrast, current quantum computers operate with only thousands of qubits, necessitating a 10× to 100× increase in scale just to challenge classical cryptography. This implies that quantum computers are statistically more likely to first break elliptic curves and RSA before they can tackle lattice-based systems. Secondly, the required computational time is almost inconceivable. Even though the theoretical efficiency appears somewhat favorable, the actual speed-up only manifests at a massive scale, or asymptotically, making it unfeasible for real-world scenarios. This is what is termed a galactic algorithm. For the current parameters deployed in practice, executing this algorithm would demand more resources than are available within our galaxy. Moreover, when scaling up the security level for ML-KEM and ML-DSA, the complexity is not merely quasi-polynomial, but exponential. Specifically, employing this novel attack against ML-DSA or ML-KEM would be vastly slower than what the best known classical (non-quantum) attacks can achieve. Based on the paper’s calculations, the actual difficulty to attack ML-DSA would be on the order of 2x for values of x exceeding a thousand, whereas the intended security level for the smaller ML-DSA instance is 2128.

From a broader viewpoint, the paper's outcomes are exciting because of the innovative mathematical methods it employs, which integrate concepts from disparate fields into a new framework. This could signal the beginning of a trend where AI is increasingly applied to quantum algorithms targeting lattice problems, potentially leading to implementation-level optimizations similar to the semi-autonomous progress seen in discrete logarithm circuits (the difficult problem underpinning elliptic curve cryptography).

Regarding the influence of AI on cryptography, one way to conceptualize modern AI systems is as a vast synthesizer of human knowledge. AI excels at forging connections between various research communities, much like what has been observed with topics ranging from Navier-Stokes to the Riemann Hypothesis. No single human can possibly read every paper in mathematics or cryptography, but an AI can, thereby enabling the discovery of previously unseen ideas. AI-assisted research will undoubtedly advance the cutting edge of cryptanalysis, both by improving existing attacks and by uncovering new ones. Over time, more research will bolster faith in our current cryptographic systems. However, unlike the realm of software security, the common saying "it will get worse before it gets better" may not apply here. We maintain the conviction that there exist computationally intractable problems upon which we can build cryptography that remains beyond the reach of any attacker, whether quantum or otherwise. Specifically, Anthropic's findings do not suggest a fundamental flaw in either ML-KEM or ML-DSA. While AI-assisted cryptanalysis might slightly reduce the security margin, standards are intentionally designed with substantial safety buffers to endure the passage of time and improvements in attacks. If a cryptographic system possesses fundamental security, neither an AI nor a quantum computer will ever manage to break it. AI does not alter whether a cryptographic system is secure; rather, it changes the speed at which we comprehend its precise security level against both classical and quantum threats.

Why it matters

This research confirms that current post-quantum standards like ML-DSA and ML-KEM remain secure against theoretical quantum attacks. For developers, this reinforces the current state of cryptographic infrastructure while highlighting the ongoing, accelerated nature of cryptanalytic research.

Related coverage

Also worth reading

  1. Angular 21.2.27 released, fixes component template capture during compile
  2. next.js 16.6.0-canary.0 released, adds experimental new server for Switchyard
  3. next.js 16.5.0-rc.4 released, featuring turbopack document chunking updates
  4. Optimizely Supply-Chain Attack Delivers Malware Through Websites of 178 Global Brands
  5. Browser DNS trace tool lets you follow recursive lookups from root to answer