Sulat.com / Writing on AIFriday, December 4, 2026
Enter →
Artificial Intelligence/4 December 2026

Quantum computers and encryption, explained

A plain-English story of how RSA and elliptic curves work, what a quantum computer does to them, and how post-quantum encryption replaces them, with hand-drawn diagrams and demos I ran.

Glowing padlock bursting open with sparks beside a small quantum chip and a lattice-dot key, on a dark background
Illustration: Sulat

At a glance

  • No quantum computer has broken anything that matters, and the biggest real chip, Google's Willow, has 105 qubits.
  • Paper designs for breaking RSA-2048 have fallen from about a billion qubits in 2012 to under 100,000 in 2026, and none has been built.
  • Shor's algorithm breaks RSA, elliptic curves and Diffie-Hellman, while Grover's only dents ciphers like AES, which just need bigger keys.
  • NIST's replacements rest on lattices, hash functions and error-correcting codes, and browsers already pair the old and new locks in a hybrid.
  • In my loopback runs the hybrid grew the client's first message from 217 to about 1,400 bytes, and a hybrid-only server turned away an old-style client.

No quantum computer has broken anything that matters. That’s still true today, and it’s the first thing to know. The second is that the NSA, the UK’s National Cyber Security Centre, Cloudflare, Google and Microsoft are all moving their encryption to something new anyway, and the reason is a story that starts in 1973. This piece tells it the way I’d tell it to a 12-year-old: what the old locks are, why a quantum computer is the one thing that opens them, how the replacements work, and where everyone is right now.

The news this week is in my other pieces: the NSA advisory, what it means for ordinary people, the eight-company joint statement and Anthropic’s lattice papers. This is the explainer underneath them. I also ran small versions of every idea below, and the results are in the text.

105

qubits on Google’s Willow chip, the real hardware

Under 1 million

qubits that a 2025 design says RSA-2048 would need

2035

year NIST plans to disallow today’s public-key encryption

The problem every secret has

Say you want to send a friend a secret note and a thief is watching every road. You can lock the note in a box, but your friend needs a copy of the key. How do you get them the key without the thief copying it? For most of history the answer was to meet in person first and swap a codebook. That doesn’t work for two strangers on the internet, which is what you and a website are.

The fix is a lock that anyone can close but only one person can open. You hand out padlocks to the whole world, and only you hold the key that opens them. The rest of this story is about how people built that padlock out of maths, and what could pick it.

1973 to 1978: the lock anyone can close

The idea was invented twice. In 1973 Clifford Cocks, working at GCHQ, Britain’s signals agency, worked out a version of it. It was secret, so nobody outside knew until GCHQ made it public in 1997. In 1976 Whitfield Diffie and Martin Hellman published the idea in the open: two people shout numbers across a room and end up sharing a secret colour that nobody listening can work out. Think of mixing paint. Everyone sees the mixed pots, and nobody can un-mix them.

In 1977 Ron Rivest, Adi Shamir and Leonard Adleman built the version that took over the world. It’s called RSA, after their initials, and they published it in the Communications of the ACM in February 1978.

Locking is a blink (61 times 53 equals 3233); unlocking means guessing the two factors of 3233, and a real RSA key has 617 digits
Multiplying is easy and un-multiplying is hard, and the lock lives in that gap. Illustration: Sulat.

How RSA works, with a lock small enough to break

RSA rests on one fact about numbers. Multiplying two big prime numbers is quick. Starting from the answer and finding the two primes is slow, and the bigger the numbers, the slower it gets. The public padlock is the product. The private key is the two primes it came from.

Take the product 3233, which is 61 times 53. With the textbook RSA recipe and a public exponent of 17, the message 65 scrambles to 2790. Anyone can do that step. To undo it you need the private number 2753, and you only get that if you know 61 and 53. I ran it:

Code
public key (n=3233, e=17); message 65 -> ciphertext 2790
attacker factors n by trial division: 53 x 61; derives d=2753; decrypts to 65

A number that small falls to guessing in a blink, so it protects nothing. A real RSA-2048 key is a number 617 digits long. To see how the pain grows, I wrote a simple factoring program (Pollard’s rho, in plain Python on one CPU core) and timed it on numbers of growing size. Each row is the median of three numbers I built from two primes of equal size.

