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:
- The messages were safe on the day they were sent.
- Someone kept them anyway.
- 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 is | Examples | Quantum computer | |
|---|---|---|---|
| Public-key | Strangers agree a secret, or sign | RSA, ECDSA, EdDSA, ECDH, X25519 | Breaks (Shor’s algorithm) |
| Symmetric | Both sides already share a key | AES, SHA-2, SHA-3, HMAC | Stays. 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:
| Standard | Name (was) | Replaces | Built on |
|---|---|---|---|
| FIPS 203 | ML-KEM (CRYSTALS-Kyber) | RSA, ECDH, X25519 for agreeing a key: “the primary standard for general encryption” | Lattices |
| FIPS 204 | ML-DSA (CRYSTALS-Dilithium) | RSA, ECDSA, EdDSA for signing: “the primary standard for protecting digital signatures” | Lattices |
| FIPS 205 | SLH-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”.
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#
| Keyword | Meaning here |
|---|---|
| One-time pad | A cipher that uses a page of random key once; unbreakable if the key is never reused |
| Public-key cryptography | Two keys, one public and one private; lets strangers agree a secret or check a signature |
| Symmetric cryptography | One shared secret key (AES); hashes and HMAC sit with it here |
| Shor’s algorithm | Peter Shor’s 1994 quantum algorithm for factoring and discrete logarithms |
| CRQC | Cryptanalytically relevant quantum computer: one big and reliable enough to run Shor’s algorithm on real keys |
| Harvest now, decrypt later | Record encrypted traffic today, read it when a CRQC exists |
| Quantum-safe / post-quantum | Cryptography that still holds against a CRQC, running on ordinary computers |
| FIPS 203 / 204 / 205 | The three post-quantum standards: ML-KEM (agree a key), ML-DSA (sign), SLH-DSA (backup signing) |
| Crypto agility | Being 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#
- Venona project: Wikipedia; start date, duplicated one-time pads, decryption from 1946 to 1980, about 3,000 messages, public release in 1995
- New Directions in Cryptography: W. Diffie and M. Hellman, IEEE Transactions on Information Theory, November 1976
- A Method for Obtaining Digital Signatures and Public-Key Cryptosystems: R. Rivest, A. Shamir, L. Adleman, received April 1977; no couriers, unforgeable signatures, security from factoring
- Polynomial-Time Algorithms for Prime Factorization and Discrete Logarithms on a Quantum Computer: P. Shor; expanded version of the November 1994 FOCS paper
- NIST IR 8547, Transition to Post-Quantum Cryptography Standards: NIST, October 2026; Shor and affected algorithms, symmetric crypto, harvest now decrypt later, Mosca, 2030/2035, 10 to 20 years
- NIST releases first 3 finalized post-quantum encryption standards: NIST, 13 August 2024; FIPS 203, 204 and 205, their former names and intended uses, the 2016 call, the planned FN-DSA (FIPS 206)
- NIST selects HQC as fifth algorithm for post-quantum encryption: NIST, 11 March 2025
- OMB M-26-15, Execution of the Migration to Post-Quantum Cryptography: US Office of Management and Budget, June 2026; federal deadlines
- Ring-LWE is solvable in quantum quasipolynomial time, and more: the PQCA perspective: PQCA, 2 December 2026
Related on this site: SSDLC in the age of AI exploits.



