Store Now, Decrypt Later


Store Now, Decrypt Later

Anna
Okay, Michael, I know you've been looking into the whole quantum computing thing and what it means for encryption. I've heard the term 'Store Now, Decrypt Later' — is that as scary as it sounds?

Michael
It definitely is. Right now, some governments and hackers are intercepting and storing encrypted data like passwords, bank details, and social security numbers. They can't open them yet, but they believe that within 10 to 20 years, a quantum computer will be able to break that encryption in minutes. So they're stockpiling it.

Anna
That's unsettling. But why would encrypted data from today still be valuable in a decade? I mean, passwords change, right?

Michael
Sure, some things change, but think about industrial and pharmaceutical research, or top-secret government intelligence. That information often remains sensitive for much longer. Even the NSA has warned that a sufficiently large quantum computer could undermine all widely deployed public key algorithms.

Anna
So it's a ticking clock. I know our current encryption, like RSA, has worked for over 40 years. How does it actually work, and why is it vulnerable?

Michael
Before RSA, if you wanted to exchange private information, you had to meet in person and share a secret key — that's symmetric key encryption. It's secure if no one intercepts the key. But then in 1977, Rivest, Shamir, and Adleman came up with an asymmetric system that changed everything.

Anna
Right, the RSA algorithm. I know it uses large prime numbers. How does that work exactly?

Michael
Each person has two large prime numbers, keeps them secret, and multiplies them to get a huge public number. To send a private message, you use that public number to encrypt it. Decrypting requires knowing the two prime factors, which is incredibly hard to find with classical computers—factoring a 313-digit number would take about 16 million years with the best known algorithm.

Anna
Enter the quantum computer. So how does a quantum computer factor numbers so quickly?

Michael
Classical bits are either 0 or 1. Quantum bits, or qubits, can be in a superposition of both states at once. With two qubits, you can represent four states simultaneously, and as you add more qubits, the number of states doubles. So with 300 qubits, you can represent more states than there are particles in the observable universe.

Anna
That sounds incredibly powerful. But there must be a catch—otherwise, we'd have quantum computers everywhere by now.

Michael
Absolutely. The catch is that you can't just read out the superposition. When you measure it, you get a random result, and all other information is lost. To actually use a quantum computer, you need to exploit properties like the quantum Fourier transform to extract useful information, and that's only possible for specific problems.

Anna
And one of those problems happens to be factoring large numbers. I've heard of Shor's algorithm. What makes it work?

Michael
I'll walk through a simple example. Suppose we want to factor 77. We pick a number, say 8, that doesn't share factors with 77. Then we compute powers of 8 modulo 77—we're looking for an exponent r such that 8^r ≡ 1 mod 77. That turns out to be 10. Using that, we can derive numbers that likely share factors with 77, and then Euclid's algorithm gives us the factors 7 and 11.

Anna
So the key is finding that exponent r quickly. How does a quantum computer do that?

Michael
The quantum computer creates a superposition of all possible exponents, then computes the remainder of g^a mod N for each exponent, storing the result in a separate set of qubits. By measuring just the remainder, we collapse the superposition into a periodic set of states—all exponents that give the same remainder. The period is exactly r. Applying the quantum Fourier transform then extracts that period, and we get r.

Anna
That's brilliant. So how many qubits would it take to break real RSA encryption?

Michael
Estimates have dropped dramatically. In 2012, it was a billion physical qubits; by 2019, it was down to 20 million, thanks to better error correction and algorithms. Meanwhile, IBM's quantum computers are growing exponentially, but we're still not there yet. It's a race against time.

Anna
That's why NIST started a competition for post-quantum cryptography in 2016. They selected four algorithms in 2022. What are they based on?

Michael
Three of them are based on lattice mathematics. Imagine a 2D lattice defined by two vectors. With good vectors, it's easy to find the closest lattice point to a given point. With bad vectors, it's extremely hard—especially in higher dimensions. In a lattice with 1000 dimensions, finding the closest point is practically impossible for both classical and quantum computers.

Anna
So how do you use that for encryption? I think I see: you give everyone a bad description of the lattice, and keep a good one secret.

Michael
Exactly. To send a message, you pick a lattice point that represents your message, then add a small noise. Only someone with the good vectors can find the original lattice point. Without them, it's like finding a needle in a haystack in a thousand dimensions.

Anna
It's reassuring that researchers are already on top of this. But it also makes me realize how much our digital security depends on these mathematical tricks.

Michael
Absolutely. There's an army of unsung heroes—cryptographers, mathematicians—working to keep our data safe. And it's not just about privacy; it's about protecting critical infrastructure from future quantum attacks. Right now, we're in a transition period, and every bit of awareness helps.

Anna
Well, thanks for breaking it all down, Michael. I feel like I finally understand the threat and the solutions being developed.

Michael
No problem. It's a fascinating topic, and for anyone who wants to dive deeper, there are resources like Brilliant that offer interactive courses on quantum algorithms and cryptography. I'd definitely recommend checking them out.

Ask anything
We've read this whole study set, so questions about it get the best answers.