Size of the numberTime to factor
40 bits0.0005 seconds
56 bits0.008 seconds
72 bits0.13 seconds
88 bits1.8 seconds
95 bits8.5 seconds
104 bits38 seconds
112 bits140 seconds
My run of Pollard’s rho on one core. I stopped it after the 112-bit row.
Terminal output: textbook RSA with n=3233 broken by trial division, then Pollard rho factoring times from 40 to 112 bits
The terminal output from my run, stopped after the 112-bit row. Screenshot from my test.

Over the last rows, every 8 extra bits cost roughly four times as much time. That’s the shape of a hard problem: it doesn’t get a bit harder, it gets exponentially harder. Real attackers use a much better method than mine, the number field sieve, and it still can’t touch a 2048-bit number. A classical computer, however many you rent, loses this race.

1985: the same trick on a curve

RSA keys are big, 2048 bits and up, which is slow and bulky on a phone. In 1985 Neal Koblitz and Victor Miller each suggested, separately, a different hard puzzle built on elliptic curves, a family of looping curves with a neat property: you can “add” two points on the curve and land on a third point.

The 12-year-old version is a pogo stick on a track. Start at a fixed point and hop k times. Hopping a million times takes a few quick doublings. But if I show you only where you landed, there’s no known way to work out how many hops it took. The number of hops is the private key and the landing spot is the public one. Because that puzzle is harder per bit, a 256-bit curve key gives roughly the protection of a 3072-bit RSA key. That’s why curves such as X25519 for the key exchange and P-256 or Ed25519 for signatures are everywhere, and why Bitcoin and Ethereum use curve signatures too.

Keep that in mind, because it’s the second thing a quantum computer can open.

What a quantum computer is

An ordinary computer stores bits. A bit is a coin lying flat: heads or tails, 0 or 1. A quantum computer stores qubits. A qubit is more like a coin spinning in the air. Until you look, it’s a blend of 0 and 1, and the blend can be tilted so one outcome is more likely than the other.

A bit is a 0 or a 1 like a flat coin; a qubit is a blend of both until measured, like a spinning coin
A quantum computer isn’t a faster laptop. It’s good at a few jobs. Illustration: Sulat.

A handful of qubits can hold a blend of a huge number of possibilities at once, and the possibilities behave like waves, so a clever program can make the wrong answers cancel out and the right one stand tall, the way ripples can cancel on a pond. The hard part is that qubits are fragile. A stray bump of heat or vibration scrambles them, so the builders spend most of their qubits on error correction. They call the error-corrected result a logical qubit, and each one can cost hundreds of physical qubits or more.

It’s also not a faster everything-machine. For most jobs, your laptop wins. A quantum computer is good at a few jobs where there’s a hidden pattern for the waves to find. Breaking the padlocks above turned out to be one of them.

1994: Shor finds the pattern

In 1994 Peter Shor, then at AT&T Bell Labs, showed that factoring a number can be turned into a pattern-finding problem, and a quantum computer is very good at finding patterns. The trick works on the number 15.

Pick a guess, say 7. Now write down 7 to the power of 0, 1, 2, 3 and so on, but keep only the remainder after dividing by 15. You get 1, 7, 4, 13, then back to 1, 7, 4, 13. It repeats every 4 steps. That repeat length, 4, is the pattern. Once you have it, school arithmetic finishes the job: 7 squared is 49, and the greatest common divisors of 48 and 15, and of 50 and 15, are 3 and 5. So 15 is 3 times 5.

Code
python3 -c "print([pow(7,x,15) for x in range(8)])"
[1, 7, 4, 13, 1, 7, 4, 13]
Powers of 7 mod 15 repeat every 4 steps; the quantum part finds that period, then simple arithmetic gives 15 equals 3 times 5
The quantum computer only finds the pattern length. Schoolbook arithmetic does the rest. Illustration: Sulat.

For a small number you can find the repeat by hand. For a 617-digit number the repeat is astronomically long, and a normal computer would be hunting for it forever. A quantum computer can look at all the powers at once and use a tool called the quantum Fourier transform to read off the repeat length from the waves. That’s Shor’s algorithm. The same idea cracks the elliptic-curve puzzle too, and Diffie and Hellman’s paint mixing. Those three are the locks the world runs on.

I can’t run a quantum computer, so I did the next best thing. I wrote a simulation on an ordinary computer that follows what Shor’s circuit does to the numbers, using a fast Fourier transform in place of the quantum one, and let it factor seven small numbers. It’s a classical program, so it proves the recipe works, not that anything quantum happened.

