↓ Skip to main content
Security

Why I started worrying about a computer that doesn't exist yet

Getting ready for quantum computers - This article is part of a series.
Part 1: This Article
In 1943 the US Army started keeping copies of Soviet telegrams it couldn’t read. Some of them were read years later, and they named spies. I think of that story every time someone tells me quantum computers are “still years away”.

If names like RSA, X25519 or ECDSA are new to you, the primer explains what each one does, in plain words.

A drawer full of messages nobody could read
#

The project was called Venona. It started on 1 February 1943, when the Army’s Signal Intelligence Service began collecting encrypted messages sent by Soviet intelligence. On paper this was hopeless. The Soviets used a one-time pad: every message was mixed with a page of random numbers used once and then thrown away. Used correctly, that system can’t be broken.

But wartime is not “used correctly”. When the German army advanced on Moscow, the factory making the pads was under pressure and printed around 35,000 pages of key numbers twice. American analysts noticed the repeats. From 1946 they started, slowly, to read messages that had been sitting in their files for years. The work went on until 1980. About 3,000 messages were decrypted, among them ones that exposed Soviet spying on the Manhattan Project and the Cambridge Five spy ring. The public only learned about it in 1995.

What stayed with me is not the codebreaking. It’s the order of events:

  1. The messages were safe on the day they were sent.
  2. Someone kept them anyway.
  3. Something changed later, and the old messages gave up their secrets.

Hold on to that pattern; it comes back.

The lock that runs the internet
#

For most of history, two people who wanted to talk secretly had to meet first, or send a courier, to share a key. In November 1976, Whitfield Diffie and Martin Hellman published “New Directions in Cryptography”, about systems that “minimize the need for secure key distribution channels and supply the equivalent of a written signature”. A few months later, in April 1977, Rivest, Shamir and Adleman submitted the RSA paper. Its first promise was that “couriers or other secure means are not needed to transmit keys”. Its second was digital signatures that “cannot be forged”.

That idea, public-key cryptography, is the quiet foundation of everything I do online. The X25519 key exchange and the ECDSA signatures I found inside one gh command are its descendants, and so are git push over SSH, a signed software update and a login token passed between two services. The RSA paper says where its strength comes from: “the difficulty of factoring” a very large number.

1994: the paper that put a date on the lock
#

In November 1994, Peter Shor presented a paper at a computer-science symposium: “Polynomial-Time Algorithms for Prime Factorization and Discrete Logarithms on a Quantum Computer”. Factoring and discrete logarithms are exactly the two “hard” problems that RSA, Diffie-Hellman and elliptic-curve cryptography rest on. Shor showed that a quantum computer could solve them efficiently.

There was a catch, and it’s in the abstract: the algorithms run on a “hypothetical quantum computer”. In 1994 nobody had one. For most of the thirty years since, that was the comforting part of the story.

So why is everyone talking about it now?
#

Three things changed, and together they turned an old maths result into a to-do list.

The recordings. Remember Venona’s pattern. NIST’s transition report, IR 8547 (final version, October 2026) names it directly: “harvest now, decrypt later”, where adversaries “collect encrypted data now with the goal of decrypting it once quantum technology matures”. Today’s traffic doesn’t need a quantum computer today. It only needs to be stored until one exists. The report puts the timing as a simple sum, known as Mosca’s theorem: if the years your data must stay secret plus the years your migration takes are more than the years until such a machine exists, you are already late.

The replacements are ready. In August 2024 NIST published three new standards built on maths that a quantum computer isn’t known to break, and asked administrators to “start integrating them into their systems immediately, because full integration will take time”. More on those three below.

The clock. IR 8547 sets dates: the old public-key algorithms are deprecated after 2030 and disallowed after 2035. US federal systems that matter most must switch their key exchange by 31 December 2030 (OMB M-26-15). And the report reminds us that past changes of this kind took “10 to 20 years”. Counted that way, 2035 is close.

What “quantum-safe” means, in plain words
#

Only now does the heavy phrase earn its place. Quantum-safe (also called post-quantum) cryptography is cryptography that still holds if that hypothetical computer becomes real. It runs on ordinary computers; it just rests on maths Shor’s algorithm doesn’t touch.

The useful surprise for me was that not everything is in danger. IR 8547 splits it cleanly:

What it isExamplesQuantum computer
Public-keyStrangers agree a secret, or signRSA, ECDSA, EdDSA, ECDH, X25519Breaks (Shor’s algorithm)
SymmetricBoth sides already share a keyAES, SHA-2, SHA-3, HMACStays. NIST “does not expect to need to transition away”

One more detail that changed my priorities: signatures can’t be harvested. A recorded signature can’t be “decrypted” later; a forger needs the quantum computer at the moment of the attack. So the urgent part is key exchange, the Venona part. Signatures matter most where keys live a long time: root certificates, firmware, code signing.

The three new locks
#

If RSA was the lock of 1977, these are the locks of 2024. They didn’t come from one lab. NIST ran an eight-year public process, starting with a call for submissions in 2016, while cryptographers around the world tried to break every entry. On 13 August 2024 the survivors became Federal Information Processing Standards (FIPS), with new, plain names:

