Every lock gets picked eventually: post-AI encryption

Share

Nothing we use today is broken. But AI is now finding cracks in the math behind encryption, and that changes how we should plan.

On December 2, the NSA told owners and vendors of national security systems to move to post-quantum cryptography immediately. Agencies have heard that call before. This time the notice gave a new reason: frontier AI companies have disclosed findings to the government that affect the security of some cryptographic systems in use.

For years, the threat to encryption had one name: quantum computers. Now there's a second one, and it moves a lot faster.

How we got here in six months

Date (2026) What happened
Dec 2 NSA tells NSS owners and vendors to start PQC now, citing frontier AI disclosures
Nov 30 Anthropic publishes four lattice papers showing a theoretical quantum attack on the math under ML-KEM and ML-DSA
Nov 24 to 27 Rumors that an AI lab can factor RSA keys. Scott Aaronson says labs are sitting on unreleased crypto results but pushes back on the factoring claim
Nov 25 Google's Gemini 4 agent posts a factoring proof. Big for math, too slow to threaten RSA
Oct 9 Matthew Green puts a 15% chance on losing confidence in today's public-key algorithms
Jul 28 Claude Mythos Preview breaks HAWK, a post-quantum signature candidate, and speeds up attacks on reduced-round AES
Jun 22 EO 14412 pulls federal PQC deadlines in to 2030 and 2031

HAWK bothers me most. It had survived years of expert review. Claude halved its key strength, and each result cost about $100K. Any well-funded attacker could pay that.

To be fair, HAWK was a candidate, not a standard. The process worked, and the flaw was caught before anyone shipped it. What worries me is how fast it happened.

Is ML-KEM still safe?

Yes, for now. ML-KEM is the main post-quantum standard NIST picked in 2024, and it's what most of us are migrating to.

AI doesn't break encryption by guessing keys. There are more possible keys than atoms in the universe, so even the fastest model can't try them all. The only way in is a math shortcut that humans missed.

Anthropic's November papers found one, but it has three big catches:

  • It only runs on a large fault-tolerant quantum computer, which doesn't exist yet.
  • It kicks in as one lattice dimension grows. The standardized parameters keep that dimension fixed at 256, so the attack doesn't apply to them.
  • An outside review group (CIRG) called its cost "galactic" at today's settings.

AI also found no improvement against ML-KEM on regular computers.

The part that should keep us honest: the quantum safety margin scales more slowly than assumed, and reviewers expect the attack to get better. I'd plan as if they're right.

What "post-AI encryption" means

Post-quantum crypto answers one question: what happens when quantum computers get strong? Post-AI encryption asks a different one: what happens when AI finds a shortcut in the math itself?

There's no post-AI algorithm and no standard. Defense One called it a new item for your to-do list back in October, and I think that's the right framing. There's nothing to buy here. It's about how you plan.

The mindset is simple. Stop assuming any algorithm lasts 20 years. Assume every lock gets picked eventually, and make sure you can change locks fast.

Matthew Green put the problem well: AI produces surprises far faster than humans can replace standards, so you only recover if you prepared in advance. A crypto migration usually takes years, and an AI result can show up in a week.

What I'd actually do

Here's how I'd run it. None of it is exotic.

  1. Find your crypto first. Scan TLS endpoints, export keys and certs from KMS and your CA, and scan code for crypto libraries. Give every item an owner and a note on how long its data must stay secret. I'd store it as a CBOM so it sits next to your SBOMs.
  2. Turn on hybrid TLS, which pairs a classical algorithm with ML-KEM (X25519 + ML-KEM is the usual combo). Modern OpenSSL, Go, browsers and the big cloud load balancers support it, so it's mostly a config change.
  3. Leave AES-256 alone. Symmetric crypto with big keys holds up fine, so just retire any AES-128 you find.
  4. Make crypto easy to swap. Route it through one internal library, keep algorithm choices in config, and add a CI check that blocks banned algorithms. If changing an algorithm means touching dozens of repos, you aren't agile yet.
  5. Dual-sign what you ship. Sign agents, images and releases with a classical key plus ML-DSA. Firmware and roots of trust are the hardest things to fix later, and that's exactly what the NSA called out.
  6. Spread your bets across different math. Use the strongest parameter sets you can (ML-KEM-1024, ML-DSA-87), and keep a backup like hash-based SLH-DSA so one lattice result can't take everything down.
  7. Ask your vendors which algorithms they use, whether they support hybrid, and when their PQC roadmap lands. Put those questions in every security review.
  8. Write the runbook before you need it. Decide who makes the call when a crack lands, how fast you can rotate keys, and what you'll tell customers. Then tabletop it once a year.

If you only get three done this quarter, make it the inventory, hybrid TLS and dual-signing.

Where this leaves us

What changed this year is the clock. Crypto used to fail slowly, over decades, with plenty of warning. Now a well-funded lab can find a crack in a week, and it decides when to tell anyone.

So the goal isn't to pick the perfect lock. It's to know where all your locks are and be able to change them before someone else notices the crack.

Moving to PQC is a good start. Just plan on having to move again.

Read more