Anthropic's major cryptographic breakthrough is officially unveiled, bringing challenges to the next-generation cryptographic system
Authors: Yang Meng, Zhang Jinyi, DeepTech
For more than a week, rumors about significant breakthroughs in AI within the field of cryptography have been swirling.
On November 25, Scott Aaronson, a professor at the University of Texas at Austin and a theoretical computer scientist, revealed on his personal blog that he had learned from multiple reliable sources that leading AI laboratories might have mastered significant cryptanalysis results that have not yet been made public. There was speculation that AI had found a new algorithm for efficiently factoring large integers, potentially breaking the RSA encryption algorithm widely used on the modern internet.
At the same time, 21 cryptographers from institutions such as Stanford University and the Massachusetts Institute of Technology formed an independent Cryptography Incident Review Group (CIRG), further fueling speculation about this mysterious research.
Now, this research has finally come to light. The breakthrough achieved by AI is not related to RSA but involves post-quantum cryptography developed by humans to defend against future quantum computer attacks.
On November 30, Anthropic officially released four theoretical cryptography papers totaling 541 pages, along with a corresponding Lean 4 formal proof library. On the same day, CIRG released its first statement, providing an independent assessment of these research results.
The mathematical results in these four papers were discovered by an unreleased research version of the Claude model within Anthropic and were formally proven by AI. One of the papers proposed a quasi-polynomial time quantum algorithm that reduced the academic community's confidence in the long-term security of structured lattice cryptography; the other three papers further solidified the theoretical foundation of unstructured lattice cryptography.
Structured lattices are the mathematical foundation relied upon by many mainstream post-quantum cryptography standards.
What cryptographic breakthroughs did Claude discover?
In 1994, mathematician Peter Shor proposed a quantum algorithm that theoretically proved that sufficiently powerful quantum computers could efficiently solve the problems of integer factorization and discrete logarithms. This means that once quantum computers reach a certain scale, widely used public key cryptographic algorithms such as RSA and elliptic curve cryptography will face serious threats.
Image|Peter Shor (Source: MIT)
As a result, cryptographers began to search for mathematical problems that would be difficult to solve even with the help of quantum computers and design new cryptographic algorithms based on these problems. In August 2024, the National Institute of Standards and Technology (NIST) officially released the first three post-quantum cryptography standards, and countries around the world began to promote upgrades to related digital infrastructure.
Among many technical routes, lattice-based cryptography is currently one of the most important directions.
A lattice can be roughly understood as a grid of points arranged according to certain rules in high-dimensional space. The security of lattice cryptography is based on a series of mathematically difficult problems. For example, given a set of mutually skewed basis vectors, how can one find the nearest non-zero point to the origin from a large number of lattice points, or find the nearest lattice point to a given target location?
These correspond to the well-known shortest vector problem (SVP) and closest vector problem (CVP) in cryptography. In two-dimensional or three-dimensional space, these problems are not difficult to understand, but as the dimensionality increases, the computational difficulty of finding answers rises sharply.
Image|Two-dimensional simplified illustration: Left image finds the nearest non-zero lattice point to the origin; right image finds the nearest lattice point to a given target. (Source: DeepTech)
However, in practical applications, directly using general lattices often requires large keys and high computational overhead. To improve encryption and decryption efficiency and reduce communication costs, researchers introduce additional algebraic structures to lattices, giving them certain regularities and symmetries, which is known as structured lattices.
The four papers released by Anthropic focus precisely on structured and unstructured lattices. One of the most notable papers is titled "Galactic quasi-polynomial quantum algorithms for integral and module lattices," spanning 283 pages.
This paper primarily studies integral lattices established on specific cyclotomic rings and module lattices with specific rank conditions. The research proposes a quasi-polynomial time quantum algorithm that can solve the shortest vector problem, shortest independent vector problem (SIVP), and closest vector problem under certain approximation conditions, as well as solve the module learning with errors problem (Module-LWE) under specific short key conditions.
Image|The quasi-polynomial time quantum algorithm for integral and module lattices discovered by Claude (Source: Anthropic)
Along with this paper, three additional research papers totaling 258 pages were also released. These three papers advance an important theoretical study in lattice cryptography, namely the worst-case to average-case reduction.
In simple terms, cryptographers not only hope to prove that a certain mathematical problem has extremely difficult solvable cases but also want to demonstrate that the randomly generated cryptographic instances encountered by attackers in reality also have sufficiently high solving difficulty. The worst-case to average-case reduction is an important theoretical tool that connects these two aspects.
Anthropic's research establishes this connection under broader conditions, providing further theoretical support for the security of unstructured lattice cryptography.
However, current post-quantum cryptography remains secure
Although Claude found a theoretically faster quantum algorithm, according to CIRG's assessment, this research currently does not pose a practical threat to cryptographic systems already deployed in the real world.
This first involves the distinction between theoretical algorithm efficiency and actual running efficiency. In computational complexity theory, whether an algorithm is efficient is typically measured by how the computational workload grows as the problem size increases. For example, the computational workload of an exponential time algorithm may grow at a rate of 2ⁿ as the input size n increases, while the complexity of a quasi-polynomial time algorithm lies between polynomial time and typical exponential time, typically in the form of n raised to the log n power.
However, slower growth in computational workload does not mean that the algorithm runs faster in all cases.
The first word used in the title of Anthropic's paper is "Galactic." This is a figurative expression in the field of theoretical computer science, usually used to describe algorithms that theoretically have better complexity but still have astonishingly high running costs for problem sizes that are realistically accessible.
The new algorithm discovered by Claude is just such an example. Its advantages mainly manifest when the problem size is sufficiently large, but within the parameter range adopted by current cryptographic standards, the algorithm's enormous computational overhead offsets its theoretical advantages, even making the required computational workload far exceed previously known attack methods.
CIRG provided an intuitive number in its assessment report: even for the current standard's lowest security level, ML-KEM-512 and ML-DSA-44, and under assumptions favorable to the attacker, the number of quantum operations required by the new algorithm still far exceeds 2¹⁰⁰⁰. In comparison, the estimated number of atoms in the observable universe is only about 10⁸⁰.
Image|Trends in computational workload growth under different algorithm complexities do not represent the actual running costs of the algorithms in this paper. (Source: DeepTech)
Another reason is that the mathematical structures targeted by the new algorithm do not completely align with the ways current post-quantum cryptography standards enhance security levels.
Currently, the two structured lattice-based cryptography standards already released by NIST are ML-KEM for establishing shared keys and the digital signature algorithm ML-DSA for verifying identity and information authenticity.
Both standards fix the algebraic degree of individual structured components at 256, primarily enhancing security levels by increasing the number of components (i.e., raising the rank). The theoretical advantages of the new algorithm mainly manifest when the degree of individual components continues to increase. Therefore, its improvements in complexity cannot be directly translated into effective attacks on current cryptographic standards.
Additionally, this algorithm requires the use of quantum computers to run. Currently, research has not provided specific estimates of the number of qubits, logic gates, and quantum error correction overhead required to execute this algorithm on real quantum hardware.
Therefore, this research is not sufficient to threaten current post-quantum cryptographic standards, and the ongoing global migration to post-quantum cryptography does not need to be paused because of it. However, if subsequent research continues to improve mathematical methods, its running costs may also be significantly reduced.
CIRG also believes that there is still room for further optimization of this new algorithm in the future. Although this breakthrough has not changed the actual security status of the current post-quantum cryptography standards, it has lowered people's confidence in the long-term security of structured lattices.
How will the cryptography community respond after AI submits its findings?
In addition to the research in cryptography itself, the way these papers were produced is also worth noting. According to Anthropic, the mathematical results in the four papers were discovered by the internal research version of the Claude model, and the accompanying Lean 4 formal proof library was also written by AI.
This proof library covers 132 main theorems and 190 intermediate theorem statements, totaling 322, and does not rely on unproven mathematical conjectures. On a regular computer equipped with a 12-core processor and 12 GB of memory, the machine verification of all formal proofs can be completed in about an hour.
However, as of the publication of the papers, no human mathematician has completed a comprehensive manual verification of the 541-page document.
Anthropic also acknowledged an important limitation in the documentation of the code repository: Lean 4 can check whether formal proofs strictly follow mathematical logic, but whether the theorem statements in the formal code accurately correspond to the mathematical propositions expressed in the natural language of the paper is another issue. Currently, the consistency between the two is primarily compared by AI and still requires further verification by human researchers.
This is not the first time Claude has made research progress in the field of cryptography. In July of this year, Anthropic announced two cryptanalysis results discovered using Claude. One of them targeted the candidate post-quantum digital signature scheme HAWK, reducing the key recovery complexity of HAWK-256 from 2⁶⁴ to 2³⁸; the other improved the attack speed on the reduced-round AES encryption algorithm by 200 to 800 times.
These studies indicate that AI's capabilities are no longer limited to discovering vulnerabilities that arise during the software implementation of cryptographic algorithms, but are beginning to delve into the algorithms themselves, searching for mathematical weaknesses previously undiscovered by humans.
In response to this change, the cryptography community is also beginning to explore new mechanisms for disclosing research results and assessing risks. According to CIRG, as early as November 16, Anthropic had already shared the research results with some cryptography experts in advance. Subsequently, an independent review organization composed of 21 cryptographers, including Stanford University professor Dan Boneh and Massachusetts Institute of Technology professor Vinod Vaikuntanathan, was officially launched and released its first assessment report on the day the paper was made public.
Although this research does not currently pose a threat, CIRG has still proposed a series of recommendations for different institutions.
For institutions and developers that are advancing system upgrades, CIRG recommends continuing to migrate to post-quantum cryptography, adopting the highest security level that practical business can bear, and considering the combined use of cryptographic algorithms based on different mathematical foundations. At the same time, it is important to retain the ability to quickly replace underlying cryptographic algorithms in the system architecture, known as cryptographic agility.
For standard-setting organizations like NIST, CIRG suggests that even if it requires sacrificing some computational or communication efficiency, they should prioritize promoting more public key cryptographic algorithms based on different mathematical foundations into the standard system.
Currently, in addition to lattice-based cryptography, the cryptography community is also developing post-quantum cryptographic schemes based on hash functions, error-correcting codes, and other mathematical foundations, such as the already standardized digital signature algorithm SLH-DSA and HQC, which has been selected as a backup key encapsulation scheme, to avoid future digital security being overly reliant on a single mathematical problem.
In addition, CIRG also calls for cutting-edge AI laboratories to establish long-term cooperation mechanisms with the cryptography community. When using AI to test existing and future cryptographic systems, not only should successful attack methods be publicly disclosed, but also what research directions were attempted, which cryptographic systems withstood the tests, and how much computational power and research costs were invested.
From the proposal of Shor's quantum algorithm to the official release of the first batch of post-quantum cryptography standards, humanity has taken about 30 years to recognize threats, research alternatives, and prepare for the upgrade of digital infrastructure. However, this migration of cryptographic systems has not yet been completed, and AI has already begun to challenge the mathematical foundations on which the new generation of cryptographic algorithms relies.
As AI continues to accelerate the pace of mathematical discovery, it may be difficult for humanity to have the same 30 years to identify and verify. The real test in the future will be whether the speed at which we establish new defenses can keep up with the speed at which old defenses are breached.