NGuess aQubits in the main registerAmplitudes to trackPattern lengthFactors
157825643 × 5
152825643 × 5
212951267 × 3
353112,048127 × 5
772138,192307 × 11
14321532,7686011 × 13
22121665,5362413 × 17
Output of my simulation. Qubit counts are for the main register only.
Terminal output of a classical simulation of Shor's algorithm finding periods and factors for N from 15 up to 221
My classical simulation of Shor’s circuit statistics, not a quantum computer run. Screenshot from my test.

The last column shows the point. Every extra qubit doubles the numbers my laptop-style simulation has to track. Sixteen qubits meant 65,536 of them. Two thousand qubits would mean tracking about 2 to the power of 2,000 numbers, a figure more than 600 digits long, which no computer could ever hold. A real quantum computer doesn’t track them, it is them. That’s what makes a quantum computer different, and it’s why my simulation is useless long before a real RSA key.

Real hardware is far behind. In 2001 an IBM team used a seven-qubit machine to factor 15 into 3 and 5, and the demonstrations since have stayed tiny, because the machines aren’t big or clean enough yet.

What quantum breaks and what it only dents

Not all encryption falls. Two kinds are in play, and a quantum computer treats them very differently.

RSA, elliptic curves and Diffie-Hellman fall to Shor; AES-256, SHA-384 and SHA-512 are only dented by Grover and just need bigger sizes
Only the public-key locks need replacing. The scramblers just need bigger keys. Illustration: Sulat.

The padlocks, meaning RSA, elliptic curves and Diffie-Hellman, are what Shor’s trick unpicks. They’re used to agree on a secret and to sign things. The scramblers, meaning the ciphers like AES that do the actual heavy scrambling, and hash functions like SHA, have no hidden pattern for Shor to find. In 1996 Lov Grover showed a quantum computer can search through possible keys in roughly the square root of the usual number of tries. That halves the strength in bits, so a 256-bit AES key behaves like a 128-bit one, which is still far out of reach. The answer there is simply to use the bigger sizes. The NSA’s CNSA 2.0 suite asks for AES-256 and SHA-384 or SHA-512 for this reason.

So the whole job is to replace the padlocks. The scramblers stay.

How big a machine would it take?

Nobody has built the machine and nobody can give a date. What exists are designs on paper, and they’ve shrunk a lot.

Bars falling from about 1 billion qubits in 2012 to under 1 million in 2025 and 23,000 to 100,000 in 2026 preprints; Willow has 105
The estimates fell by orders of magnitude, but they’re designs on paper and Willow is real. Illustration: Sulat.
YearWhoBreaksPhysical qubitsRun time
2012Fowler and colleaguesRSA-2048About 1 billionAbout a day
2019Gidney and EkeråRSA-204820 million8 hours
2025Gidney, GoogleRSA-2048Under 1 millionUnder a week
2026Iceberg QuantumRSA-2048Under 100,000Not stated
2026Alice & BobRSA-2048About 23,000 (cat qubits)About 3 days
2026Google Quantum AI256-bit elliptic curveUnder 500,000Minutes
2026IonQ256-bit elliptic curveAbout 19,400About 26 days
2026Alice & Bob256-bit elliptic curveAbout 30,000 (cat qubits)About an hour
From each team’s own paper or announcement. The 2025 figure assumes a 0.1% gate error and a one-microsecond error-correction cycle.

The fall is steep. From about a billion qubits to under a hundred thousand is roughly ten-thousand-fold in 14 years, and in these designs a 256-bit curve needs fewer qubits than RSA-2048. But every row is a design that relies on low hardware errors and on qubits wired together in ways nobody has built at that scale. Alice & Bob’s numbers, for example, assume a kind of qubit that never flips one way, and the team says so. Gidney’s 2025 paper, the one that cut the RSA-2048 figure below a million, is a preprint and needs about 1,400 logical qubits.

Today’s real chips are hundreds of times smaller than even the smallest design. Google’s Willow, announced in December 2024, has 105 qubits, and its main result was showing that error rates fall as you add more qubits to the error-correcting code, which is the necessary first step. Going from 105 to a hundred thousand or more good qubits is the gap that the word “when” lives in. Companies such as IonQ say their roadmaps reach the relevant scale around 2028. Those are their goals, and nobody has delivered the machine.

The right response to an estimate that keeps shrinking is to plan as though the machine arrives within your migration window, because the cost of being early is small and the cost of being late is not.

Record now, crack later

The date matters less than it seems. A thief doesn’t need the quantum computer today. They can copy encrypted traffic today and wait. If the secret is still valuable when the machine arrives, they decrypt it then. The NSA’s press release puts it plainly: “Adversaries are already collecting encrypted information to decrypt once the capabilities become available.”

