AI threat to cryptography revealed as massively impractical

The AI firm Anthropic has put forward a new way to hack encryption previously deemed secure from quantum computers. This new attack algorithm is a mathematical breakthrough but severely impractical, requiring a quantum computer to operate for many times the age of the universe. It poses no threat to currently used cryptography, according to a group of cryptographers that have assessed the attack.

Modern encryption methods are based on a conventional computer having to solve a hard mathematical problem – if the problem is too hard to solve or the solving it would take impractically long then encrypted data remains safe. But such problems could be solved by a large enough quantum computer, and while these don’t exist yet, efforts to build them are ongoing.

As such, governments and business around the world have been planning to switch to “post-quantum cryptography” (PQC) to preempt this upcoming threat. PQC methods encrypt data based on mathematical problems that are assumed to be hard for a quantum computer, but the new work by Anthropic shows that that assumption is not necessarily always correct – even though the computational cost of exploiting this newfound weakness would be enormous.

The attack, developed by an unreleased model of Anthropic’s AI Claude, concerns lattice-based cryptography where the central mathematical object is a grid of numbers in space, or a lattice. Previously, researchers theorised that most problems of this sort would take a quantum computer exponentially long time to solve and hence be impractical. Anthropic’s algorithm has an asymptotic advantage – as the size of encrypted key gets larger, it gains advantages in how quickly it can solve the problem, wrote the newly formed Cryptography Incident Review Group (CIRG) in a statement.

But crucially, the CIRG wrote that the new algorithm would be impossible to run on any existing quantum computer and even on powerful quantum computers that are expected to come online by the end of the decade. Put simply, the computational resources the new algorithm seems to require are enormous. “Anthropic’s attack algorithm requires vastly more computation than the best previously known attacks. Those earlier attacks are already far beyond practical reach, and the scale of the new attack is galactic. Moreover, the attack requires large-scale quantum computation, which is far more costly to carry out than classical computation of comparable scale,” the group wrote.

The use of the word ‘galactic’ is not hyperbolic here. The group used AI tools to estimate that a quantum computer would have to execute at least 21000 operations, or steps of computation, in the best-case scenario. Even with an optimistic assumption of billion operations per second, this would take insurmountably longer than the age of the universe.

CIRG additionally advised that there is not an imminent reason to worry because some PQC methods still appear to be valid and their use ought to be unaffected by the new finding. The security of some was even strengthened by Anthropic’s work. “We recommend continuing the transition to post-quantum cryptography. At present, the reported attack falls far short of compromising the current NIST standards,” they wrote.

Though wildly impractical, the episode does point to AI’s ability to find cracks in otherwise established cryptography methods. “Cryptography relies on the assumption that some mathematical problems, such as factoring large numbers, are computationally very hard. Since we had no way to prove that statement, we instead relied on the failure of human attempts to break cryptosystems as a major part of the evidence for their security. In the new world we live in, we must put our strongest AI models to work,” Vinod Vaikunatanathan at the Massachusetts Institute of Technology, who is part of CIRG, wrote on X. The group acknowledged that future attack algorithms may improve on the new one.

The question then becomes how quickly this might happen. Will cryptographers become squeezed by rapid progress in quantum computing on one side and AI’s growing mathematical prowess on the other? The rapid pace at which AI has been meeting mathematical challenges all year long, including the most famous open problem in mathematics called the Riemann hypothesis, opens the door for some concern. But even if PQC were to eventually fail, quantum computing itself could offer an alternative. This is because purely quantum methods of encryption rely on physical properties of the quantum world rather than computational assumptions, says Joe Fitzsimons at Horizon Quantum.

Original source AI threat to cryptography revealed as massively impractical

Back to home