
In my book Real-World Cryptography, I wrote:
“Quantum computers can break cryptography,” implied Peter Shor, a professor of mathematics at MIT. It was 1994, and Shor had just come up with a new algorithm. His discovery unlocked efficient factoring of integers, destroying cryptographic algorithms like RSA if quantum computers ever were to become a reality. At the time, the quantum computer was just a theory, a concept of a new class of computer based on quantum physics. The idea remained to be proven. In mid-2015, the National Security Agency (NSA) took everybody by surprise after announcing their plans to transition to quantum-resistant algorithms (cryptographic algorithms not vulnerable to quantum computers).
At the time (2021) I wrote that in a period of confusion. Confusion, because while people understood well that quantum computers, if they were to exist would break lots of cryptography, it was not clear to many that they would ever exist in the first place. In the same chapter, I later summarized:
Ask any expert and you’ll receive different kinds of answers. For some, it’s 5 to 50 years away; for others, it’ll never happen. Michele Mosca, the director of the Institute for Quantum Computing, estimated “a 1/7 chance of breaking RSA-2048 by 2026 and a 1/2 chance by 2031,” while Mikhail Dyakonov, a researcher at the CNRS in France, stated publicly “Could we ever learn to control the more than continuously variable parameters defining the quantum state of such a system? My answer is simple. No, never.” While physicists, not cryptographers, know better, they can still be incentivized to hype their own research in order to get funding. As I am no physicist, I will simply say that we should remain skeptical of extraordinary claims, while preparing for the worst. The question is not “Will it work?”; rather, it’s “Will it scale?”
The NSA announcement that we should start moving towards post-quantum algorithms, and skip elliptic curves if we had not migrated to them yet, was puzzling to say the least. At the culmination of the frenzy the community of scientists found themselves thrown into, Koblitz and Menezes wrote their bold essay entitled A Riddle Wrapped in an Enigma.
You can tell from some of what they write that indeed, the public perception of the feasibility of quantum computers is somewhat different from today’s:
According to an article in the Washington Post [49], the NSA’s efforts to develop a quantum computer are a part of a US$79.7 million program called “Penetrating Hard Targets.” This is a very small fraction of the NSA’s budget. If the NSA were close to developing a practical quantum computer — or if they believed that another nation was — then they would be devoting far more money to this project.
[…]
Some people are very skeptical about this timeline. As pointed out in [57], there has never been a genuine implementation of Shor’s algorithm. The only numbers ever to have been factored by that type of algorithm are 15 and 21, and those factorizations used a simplified version of Shor’s algorithm that requires one to know the factorization in advance.
[…]
Suppose that the NSA believes that, although a large-scale quantum computer might eventually be built, it will be hugely expensive. From a cost standpoint it will be less analogous to Alan Turing’s bombe than to the Manhattan Project or the Apollo program, and it will be within the capabilities of only a small number of nation-states and huge corporations. […] In other words, according to this theory the main intended audiences for the NSA announcement were the Chinese and Russians, who would be goaded into a pointless expenditure of vast sums of money to build a quantum computer that won’t do them much good. In this way those resources will not be put to uses that the NSA would regard as much more threatening.
If it’s not clear, the NSA’s reputation wasn’t the best around that time either, as they were caught their hands in the pants trying to backdoor a cryptographic standard (the infamous Dual EC backdoor, if you watch the video, know that I cringe every time I rewatch the intro). Koblitz and Menezes write in the same paper:
Perhaps the NSA believes that it can find and exploit vulnerabilities in PQC much more easily than in RSA or ECC, and for that reason they want the public to hurry toward PQC standards. […] If the NSA gets the standards bodies to rush the process, perhaps they’ll make some mistakes, as they did in the case of Dual EC DRBG. Then the NSA can exploit the resulting vulnerabilities.
So is this just another set of shenanigans from the NSA? or should we trust the NSA this time around? The NSA itself used to say that we should because they had all these great cryptographers. We know that thanks to Alex Stamos asking this great question to the NSA director at the time (2015). To this day, I still remember that smirk on that smug NSA director’s face, as they went through with this lunar exchange:
Alex Stamos (Yahoo CISO): My name is Alex Stamos, I'm the CISO at Yahoo.
Adm. Michael Rogers (NSA Director): Hey Alex.
Alex Stamos: Um, so it sounds like you agree with Director Comey that we
should be building defects into the encryption in our products so that the U.S.
government can decrypt--
Adm. Michael Rogers: So that would be your characterization.
Alex Stamos: Well, I think--I think Bruce Schneier and Ed Felten and all
of the best public cryptographers in the world would agree that you can't really
build backdoors into crypto, that it's like drilling a hole in the windshield.
Adm. Michael Rogers: I've got a lot of world-class cryptographers at the
National Security Agency.
Alex Stamos: And I've talked to some of those folks. I think some of
them agree too, but--
Adm. Michael Rogers: So we agree that we don't accept each other's
premise.
Alex Stamos: So you tell--okay, there we go. We'll agree to disagree on
that. So, uh, if we're going to build defects/backdoors or golden master keys
for the U.S. government, do you believe we should do so--we have about 1.3
billion users around the world--should we do so for the Chinese government, the
Russian government, the Saudi Arabian government, the Israeli government, the
French government? Which of those countries should we give backdoors to?
Adm. Michael Rogers: So I'm not going to--I mean, the way you frame the
question is designed to elicit a response, and--
Alex Stamos: Well, I mean, do you believe we should build backdoors for
other countries?
Adm. Michael Rogers: Um, my position is, hey, look: I think number one
that this is technically feasible. Now, it needs to be done within a framework.
I'm the first to acknowledge that you don't want the FBI and you don't want the
NSA unilaterally deciding, "So what are we going to access and what are we not
going to access?" That shouldn't be for us. I just believe that this is
achievable, and we'll have to work our way through it. And I'm the first to
acknowledge there's international implications to this. I think we can work our
way through this.
Alex Stamos: So you do believe that then we should build those for other
countries if they pass laws?
Adm. Michael Rogers: I said I think we [can work] our way through this.
Alex Stamos: So I'm sure the Chinese and Russians are going to have the
same opinion, sir.
Adm. Michael Rogers: I said I think we can work our way through this.
Alex Stamos: Okay. Nice to meet you.
(Laughter)
Experts in the NSA? World-class cryptographers? Koblitz and Menezes didn’t think it mattered anyway from the point of view of NSA’s announcements:
Normally all of the big corporations that do cryptographic work for the U.S. government would have been given some advance notice, but this was not done. Even more surprising, the NIST people were not asked about it, and even researchers in IAD were caught by surprise. It seems that whoever at the NSA prepared the release did so with minimal feedback from experts, and that includes their own internal experts.
11 years later, and we have a NIST standard for post-quantum cryptography. Released in two waves, in 2020 a preliminary not-so-nice standard for stateful hash-based signatures came out (SP 800-208), and in 2024 the more complete and nicer standards came out: FIPS 203 for lattice-based key exchanges, FIPS 204 for lattice-based signatures, FIPS 205 for stateless hash-based signatures, and FIPS 206 for another lattice-based signature. (If you didn’t know, symmetric encryption was supposedly fine, and didn’t really even need to be updated, maybe.)
It’s funny, because at the same time, I remember debates about “crypto agility”. This notion that you should make it easy to swap algorithms if needed. Crypto agility had caused so many bugs that security practitioners started arguing against doing anything like that. For example, there was this attack in TLS where you could pretend that the 256-bit ECDH public key you’d receive was actually an RSA public key (which these days are more like 2048 bits long), which would easily let a man-in-the-middle attacker break and then decrypt your traffic. Another example is the infamous JWT attack whereby replacing "alg": "HS256" with "alg": "none" was enough to remove any cryptographic check. Protocols that removed this runtime flexibility flourished, like the Noise Protocol Framework (another cringy video of me from 10 years ago) meant to replace TLS’ complexity by fixating parameters at compile/design time.
I myself fell into this trap many times, seeing overly complex and overengineered design in order to follow this crypto agility movement. Afterall, I’m someone that likes simplicity and crypto agility did add a LOT of code. Unnecessary code, I thought at the time, because I was spoiled grewing up in a long period of “crypto stabilization” in which people really felt like the current algorithms were going to be the ones that we will use forever (unlike SHA-1, RC4, DES, encrypt-then-mac, etc. designed at a time were we did not understand things as much™️).
But it turns out that maybe… it is the notion of crypto stability itself that is foolish? and that whoever said that cryptography is a field where you have to continuously reinvent yourself because computers do as well, well, was right after all?
So anyway, fast forward and AI becomes a thing, and it turns out that (at the surprise of no one) lots of our cryptography was somewhat secured through absurd complexity, and it turns out also that AIs are very good at navigating that complexity and finding the bugs. We have bugs everywhere.
But security through absurd complexity was not always how we did cryptanalysis anyway, the point was always to gain confidence in schemes via absurd amounts of time spent attacking primitives, until the point were cryptanalysts get bored. Cryptanalysts do get bored, and there’s not that many of them (because it’s quite a masochist field), and so with AI we get to push that further, and either get to break more stuff, or get more confidence in stuff.
So so far, it seems like we’re breaking stuff mostly. Anthropic, only 4 months ago (I had to double check because everything happens so fast these days), released a break of HAWK (another lattice-based signature competing in NIST never-ending post-quantum standardization effort).
The first result we describe in this post, which was discovered with Claude Mythos Preview, is an improved attack against a digital signature scheme called HAWK. In 2022, the US Government’s National Institute of Standards and Technology (NIST) put out a call for additional cryptographic systems that would remain secure even against quantum computers (which could, if developed, break most of the existing signature schemes in use today). HAWK is one of the third-round candidates under consideration from this call. Despite HAWK having survived two rounds of expert human review over a period of two years, Mythos was able to improve the best-known attack on it in just 60 hours of work—effectively cutting its key strength in half.
Quicky after, HAWK withdrew from the competition

