There is a second, closely related use of public-key math that you should know about, because it is the part most exposed to the new threat. It is called key agreement, or key exchange.
The padlock trick lets you send someone a secret message. But most of the time on the internet, we don't need to send a secret message — we need to agree on a shared AES key, quickly, so the rest of the conversation can use fast symmetric encryption. (AES is much faster than public-key math, so real systems use public-key cryptography only to set things up, then switch to AES for the actual work. Like using a courier once to agree on a language, then speaking it directly.)
The classic illustration is the paint-mixing analogy. Suppose Alice and Bob want to agree on a secret color while an eavesdropper, Eve, watches everything:
- They publicly agree on a starting color, say yellow. Eve sees this.
- Alice secretly adds red. Bob secretly adds blue. Eve doesn't know either.
- They exchange their mixed colors in public. Eve now sees yellow+red and yellow+blue.
- Alice adds her red again to Bob's mixture; Bob adds his blue again to Alice's. Both end up with the same secret: yellow+red+blue.
- Eve, watching, has yellow, yellow+red, and yellow+blue. To get the secret she would need to "un-mix" red or blue from a mixture — and with real paint, and with the real mathematics behind it, that reverse step is the hard direction.
This is Diffie-Hellman key exchange, and its modern versions (including one called X25519, used by Signal, WhatsApp, iMessage, WireGuard VPNs, and SSH) work the same way with elliptic-curve math instead of paint.
Why does this matter for our story? Because a key exchange is a conversation that happens once, at the start of every connection, and then is thrown away. The transcript of that conversation — the "yellow", "yellow+red" messages — travels over the public internet every single time you connect to a website, a bank, a VPN, a server.
Which means: if an eavesdropper records the transcript today, and later learns how to do the "un-mixing" step, they can recompute every one of those throwaway session keys and decrypt everything recorded. They don't need to attack your computer. They don't need your password. They just need the recording, and better mathematics.
Hold that thought. It becomes the central threat of this story under “Harvest now, decrypt later”.
Every secure connection starts with a public negotiation (like mixing paint) that produces a private key and then discards it. The public transcript is recorded on the network. Anyone who archives it can break it retroactively if the math is ever solved.