I recently heard two very alarming rumors. The first is that an internal AI model at one of the big labs has found a weakness in RSA, the encryption scheme behind much of the internet's security. The second is that another model has found a problem in lattice-based cryptography (specifically with ring lwe), that may compromise the post-quantum schemes that were supposed to replace RSA.
If these rumors are true, they have potentially disastrous consequences. They would make the internet unusable for anything serious, which is basically anything that involves money or secrets. The damage also reaches backwards: any encrypted data that you've sent in the past could be decrypted and exposed. Intelligence agencies have been recording encrypted traffic for years in the hope of decrypting it later, if / when the encryption algorithms get broken.
Even if the big labs manage to keep the details of the rumored weaknesses secret, open-weights models will likely be capable enough to find them within a year or two. We may need to quickly find an alternative encryption scheme, build trust in that new scheme, and then implement it in all critical systems. We will have to do all of these things very quickly. There are already a few alternative schemes, and I imagine that AIs can help us come up with even more options. Coding agents will also make the implementation cheaper than previous upgrades.
Trust is the hard part. We need a new scheme that we can trust not to fall apart quickly. If we have to switch encryption schemes every two or three months, that is almost as bad as having no encryption at all: anything you encrypt today could be read by an attacker within a few months.
How do we build trust in an encryption scheme? The best thing we could have is a proof that the scheme is secure[1]. The second-best option is a conditional proof: one showing that the scheme is secure as long as some widely believed conjecture, such as P != NP, is true.
Unfortunately, none of our scalable encryption schemes have these properties[2]. We don't have a proof that any of our schemes are secure. We don't even have a proof that they are secure conditioned on P != NP. That's kind of fucked up, right? The first time I heard this, I was shocked. So why do people trust encryption schemes?
The trust mostly comes down to many very smart people trying to break the schemes and failing[3]. This is partly why we keep encryption schemes public and open source: it makes them legible to smart people, who get nerd-sniped and try to break them. The more smart people try and fail, the more we can trust the scheme. This kind of evidence looks weaker than it did a month ago. For over a century, many of the smartest people around tried and failed to prove the Riemann hypothesis. Last week, a mathematician working with an AI announced a machine-checked proof. The fact that smart humans have failed at a problem is no longer strong evidence that the problem is that hard.
Ideally, we find a way to use powerful AIs to quickly build confidence in a new encryption scheme. The ultimate outcome would be an AI proving that an encryption scheme is secure, but that might not happen anytime soon and might straight up be impossible. An alternative proposal is to have an AI lab (or several of them) red-team / stress test the new encryption schemes. They can unleash $10 billion of inference compute[4] trying to break the scheme.
If the labs fail to find an issue, that gives us some confidence that weaknesses in the scheme are hard to find. How much confidence? A crude Lindy-style estimate says that a scheme that has survived $10b of attacks will survive roughly another $10b. There are two problems with this reasoning. First, a dollar of compute buys more every year: the cost of reaching a given level of AI performance has been falling about 13x per year, so an attack that costs $10b today might cost under $1b a year from now. A stress test therefore only assures the scheme against the "model generation" that ran it, and we would need to repeat it as labs release more powerful ones. Second, the stress-testing model might have blind spots, and a different model that doesn't share them (e.g., a Chinese open-weights model) could find a weakness for far less.
There are also issues with trusting the lab that does the stress testing. We have no way to check that the lab really spent $10b of compute on the problem. It could keep the money and use the compute for other things (e.g building faster AI 😰). It could also find a weakness and, instead of disclosing it, tell only the NSA.
We can also ask the lab to "publish the work." The problem is that anything it publishes could make it a little easier for an attacker (e.g., an adversarial state actor with access to a lot of compute) to break the scheme themselves: "OK, I know what doesn't work. Let me look for other angles." There might be some sort of "zero-knowledge proof" scheme where the lab publicly shares proof that it did a lot of good work trying to break the encryption, without that "proof of work" revealing any information about the work itself. We can also approach the problem in a decentralized way, this avoids having to trust a lab at all. Make a public bounty that grows over time. Put a large pot of crypto behind each proposed scheme, so that anyone who breaks the scheme can take the pot. Everyone can see whether the pot is still there, and the longer a growing pot goes unclaimed, the more confidence we should have in the new scheme. We can run a few of these bounties in parallel, and adopt whichever encryption scheme has survived the longest.
I don't know whether the rumors are true, but it doesn't matter much. The old reason to trust our encryption was that smart people had tried and failed to break it, and that reason is weaker today. "The old world is dying, and the new world struggles to be born: now is the time of monsters.". We need a new "machinery of trust" and we should start building it asap.
The main exceptions are the one-time pads, which needs super long pre-shared keys, and quantum key distribution, which needs a dedicated and very-low bandwidth hardware link between parties.
There is also an economic version of this argument, and Bitcoin makes it very legible. Anyone who broke the schemes that secure Bitcoin could steal tens of billions of dollars. Nobody has, which suggests that weaknesses in that scheme are hard to find.
I recently heard two very alarming rumors. The first is that an internal AI model at one of the big labs has found a weakness in RSA, the encryption scheme behind much of the internet's security. The second is that another model has found a problem in lattice-based cryptography (specifically with ring lwe), that may compromise the post-quantum schemes that were supposed to replace RSA.
If these rumors are true, they have potentially disastrous consequences. They would make the internet unusable for anything serious, which is basically anything that involves money or secrets. The damage also reaches backwards: any encrypted data that you've sent in the past could be decrypted and exposed. Intelligence agencies have been recording encrypted traffic for years in the hope of decrypting it later, if / when the encryption algorithms get broken.
Even if the big labs manage to keep the details of the rumored weaknesses secret, open-weights models will likely be capable enough to find them within a year or two. We may need to quickly find an alternative encryption scheme, build trust in that new scheme, and then implement it in all critical systems. We will have to do all of these things very quickly. There are already a few alternative schemes, and I imagine that AIs can help us come up with even more options. Coding agents will also make the implementation cheaper than previous upgrades.
Trust is the hard part. We need a new scheme that we can trust not to fall apart quickly. If we have to switch encryption schemes every two or three months, that is almost as bad as having no encryption at all: anything you encrypt today could be read by an attacker within a few months.
How do we build trust in an encryption scheme? The best thing we could have is a proof that the scheme is secure[1]. The second-best option is a conditional proof: one showing that the scheme is secure as long as some widely believed conjecture, such as P != NP, is true.
Unfortunately, none of our scalable encryption schemes have these properties[2]. We don't have a proof that any of our schemes are secure. We don't even have a proof that they are secure conditioned on P != NP. That's kind of fucked up, right? The first time I heard this, I was shocked. So why do people trust encryption schemes?
The trust mostly comes down to many very smart people trying to break the schemes and failing[3]. This is partly why we keep encryption schemes public and open source: it makes them legible to smart people, who get nerd-sniped and try to break them. The more smart people try and fail, the more we can trust the scheme. This kind of evidence looks weaker than it did a month ago. For over a century, many of the smartest people around tried and failed to prove the Riemann hypothesis. Last week, a mathematician working with an AI announced a machine-checked proof. The fact that smart humans have failed at a problem is no longer strong evidence that the problem is that hard.
Ideally, we find a way to use powerful AIs to quickly build confidence in a new encryption scheme. The ultimate outcome would be an AI proving that an encryption scheme is secure, but that might not happen anytime soon and might straight up be impossible. An alternative proposal is to have an AI lab (or several of them) red-team / stress test the new encryption schemes. They can unleash $10 billion of inference compute[4] trying to break the scheme.
If the labs fail to find an issue, that gives us some confidence that weaknesses in the scheme are hard to find. How much confidence? A crude Lindy-style estimate says that a scheme that has survived $10b of attacks will survive roughly another $10b. There are two problems with this reasoning. First, a dollar of compute buys more every year: the cost of reaching a given level of AI performance has been falling about 13x per year, so an attack that costs $10b today might cost under $1b a year from now. A stress test therefore only assures the scheme against the "model generation" that ran it, and we would need to repeat it as labs release more powerful ones. Second, the stress-testing model might have blind spots, and a different model that doesn't share them (e.g., a Chinese open-weights model) could find a weakness for far less.
There are also issues with trusting the lab that does the stress testing. We have no way to check that the lab really spent $10b of compute on the problem. It could keep the money and use the compute for other things (e.g building faster AI 😰). It could also find a weakness and, instead of disclosing it, tell only the NSA.
We can also ask the lab to "publish the work." The problem is that anything it publishes could make it a little easier for an attacker (e.g., an adversarial state actor with access to a lot of compute) to break the scheme themselves: "OK, I know what doesn't work. Let me look for other angles." There might be some sort of "zero-knowledge proof" scheme where the lab publicly shares proof that it did a lot of good work trying to break the encryption, without that "proof of work" revealing any information about the work itself. We can also approach the problem in a decentralized way, this avoids having to trust a lab at all. Make a public bounty that grows over time. Put a large pot of crypto behind each proposed scheme, so that anyone who breaks the scheme can take the pot. Everyone can see whether the pot is still there, and the longer a growing pot goes unclaimed, the more confidence we should have in the new scheme. We can run a few of these bounties in parallel, and adopt whichever encryption scheme has survived the longest.
I don't know whether the rumors are true, but it doesn't matter much. The old reason to trust our encryption was that smart people had tried and failed to break it, and that reason is weaker today. "The old world is dying, and the new world struggles to be born: now is the time of monsters.". We need a new "machinery of trust" and we should start building it asap.
I won't go into how to formalize "secure" here, but Boaz Barak's excellent lecture notes on computational security do
The main exceptions are the one-time pads, which needs super long pre-shared keys, and quantum key distribution, which needs a dedicated and very-low bandwidth hardware link between parties.
There is also an economic version of this argument, and Bitcoin makes it very legible. Anyone who broke the schemes that secure Bitcoin could steal tens of billions of dollars. Nobody has, which suggests that weaknesses in that scheme are hard to find.
this seems like a great example of a public good, and I think it's reasonable for the government to subsidize it