Three steps: someone copies your scrambled messages today, stores them for years, and a big quantum computer unlocks them later
Old secrets can be stolen later, which is why the key exchange is the urgent part. Illustration: Sulat.

This is why the two jobs of public-key encryption get different urgency. The key exchange, which hides what you send, has to be fixed before the machine exists, because recordings made now are exposed later. The signature, which proves a website is who it says, only matters at the moment you connect, so it can be fixed when the machine gets close. In practice the key exchange is already moving and the signatures are lagging, which my guide to the NSA advisory covers.

2016 to 2024: the contest for new locks

NIST, the US standards agency, ran this as a public contest. In 2016 it invited cryptographers around the world to submit locks that a quantum computer can’t pick, then spent years inviting everyone to attack them. Sixty-nine designs made it into the first round. Winners were announced in July 2022, and three standards were published on 13 August 2024.

Along the way, two serious candidates fell to attacks from outsiders using ordinary computers: Rainbow in February 2022, and SIKE in July 2022, in about an hour on a single core. Both would have been disasters if they’d been standardised first and attacked later.

Timeline from GCHQ's 1973 invention through RSA, elliptic curves, Shor's 1994 algorithm, NIST standards and the December 2026 NSA advisory
Fifty years from a secret GCHQ idea to this week’s NSA advisory. Illustration: Sulat.
StandardOld nameJobBased on
ML-KEM (FIPS 203)KyberAgree a secret keyLattices
ML-DSA (FIPS 204)DilithiumSign thingsLattices
SLH-DSA (FIPS 205)SPHINCS+Sign things, as the backupHash functions
HQC (selected March 2025)HQCAgree a secret key, as the backupError-correcting codes
NIST’s post-quantum picks. HQC’s standard isn’t published yet, and FIPS 206, a signature standard based on Falcon, is still in development.

NIST has also set dates for itself. Its transition report, NIST IR 8547, was finalised on 27 October 2026. It deprecates RSA and elliptic curves after 2030 and disallows them after 2035. A US executive order sets earlier dates for the most sensitive federal systems: 2030 for key exchange and 2031 for signatures.

How the new locks work

The new locks have to be built on puzzles that nobody, quantum computers included, knows a shortcut for. NIST picked three families so that one surprise can’t sink everything.

Lattices (ML-KEM, ML-DSA), hash functions (SLH-DSA) and error-correcting codes (HQC, the backup) as three kinds of hard puzzle
NIST picked locks from three different kinds of puzzle so one break can’t sink them all. Illustration: Sulat.

Lattices: a grid with a hidden target

Picture a grid of dots stretching out in hundreds of directions at once. A hidden spot sits somewhere between the dots, and the puzzle is to find the nearest dot. In two dimensions a child can do it. In hundreds of dimensions nobody has a fast method, quantum computers included. ML-KEM and ML-DSA are built on this idea.

A grid of dots with a hidden target and a closest dot to find; easy in two dimensions, no fast method known in hundreds
Lattice locks hide a target in a grid with hundreds of dimensions. Illustration: Sulat.

The version used for encryption is called learning with errors. You publish a pile of equations about a secret list of numbers, but each equation is a little bit wrong, off by a small random nudge. Without the nudges you could solve for the secret with school algebra. With them, the answer dissolves into a fog. I built a toy: 8 secret numbers, 24 noisy equations, and all the sums done modulo 3,329, the same modulus ML-KEM uses. It encrypted 8 bits and decrypted every one correctly. Then I gave an attacker the same equations. With the noise stripped out, plain algebra recovered the secret. With the noise left in, the same algebra returned nothing useful.

Code
== C. Toy lattice encryption (learning with errors), one bit at a time ==
sent bits:    [1, 0, 1, 1, 0, 0, 1, 0]
decrypted:    [1, 0, 1, 1, 0, 0, 1, 0] OK
same equations with NO noise: attacker recovers s by plain algebra: True
same equations WITH noise: algebra returns the secret: False

The real standards use a cleverer, tidier version of this with a repeating pattern built in, which is what keeps keys small enough to send. Anthropic’s papers on 30 November went after exactly that pattern, and the short version in my write-up is that the attack only wins at sizes far beyond the real ones.

Hashes: a scrambler that only runs one way

