AI and post-quantum cryptography: don't panic, but take inventory
Introduction Early December 2026, an announcement was enough to raise an eyebrow: an AI had reportedly found new things about the cryptography meant to resist quantum computers. Before panicking (or shrugging it off),
Introduction
Early December 2026, an announcement was enough to raise an eyebrow: an AI had reportedly found new things about the cryptography meant to resist quantum computers. Before panicking (or shrugging it off), let's see what it really says, and what it changes for us developers.
TL;DR
- Anthropic published theoretical work on lattice-based cryptography.
- Nothing is broken today, according to CIRG and ANSSI.
- Long-term confidence in structured lattices is worth watching.
- To do: find where your algorithms are and prepare your migration.
The starting point
Grab a token from your application and run this:
node -e "console.log(Buffer.from(process.argv[1].split('.')[0],'base64url').toString())" "$TOKEN"
Seeing RS256 or ES256? That's RSA or ECDSA, two families that a powerful enough quantum computer could break. Let's keep that in mind 👀
Here is the announcement: Anthropic published a series of theoretical papers on lattice cryptography, with results found using unreleased Claude models.
// Detect dark theme var iframe = document.getElementById('tweet-2127538548119339339-35'); if (document.body.className.includes('dark-theme')) { iframe.src = "https://platform.twitter.com/embed/Tweet.html?id=2127538548119339339&theme=dark" }
To get some perspective: CIRG, a group of cryptographers, reviewed the work, and ANSSI, the French cybersecurity agency, published its opinion: no immediate practical impact.
How it made me feel
I'll admit it, I got a bit scared. Scared that with quantum computing, everything would break very fast, tomorrow or in the coming months. And I still have that fear: AI is improving quickly, while encryption like RSA is pretty much everywhere, in our phones, our signatures, our emails. In my head, it was worse than the Y2K bug.
After digging in, I'd temper that: this work does not break RSA, and quantum computers able to do it don't exist yet. Unlike Y2K, there is no known date. That's no reason to wait.
What is post-quantum cryptography?
Post-quantum cryptography refers to schemes designed to resist attacks from future quantum computers. It runs on classical machines.
Many of the new standards rely on lattices. There are two main flavors: structured lattices, which are more efficient, and unstructured ones, less efficient but possibly offering fewer angles to attackers.
What the results actually say
On the structured side, the headline result is a quantum, quasi-polynomial-time attack on certain module lattice problems. That's the family behind ML-KEM and ML-DSA, standardized by NIST.
Except that against these standards today, it costs far more than previously known attacks. According to CIRG, even 21000 quantum operations would be far below its cost for ML-KEM-512 and ML-DSA-44. We're talking about a galactic scale.
The gain is asymptotic: it grows with the polynomial degree, while these standards raise security through the rank and keep a degree of 256. CIRG still expects improvements, and Anthropic says its long-term confidence in structured lattices has decreased.
On the unstructured side, no improvement in attacks is reported. CIRG sees this as meaningful support for their security.
Where to look in your project
This is where it gets practical for us devs. Here is the list I suggest:
- Tokens: which algorithms sign your JWTs?
- Certificates: what do your websites and internal services use?
- SSH and Git: which key types do you use to connect and sign your commits?
- Code: are any algorithms hardcoded?
- Dependencies: do your libraries have a post-quantum roadmap?
- Agility: is changing an algorithm one line of configuration or a whole project?
For a first look at your code:
grep -rnE "RS(256|384|512)|ES(256|384|512)|RSA|ECDSA|ECDH" ./src
And to check the key algorithm of a certificate (replace the domain):
echo | openssl s_client -connect example.com:443 -servername example.com 2>/dev/null \
| openssl x509 -noout -text | grep "Public Key Algorithm"
This is not an audit: the search won't see your libraries' default settings, or what happens at your providers. But it's a starting point.
Good news on the token side: RFC 9964, published in May 2026, registers ML-DSA-44, ML-DSA-65 and ML-DSA-87 for JOSE, the family of standards behind JWTs. A published RFC doesn't mean your library supports it, so check first.
What to do now
Above all, don't postpone your migration. Waiting means staying on systems that can be broken with far fewer quantum resources.
- Prefer hybrid schemes that combine different mathematical foundations.
- Choose the highest security level your application supports.
- Design crypto-agile systems.
Here is the timeline from ANSSI, the French agency:
| When | What ANSSI plans |
|---|---|
| From 2027 | Quantum threat required in qualifications of the most critical products |
| From 2028 | Same requirement for other products |
| End of 2030 | Sensitive systems migrated, no new deployment without post-quantum |
It looks far away, but an inventory takes time ⏳
Wrapping up
No, AI didn't break cryptography with this announcement. It mostly reminds us that an algorithm can lose our confidence, and that it's better to know where it hides before we need to.
Start small: one token, one certificate, one line in your code. That's already a win 🔐
What about you, have you started looking?
Sources
Originally published by Dev.to AI. Aggregated on AIWithGhost for educational purposes — full credit and traffic to the original publisher.