Mathematics, cryptography and AI

The rumour that AI has cracked encryption has been circling social media. But is this as world-ending as it sounds?

News & Analysis

Anthropic have announced the discovery of a new way to solve a complex mathematical problem in lattice cryptography related to two forms of post-quantum cryptography (PQC). In theory, this creates a new route to break these forms of encryption, knows as ML-KEM and ML-DSA.

While alarm bells have understandably been ringing, this discovery by itself does not change much in practice. The security of your messaging, banking app and logins remain unchanged. That’s because most encrypted services rely on other techniques like RSA or Elliptic Curves, rather than these specific PQC implementations.

In any case, any services which do use ML-KEM or ML-DSA also remain unaffected. That’s because practically implementing the theoretical hacks would require a “galactic” amount of computing power. Other ‘quicker’ ways of achieving the same goals were in fact already known - and already known to be impossible in practice.

The announcement follows days of speculation that AI labs have been sitting on major discoveries that crack encryption algorithms underpinning secure communication online. Rumours were that RSA - a much more common encryption method - was under threat. These proved (thankfully) unfounded.

PQC methods like ML-KEM and ML-DSA exist because of concerns that quantum computing will one day be able to solve the complex mathematical problems that most encryption techniques rely on. Quantum computers are unlikely to exist for quite some time due to issues around cooling, stability and speed, but different elements of PQC are already operational in apps like Signal and cloud services like Cloudflare. We are not aware of any services being weakened by Anthropic’s lattice discovery.

More traditional methods of encryption like RSA have long been known to be theoretically susceptible to brute force attacks. While AI has helped to solve some simpler versions of RSA (RSA-260 and RSA-896) than the one widely in use (RSA-2048), this has ultimately relied on brute force methods (trying every possible combination, or some subset thereof) rather than undermining the mathematical foundations. If RSA-2048 were ever solved or get close to being solved in this way, then switching to RSA-4096 would be a sensible response.

However, if RSA - or another more widely relied on technique - is ever compromised more fundamentally, whether through AI or not, further action may be required. As a starting point, any discovery should be disclosed quickly and considerately so that operators and institutions can engage action plans for migration and mitigation. Maintaining the agility to combine and switch between encryption methods may prove even more valuable in coming years, this is particularly true of embedded systems and IoT devices.

Anthropic’s lattice discovery is a reminder of the value of encryption as a preserver of privacy in the digital age and of the value of public research and disclosure. It was first disclosed to a trusted group of cryptography experts known as the CIRG. That is a better approach than for encryption-busting methods to be shared secretly with intelligence agencies like GCHQ and the NSA. Our ongoing legal challenge against the UK Government’s use of secret notices to undermine encryption shows the follies of approaches like this.

Learn more