StandardName (was)ReplacesBuilt on
FIPS 203ML-KEM (CRYSTALS-Kyber)RSA, ECDH, X25519 for agreeing a key: “the primary standard for general encryption”Lattices
FIPS 204ML-DSA (CRYSTALS-Dilithium)RSA, ECDSA, EdDSA for signing: “the primary standard for protecting digital signatures”Lattices
FIPS 205SLH-DSA (SPHINCS+)The same, as “a backup method in case ML-DSA proves vulnerable”Hash functions

The backup is built on different maths on purpose: if someone finds a weakness in lattices, SLH-DSA, which rests only on hashes, still stands. For key agreement, the same role goes to HQC, chosen in March 2025. A fourth standard, FN-DSA (FIPS 206, from FALCON), was announced as coming next. NIST’s advice on the day was short: “Go ahead and start using these three.”

Even the new locks get tested
#

This week reminded me that the new maths isn’t finished either. On 2 December 2026 the Post-Quantum Cryptography Alliance wrote about new theoretical results on lattices, the maths under ML-KEM and ML-DSA. The results are “not practical at ML-KEM or ML-DSA parameters”, but “impractical today is not the same as irrelevant”. Venona’s pads were also perfect, until the day they weren’t.

So the lesson isn’t “swap RSA for ML-KEM and relax”. It’s “build things so that the lock can be changed again”.

Two columns. Breaks under a large quantum computer (Shor’s algorithm): RSA, ECDSA and EdDSA, ECDH and X25519, finite-field Diffie-Hellman, used for key exchange and signatures. Stays (NIST expects no transition): AES, SHA-2 and SHA-3, HMAC, random bit generation. Replacements: ML-KEM (FIPS 203), ML-DSA (FIPS 204), SLH-DSA (FIPS 205), HQC as backup KEM, FN-DSA still to come. Timeline: deprecated after 2030, disallowed after 2035.
The whole picture on one page

Where this leaves me
#

When I sat down to list the cryptography in my own projects, I couldn’t. TLS certificates and SSH keys I know about. But which algorithm does that side project sign its tokens with? Which library chooses the TLS key exchange in that Go service? What’s inside the container images I publish? And as I found out the hard way, even measuring one connection can fool you.

That’s the real starting point of this series. Before I go hunting for the old locks, though, I want to see the new ones work with my own hands. That’s where the next post starts.

Keywords
#

KeywordMeaning here
One-time padA cipher that uses a page of random key once; unbreakable if the key is never reused
Public-key cryptographyTwo keys, one public and one private; lets strangers agree a secret or check a signature
Symmetric cryptographyOne shared secret key (AES); hashes and HMAC sit with it here
Shor’s algorithmPeter Shor’s 1994 quantum algorithm for factoring and discrete logarithms
CRQCCryptanalytically relevant quantum computer: one big and reliable enough to run Shor’s algorithm on real keys
Harvest now, decrypt laterRecord encrypted traffic today, read it when a CRQC exists
Quantum-safe / post-quantumCryptography that still holds against a CRQC, running on ordinary computers
FIPS 203 / 204 / 205The three post-quantum standards: ML-KEM (agree a key), ML-DSA (sign), SLH-DSA (backup signing)
Crypto agilityBeing able to change an algorithm by configuration instead of a rewrite

Takeaways
#

  • Venona’s lesson: data that is safe today can be read later if someone keeps it and something changes.
  • Public-key cryptography (RSA since 1977, Diffie-Hellman since 1976) is what a quantum computer would break; AES and SHA-2 are fine.
  • It matters now because traffic can be recorded today, the replacements were standardised in 2024, and NIST’s deadlines are 2030 and 2035.
  • The replacements are FIPS 203 (ML-KEM), FIPS 204 (ML-DSA) and FIPS 205 (SLH-DSA, the hash-based backup).
  • Key exchange is the urgent part. Aim to be able to change locks again, not just once.

References
#

Related on this site: SSDLC in the age of AI exploits.

Author
Samarthya
Engineer, learner, tinkerer. This is my trophy shelf of everyday work and leisure.
Getting ready for quantum computers - This article is part of a series.
Part 1: This Article

Related

The locks I use every day without noticing

··9 mins
I type gh pr list dozens of times a day. The answer comes back in under a second from a server I’ve never met, and nobody in between can read it or change it. One evening I got curious about what actually happens in that second. Three jobs, four families Following one command onto the wire # First, where does gh go? Its debug switch shows every request:

My test said GitHub was quantum-ready. My antivirus was answering.

I wrote a small program to check whether GitHub already uses post-quantum key exchange. It said yes. I was about to write that down as a fact when a different tool gave me a different answer, and the reason was sitting on my own laptop. Two connections, one of them hidden A result that looked too good # While writing about the locks I use every day I wanted one line of evidence: which key exchange does a real site use today? Go makes that easy. Since Go 1.25 a connection reports the key-exchange group it used, so this is the whole program:

Three things osv.dev taught me

I thought of osv.dev as a big list of bugs: look up your package and version, get a yes or no. Then I downloaded its raw data and counted. The list turned out to be mostly something else, the word “fixed” turned out to depend on who you ask, and one famous bug turned out to be many records. What the raw data showed me In the Learning OSV series I learned how to read a record, run the scanner and let it fix a project. This post is different. I didn’t read one record; I looked at OSV’s data as a whole, asked the API a few pointed questions, and wrote down what surprised me. All numbers are from 4 December 2026.