A hash function turns any message into a fixed-length scramble, and nobody can run it backwards. Signature schemes built only on that idea are the most conservative choice in the contest, because they lean on nothing else. The oldest example is a Lamport signature from 1979. For each bit of the message, you publish two scrambled numbers and keep the two originals secret. To sign, you reveal the original that matches each bit. I made one: the signature came to 8,192 bytes and the public key 16,384 bytes. It verified, and a tampered message failed. SLH-DSA is a far more elaborate version of the same thing, built so one key can sign many messages.

Code
== D. Lamport one-time signature (the hash-only idea behind SLH-DSA) ==
signature size: 8192 B; public key size: 16384 B
verifies: True | tampered message verifies: False

Codes: finding the errors in a scrambled message

The third family hides a message inside deliberate errors, the way a scratched CD can still play because extra data lets the player repair damage. HQC, picked in March 2025, is the backup for ML-KEM. NIST chose it because the maths is different, so a surprise against lattices wouldn’t touch it.

The price: bigger keys

Every new lock is bigger than the one it replaces. Here are the sizes my Python runs produced for the three levels of each lattice standard.

Bars comparing X25519's 32 bytes with ML-KEM-768's 1,184 bytes, and ECDSA's 64 bytes with ML-DSA-65's 3,309-byte signature
The new locks work well but they’re a lot bigger. Illustration: Sulat.
StandardPublic keyCiphertext or signature
ML-KEM-512800 bytes768 bytes
ML-KEM-7681,184 bytes1,088 bytes
ML-KEM-10241,568 bytes1,568 bytes
ML-DSA-441,312 bytes2,420 bytes
ML-DSA-651,952 bytes3,309 bytes
ML-DSA-872,592 bytes4,627 bytes
From my runs of the Python libraries kyber-py and dilithium-py. For comparison, an X25519 key is 32 bytes and a P-256 signature is 64.

That’s why the signature side is the harder move. A website certificate chain carries several signatures, and swapping 64-byte ones for 3,000-byte ones makes the handshake much heavier. It’s the reason Cloudflare and Google are working on a different certificate design instead.

Two locks on one door

Nobody wants to bet everything on a new lock that has had a few years of attention, so Chrome, Edge, Firefox and Safari use both by default. The hybrid is called X25519MLKEM768: the old curve lock and the new lattice lock on the same door. The two sides run both key exchanges and mix the two results into one key. An attacker has to break both. If ML-KEM has a flaw, the curve still holds against everyone who doesn’t have a quantum computer. If a quantum computer arrives, ML-KEM still holds.

Two padlocks, today's X25519 and the new ML-KEM, guard one door; an attacker must break both
A hybrid keeps the old lock and adds the new one, so one failure isn’t enough. Illustration: Sulat.

I built the idea in code to see it work. The client sends a 32-byte curve share and an ML-KEM key, 1,216 bytes in all. The server replies with its own 32-byte share and a 1,088-byte ML-KEM ciphertext, 1,120 bytes. Both sides derive the same 32-byte key. Then I swapped in a wrong ML-KEM half and the keys no longer matched.

Then I ran real handshakes. I set up TLS 1.3 servers and clients on loopback in Node 22, which bundles OpenSSL 3.5.9, and put a small proxy between them to measure the first record each way and read which key exchange the server chose.

Server and clientKey exchange chosenClient’s first messageServer’s reply
X25519 only on bothX25519217 bytes127 bytes
Hybrid preferred, X25519 as fallbackX25519MLKEM7681,403 bytes1,215 bytes
Hybrid only on bothX25519MLKEM7681,393 bytes1,215 bytes
Server hybrid only, client X25519 onlyFailed with a handshake failuren/an/a
Server X25519 only, client offers hybrid firstX255191,403 bytes93 bytes
Pure ML-KEM-768 on bothMLKEM7681,361 bytes1,183 bytes
P-256 hybrid on bothSecP256r1MLKEM7681,426 bytes1,248 bytes
Loopback runs on my machine, TLS 1.3, a self-signed P-256 certificate. No real website was involved.
Terminal output of loopback TLS 1.3 handshakes showing which key exchange group was chosen and the first record sizes
Loopback handshakes between Node servers and clients, with the first record sizes measured. Screenshot from my test.

The client’s opening message grew from 217 bytes to about 1,400, which is the ML-KEM public key riding along, so the hybrid costs real bytes. When the server offered only the old lock, the client dropped back to it and the connection worked, so a hybrid-capable client breaks nothing. When a server required the hybrid and the client only knew the old exchange, the handshake failed outright, which is why a server can only go hybrid-only once its users have updated.

What’s happening right now

