Motivation — why post-quantum cryptography?¶
Prereqs: none
Next: History
Learning goals. After this page you can:
- Explain what cryptography is for in one breath
- Explain why large quantum computers threaten today’s public-key tools
- Explain what “store now, decrypt later” means
- Explain why PQC migration started before large quantum computers exist
The job cryptography already does¶
You send a message; the path is not a private room. Cryptography is the toolkit that still lets honest people:
- keep content private,
- notice tampering,
- and sometimes prove who wrote something,
even when the network is untrusted.
Post-quantum cryptography (PQC) is the next generation of that toolkit — designed so large quantum computers should not break the public-key parts we rely on for key setup and signatures.
You do not need a quantum computer to use PQC. You need new algorithms that classical computers can run, but that (we believe) stay hard even for quantum attackers.
Why change anything?¶
Much of today’s web and VPN security uses RSA or elliptic-curve public-key methods so browsers and servers can agree on keys.
A powerful enough quantum computer could break those methods with Shor’s algorithm. The threat is not a new kind of network — it is that the math puzzles behind RSA/ECC key setup can become easy for that attacker.
An attacker can:
- record ciphertext today,
- wait until a large quantum machine exists,
- decrypt the old recording later.
That is store now, decrypt later (SNDL). Long-lived secrets — medical archives, state records, identity keys, firmware roots — are especially exposed. Migration planning started early because recorded traffic lasts — not because a large quantum computer is expected to appear overnight.
Early migration does not erase copies an attacker already stored under RSA/ECC — those old recordings may still fall later. What it buys is: new traffic (and freshly protected archives) use a public-key layer Shor is not expected to break that way, so further recordings stay useless.
Slow-motion timeline¶
| When | What happens |
|---|---|
| Today | Attacker records HTTPS / VPN ciphertext under RSA/ECC |
| Years later | A large enough quantum computer exists |
| Then | Attacker runs Shor-style attacks on old handshakes |
| Result | Old “secret” traffic may become readable |
Quick self-check¶
Why is it a bad idea to wait until “quantum day” (a big quantum computer exists) before migrating away from RSA/ECC?
Answer
Because an attacker can record ciphertext now and decrypt it later. Waiting only protects traffic after you finally migrate. Anything still encrypted under RSA/ECC — including years of recordings already on disk — may become readable on quantum day. Early migration limits how much new valuable traffic gets added to that pile.What about symmetric crypto?¶
PQC is mainly an asymmetric / public-key story: replace RSA/ECC-style key setup and signatures with new KEMs and signatures that Shor should not break.
Symmetric tools (AES, ChaCha, AEAD, HMAC, …) are the other half of real systems. Both sides share one secret key. Public-key / PQC tools are often used only to set up a temporary secret for this connection; then AES-like tools scramble the actual webpage, video, or VPN traffic with that shared key — because that part is much faster byte-by-byte. Moving to PQC still leaves this shared-key layer in place.
Symmetric crypto still faces a quantum speedup, but a milder one. Grover’s algorithm can make some brute-force key searches faster (roughly a square-root cut in effort in idealized models — far less devastating than Shor’s break of RSA/ECC). So the usual defense is: keep the same designs, use a longer key or tag (e.g. AES-256-class margins) so guessing stays out of reach. Common hash functions (SHA-2/3, …) are similar: you usually keep the same family and, when you want more margin, pick a longer hash output — they are not what PQC replaces either.
Motivation in one sentence¶
We need cryptography that honest devices can run today, that still protects data decades from now, even if large quantum computers arrive.
Where this curriculum goes next¶
| Next | Why |
|---|---|
| History | How classical PKC, the quantum threat, and NIST PQC fit on one timeline |
| Later: Why cryptography? | Deeper toys for confidentiality / authenticity / keys |
| Later: Quantum threat | Shor vs Grover slogans and family map |
Quick self-check¶
Do you need a quantum computer to deploy ML-KEM-style PQC?