Then, last week, for what seemed like an eternity, rumors started spreading, people started vagueposting.

It was tedious, as nobody was really saying anything, but we felt like the roof was going to collapse. At zkSecurity, with my coworkers, we held hands and sang songs. Then we voted on what we thought it would come down to.

The first news we got was the creation of a new Cryptography Incident Review Group.

And then the Cryptography Incident Review Group Review Group Review Group Review Group Review Group Review Group was announced shortly after.
And then, Anthropic dropped “the bomb”: a module lattice news. Thew news felt a bit like a nothingburger, perhaps because of all the hype (I mean we thought RSA was going to break), or perhaps because of the early leaks of the paper title, or perhaps because the attack was quasi-polynomial (we prefer polynomial) and had massive constants (meaning that it was not practical even with a big quantum computer).
Interestingly, Anthropic decided to do some PR by renaming the paper, adding the term Galactic in front of it. The full name now reads “Galactic quasi-polynomial quantum algorithms for integral and module lattices”.
So we went from freaking out to “this seems OK”.
BTW, I acknowledge that we live in bizarre times. As my ex-coworker George Danezis puts it:
So now the title of the amazing cryptographic breakthrough is public. It’s “Computers that do not exist can break crypto algorithms no one uses, but we thought we might use to replace the other algorithms we use, that we knew were broken by the computers that do not exist”
But harvest now, decrypt later attacks are what’s on people minds when arguing about moving to better cryptographic schemes now. Harvest now and decrypt later attacks are the idea that a truly evil person could record encrypted traffic now, and decrypt it later once quantum computers become a thing.
Yet, it seems like we might have to worry about a more imminent threat, because yesterday the NSA made a peculiar announcement:
NSA advises National Security Systems (NSS) owners, operators, and vendors to immediately accelerate the transition to post-quantum cryptography (PQC).
This call to urgency is somewhat unprecedented, coming from our familiar and somewhat trusted entity. Even going as far as to double down on the lattice schemes weakened a few days by the Anthropic and the Cryptography Incident Review Group Review Group Review Group Review Group Review Group Review Group announcements. Not only that, but even symmetric cryptography had to be bumped, going against the trends of the last decades (see Too Much Crypto).
It was quickly followed up by other worrying announcements, first from Matthew Prince the CEO of Cloudflare tweeted:
Do not ignore this. Do not underestimate it. Yes, we were briefed on something. Yes, it’s a big deal. No, we can’t give you all the details yet. But it is urgent to move encrypted systems to post-quantum (maybe more appropriately called post-AI) standards.
And then a joint statement from the big labs and friends came in:

It’s now clear, something’s happening, and it’s about non-quantum resistant schemes.
Congratulation to the folks who had decided to go hash-based, or quantum-based a while back. Today, they are celebrating. Congratulation to people who decided to be crypto agile from the start. On the other hand, the people who cornered themselves in non-quantum resistants primitives are most likely going to have to fight against the inertia. That quantum computers are coming or not, this week’s bundle of news is most likely going to become the norm.