This is where things stand.

  • The hardware isn’t there. Every design on paper needs tens of thousands of good qubits or more. Google’s Willow has 105.
  • The paper numbers keep falling. Four teams published RSA-2048 or elliptic-curve estimates in 2026 that sit far below the old ones, and curves come out cheaper than RSA.
  • Governments set dates. NIST will deprecate quantum-vulnerable public-key encryption after 2030 and disallow it after 2035. The NSA’s advisory on 2 December told national security system owners to speed up. I covered it in my technical piece and the plain-English guide.
  • Companies picked 2029. Cloudflare, Google and Microsoft have each put 2029 on their own migration, and eight big tech companies backed the US guidance in a joint statement. Cloudflare’s CTO says its handshake work is done and its certificates are the open part, with a goal of 2027 for the new design. See the Cloudflare piece and Matthew Prince’s briefing.
  • Others are moving too. Australia’s signals agency has told organisations to act now, which I cover in the ASD piece, and the WireGuard VPN’s creator is looking at a post-quantum version 2, in this piece.
  • The rumours need a pinch of salt. There’s talk that AI labs have cracked RSA or elliptic curves. I tracked it in the factoring rumour piece and Coinbase’s response. No lab has published a break. Anthropic’s four lattice papers are theory about the new locks, not a break of the old ones, and the authors say they have no practical effect today.

Filippo Valsorda, a cryptography engineer, reads the NSA’s list of algorithms as a sign the 256-bit curves are weaker than people thought. That’s his reading and the NSA hasn’t said it. The agency’s own line is the harvest-now one above.

What to do

If you use a phone, a browser and a few apps, the defence is mostly updates. My guide has four checks that take about 20 minutes. If you run servers, start with the NSA advisory piece: take stock of your encryption, move web servers to TLS 1.3 with the hybrid, and plan for new certificates. Don’t buy anything labelled quantum-proof.

Words you’ll see

Public-key encryption
A padlock anyone can close and only the owner can open.
RSA
The padlock built on multiplying two big primes.
Elliptic curve
The padlock built on hopping around a curve, with smaller keys.
Qubit
The quantum version of a bit: a blend of 0 and 1 until measured.
Logical qubit
An error-corrected qubit built out of many fragile physical ones.
Shor’s algorithm
The 1994 quantum recipe that finds the repeating pattern behind RSA and curves.
Grover’s algorithm
A quantum search that only halves the strength of a key, in bits.
Harvest now, decrypt later
Recording scrambled traffic today to unscramble it with a future machine.
ML-KEM
NIST’s lattice standard for agreeing a secret key (was Kyber).
ML-DSA
NIST’s lattice standard for signatures (was Dilithium).
SLH-DSA
NIST’s hash-based signature standard (was SPHINCS+).
HQC
A code-based backup for ML-KEM that NIST selected in March 2025.
Hybrid
Running an old and a new method together so an attacker must break both.
X25519MLKEM768
The hybrid key exchange browsers use today.

What I ran

Everything below ran on one cloud machine and on loopback only. The machine was a 4-vCPU Intel Xeon at 2.30 GHz with 15 GiB of memory and a 252 GB virtual disk, running Ubuntu 24.04.5 on Linux 6.18.44. The tools were Python 3.13.18 with numpy 2.5.5, cryptography 51.0.0, kyber-py 1.2.0 and dilithium-py 1.5.1, plus Node 22.23.5 with OpenSSL 3.5.9.

Code
python toy_rsa.py     # textbook RSA, then Pollard rho timing on one core
python shor_toy.py    # classical simulation of Shor's circuit statistics
python pq_demos.py    # hybrid exchange, sizes, toy LWE, Lamport signature
node tls_hybrid.js    # loopback TLS 1.3 handshakes through a sniffing proxy

The limits are worth stating. The Pollard rho runs are a simple program, stopped after the 112-bit row, and they say nothing about how long a real attacker takes on a real key. The Shor run is a classical simulation. The post-quantum libraries are pure-Python implementations that I used to measure sizes and to show the ideas, and they’re not production code. The TLS runs used a self-signed certificate on loopback, so they say how clients and servers behave when they disagree, and nothing about any real website.

Sources: Gidney, 2025 (RSA-2048 with under a million qubits); Gidney and Ekerå, 2019; Fowler and colleagues, 2012; Iceberg Quantum, Pinnacle Architecture; Alice & Bob, cat-qubit estimates; Google Quantum AI, elliptic-curve estimates; IonQ; NIST, FIPS 203, 204 and 205; NIST on HQC; NIST IR 8547; NSA press release; Filippo Valsorda.