Something in the NSA announcement yesterday caught my attention.
We have known for a long time that quantum computers could eventually break much of the public-key cryptography we use today. What is new is that AI companies have privately disclosed discoveries to the US government, and the NSA calls this, together with quantum computing, a significant threat.
So what exactly are they worried about?
On November 16, Anthropic shared some of its research with a group of cryptographers. The assessment from the Cryptography Incident Review Group, published on November 30, is quite reassuring. The new attack requires quantum computers and is more computationally expensive than previously known attacks against the relevant post-quantum standards.
Reuters reported yesterday that it could not establish whether the government was referring to Anthropic’s published research or other discoveries.
The government also says these discoveries do not pose an immediate and widespread threat to existing cryptography. I find that reassuring, although a threat need not be widespread to be strategically significant.
I have no special insight into what the government knows. But there are a few scenarios worth thinking through.
What if the math gets better?
The security of RSA depends on how difficult it is to factor very large numbers. Elliptic curve cryptography rests on a different problem, but the same logic applies.
What if an AI model figures out a significantly better algorithm that runs on the CPUs and GPUs we already have?
We don’t need a dramatic breakthrough where someone with a laptop can decrypt anything they want. Say an attack that was hopelessly out of reach now costs a few hundred million dollars. There probably are governments that would consider that a bargain for certain kinds of intelligence.
It would not only expose tomorrow’s secrets. The NSA warns that adversaries are already collecting encrypted data to decrypt later. A better algorithm could open up what was recorded years ago. And once the algorithm is known, why would anyone need access to the expensive AI model that discovered it?
AI could also figure out how to break cryptography with much smaller quantum computers than we currently think necessary. It could find weaknesses in the very standards we are migrating to.
In July, Anthropic reported an improved attack on HAWK, a candidate post-quantum signature scheme, and a faster attack on a reduced-round version of AES. Neither constitutes a practical break of a deployed cryptographic standard, but the direction is worth noticing.
None of this needs AGI, by the way.
I am more worried about authentication
Let’s say a company discovers that its software has a critical vulnerability and develops a fix overnight using AI. How does my computer know that the fix came from that company and not someone pretending to be that company?
We use cryptography for that too!
Broken encryption lets someone read your secrets. Broken signatures could additionally let someone pass off malicious software as a legitimate security update.
One of the more interesting aspects of the NSA advisory is its emphasis on firmware signatures and hardware roots of trust. Some of these mechanisms are extremely difficult to change after the hardware has been manufactured.
Think of all the industrial equipment, medical devices, cars and military equipment being manufactured today that will still be in use twenty years from now.
Who pays to replace that hardware if its cryptography becomes vulnerable? And how quickly could we physically get it done?
The economics of discovery and deployment
A couple of weeks ago I wrote about what happens when attacking gets cheaper than patching. AI can make discovering vulnerabilities and developing fixes cheap without making it proportionately cheaper to deploy those fixes safely.
There is a version of that problem in cryptography which could be considerably worse.
Much of our infrastructure was built on the assumption that the mathematical foundations of cryptography would remain secure for many years. Breakthroughs that undermined them have historically been rare.
Let’s assume AI compresses the research cycle significantly. We could be halfway through an expensive, multiyear migration to a new standard when someone discovers a weakness in that standard.
This is another manifestation of the argument I made in my book Migrating Scarcity. New mathematics could become abundant while our ability to act on it stays scarce.
If I were a CIO buying enterprise technology today, I would ask the vendor a simple question. Can you change the cryptography and the root of trust in the field, how long will it take, and who pays? I would also want to know which of my existing systems simply cannot accommodate such a change.
What if the math gets there first?
For years, we have been preparing for the day when someone builds a sufficiently powerful quantum computer. We have even given that day a name, Q-Day.
What if the mathematics gets there before the hardware does? Also – what if we have to go through some version of this exercise every few years?
The NSA is already asking operators to build in cryptographic agility. I don’t know how much time we have. But I am increasingly convinced that we need to invest as much thought into making cryptography replaceable as we do into making it harder to break.