Quantum Essentials · Module 3 · Chapter 13 of 17

How does quantum keep secrets, and will it break today's encryption?

Every time you see a padlock in your browser, maths is protecting you. Quantum computers threaten some of that maths, and the world is already swapping it out.

The short answer (tap to open)

A large error-corrected quantum computer running Shor's algorithm would break the public-key encryption that protects websites, messages and cryptocurrencies. No such machine exists yet; published estimates put it within reach of the next decade or two. The main fix is new, quantum-safe maths called post-quantum cryptography, which your browser may already use. Quantum key distribution offers protection too, with limits.

Predict

Could a quantum computer read your encrypted messages today?

After this page you can

  • explain which encryption a quantum computer threatens, and which it doesn't;
  • explain "harvest now, decrypt later" and why it matters today;
  • say what post-quantum cryptography is and where it's already in use;
  • explain how quantum key distribution detects an eavesdropper, and why security agencies prefer the new maths;
  • read a "Q-Day" headline critically.

Part A · Two kinds of lock

Which encryption does a quantum computer threaten?

The internet uses two kinds of lock together.

  • Public-key encryption (RSA and elliptic curves, page 13a) lets two strangers agree a secret and prove who they are. Its security rests on problems with hidden repeating patterns, and Shor's algorithm finds such patterns (chapter 7). A large quantum computer would break it.
  • Symmetric encryption (such as AES) scrambles the actual data with the shared secret. Quantum computers speed up attacks on it only modestly. Longer keys handle that. It stays safe.

So the danger sits in the handshake, not the scrambling. Break the handshake and you learn the secret key, and then you can read everything.

Threatened or safe?

Shor threatens it

    Stays safe with longer keys

      Card 1 of 6

      The padlock handshake on a website

        The answers, in words
        • The padlock handshake on a website: Shor threatens it. Public-key maths agrees the secret: Shor's algorithm breaks it.
        • The key that scrambles your video stream: Stays safe with longer keys. Symmetric encryption: quantum computers only speed up attacks modestly.
        • A digital signature on a software update: Shor threatens it. Today's signatures use public-key maths, so they need replacing too.
        • A Bitcoin signature: Shor threatens it. Elliptic-curve signatures: Shor's algorithm would break them.
        • A password stored as a scrambled hash: Stays safe with longer keys. Hashes aren't public-key maths; quantum speed-ups against them are modest.
        • A bank's chip-and-PIN card key: Shor threatens it. It depends on the card: many use public-key signatures, which Shor threatens.

        Part B · How big, and how soon?

        How big a quantum computer would it take?

        Researchers publish estimates, and they keep falling as the methods improve:

        • 2019: about 20 million noisy qubits to break RSA-2048 in eight hours (Gidney and Ekerå).
        • May 2025: under a million noisy qubits, in under a week (Gidney, Google; preprint).
        • March 2026: the elliptic curve behind Bitcoin with about 1,200 to 1,450 error-corrected qubits, in minutes on fewer than 500,000 physical qubits (Google researchers and colleagues).
        • 2026: several groups proposed designs needing tens of thousands of physical qubits, using newer error-correcting codes or neutral atoms (preprints, not yet peer reviewed).

        For comparison, the best machines today run 48 error-corrected qubits (Quantinuum, November 2025). The gap is large, and shrinking from both ends.

        What does "harvest now, decrypt later" mean?

        Someone can record encrypted traffic today and store it until a quantum computer can open it. If your secret still matters in ten or fifteen years (medical records, state secrets, long-term business plans), it's already at risk. The UK's National Cyber Security Centre, the European Union and US agencies all name this threat in their official guidance.

        So when is Q-Day?

        "Q-Day" is the day a quantum computer first breaks today's public-key encryption. Nobody knows the date. A 2026 survey of 26 experts by the Global Risk Institute put the chance of such a machine at 28% to 49% within ten years, and 51% to 70% within fifteen.

        The useful question isn't "when?" but "are we switching in time?". The Canadian researcher Michele Mosca put it as a simple sum: if the years your data must stay secret, plus the years it takes to switch your systems, add up to more than the years until Q-Day, you're already late.

        Safe: you'll have switched before Q-Day.

        Expert survey (Global Risk Institute, 2026): 28% to 49% chance within 10 years; 51% to 70% within 15.

        That's why the switch has to start now, even though no machine exists yet.

        The three examples, in words
        • A shopping basket: How many years must this secret stay safe? 1 years. How many years to switch your systems? 2 years. How many years until Q-Day? 15 years. Safe: you'll have switched before Q-Day.
        • A medical record: How many years must this secret stay safe? 10 years. How many years to switch your systems? 8 years. How many years until Q-Day? 15 years. Late: the secret outlives the old encryption.
        • A government secret: How many years must this secret stay safe? 50 years. How many years to switch your systems? 10 years. How many years until Q-Day? 15 years. Very late: start switching now.

        That's why the switch has to start now, even though no machine exists yet.

        Part C · The main fix is new maths

        What is post-quantum cryptography?

        Post-quantum cryptography (PQC) is new public-key maths built on problems that neither ordinary nor quantum computers can solve quickly, as far as anyone knows. It runs on ordinary computers and phones. No quantum hardware needed.

        After an eight-year public competition, the US standards agency NIST published the first three standards in August 2024: ML-KEM for agreeing keys, and ML-DSA and SLH-DSA for signatures. In March 2025 it picked a backup, HQC, built on different maths in case the main choice ever falls.

        Is anyone using it yet?

        Yes. You may be using it right now:

        • Browsers: Chrome, Firefox and Apple's systems combine the old and new key exchange by default (2024 to 2025).
        • Messaging: Apple's iMessage (2024) and Signal (2023, upgraded 2025) add post-quantum protection.
        • The web: by April 2026 more than 65% of the human traffic through Cloudflare, a company that carries a large share of the web, used post-quantum key exchange.

        Is my connection quantum-safe?

        If your browser is up to date (Chrome 131 or later, Firefox 132 or later, or Apple's 2025 systems), it already uses post-quantum key exchange with sites that support it. In Chrome you can check: open the developer tools, choose the Security panel, and look at the key exchange. A name containing "MLKEM" means post-quantum.

        What are the deadlines?

        • UK (NCSC): organisations plan by 2028, move the most important systems by 2031, and finish by 2035.
        • EU: member states start by the end of 2026, move high-risk uses by 2030, and finish as far as feasible by 2035.
        • US: a June 2026 executive order requires federal high-value systems to switch key exchange by 2030 and signatures by 2031.
        • 2024, NIST: First three post-quantum standards: ML-KEM, ML-DSA and SLH-DSA (August 2024). (Already due)
        • 2025, NIST: HQC picked as a backup built on different maths (March 2025). (Already due)
        • 2026, EU: Member states start by the end of 2026. (Already due)
        • 2028, UK (NCSC): Organisations plan their migration by 2028. (Still ahead)
        • 2030, EU: High-risk uses moved by 2030. (Still ahead)
        • 2030, US: Federal high-value systems switch key exchange by 2030. (Still ahead)
        • 2031, UK (NCSC): The most important systems moved by 2031. (Still ahead)
        • 2031, US: Federal high-value systems switch signatures by 2031. (Still ahead)
        • 2035, UK and EU: Migration complete by 2035 (the EU says "as far as feasible"). (Still ahead)

        Expert survey: a 28% to 49% chance of a code-breaking quantum computer within 10 years, 51% to 70% within 15.

        The dates, in a list
        • 2024, NIST: First three post-quantum standards: ML-KEM, ML-DSA and SLH-DSA (August 2024).
        • 2025, NIST: HQC picked as a backup built on different maths (March 2025).
        • 2026, EU: Member states start by the end of 2026.
        • 2028, UK (NCSC): Organisations plan their migration by 2028.
        • 2030, EU: High-risk uses moved by 2030.
        • 2030, US: Federal high-value systems switch key exchange by 2030.
        • 2031, UK (NCSC): The most important systems moved by 2031.
        • 2031, US: Federal high-value systems switch signatures by 2031.
        • 2035, UK and EU: Migration complete by 2035 (the EU says "as far as feasible").

        Expert survey: a 28% to 49% chance of a code-breaking quantum computer within 10 years, 51% to 70% within 15.

        Part D · Quantum as the lock

        How does quantum key distribution work?

        Quantum key distribution (QKD) uses quantum physics itself to share a secret key. In the first scheme, BB84 (Bennett and Brassard, 1984), Alice sends single photons, each set in one of two ways of measuring, chosen at random. Bob measures each in a randomly chosen way too. Afterwards they compare which ways they used (not the results) and keep only the matches. Those give them identical random bits.

        If an eavesdropper, Eve, measures photons on the way, she must guess the way to measure, and a wrong guess disturbs the photon (chapter 3). Alice and Bob check a sample of their bits. Too many mismatches means someone was listening, so they throw the key away.

        You're Bob. Pick a way to measure each photon (tap to switch).

        A worked run, in words

        Without Eve, ten photons: 8 kept, 0 disagree.

        With Eve listening, the same ten photons: 8 kept, 2 disagree.

        Physics gives the eavesdropper away.

        Is QKD used?

        China has built the largest networks: a 2,032 km backbone between Beijing and Shanghai (2017), a 4,600 km integrated network (2021), and in 2025 a small satellite linked China and South Africa, 12,900 km apart. Europe plans a network called EuroQCI, with its Eagle-1 satellite now due in late 2027 or early 2028. BT and Toshiba trialled a QKD network in London in 2022.

        Then why do security agencies prefer the new maths?

        The UK's NCSC "does not endorse the use of QKD for any government or military applications". The US NSA, and the French, German, Dutch and Swedish security agencies, say similar. Their reasons:

        • QKD needs special hardware and dedicated links;
        • it doesn't prove who's on the other end by itself, so it still needs ordinary signatures;
        • long links pass through relay stations that users must trust;
        • real equipment can have flaws an attacker targets;
        • post-quantum cryptography solves the main problem in software, on the devices people already have.

        QKD is clever physics with real uses in specialist links. It isn't a replacement for the new maths.

        What about quantum random numbers?

        Good keys need unpredictable numbers. Quantum random number generators take them from quantum measurements, which no one can predict in advance (chapter 2). Samsung's Galaxy Quantum phones in South Korea carry such a chip. In 2025 JPMorganChase and Quantinuum used a quantum computer to produce randomness that anyone can certify. The NCSC notes that today's well-designed ordinary generators remain adequate.

        Part E · What about Bitcoin?

        What about Bitcoin?

        Bitcoin uses elliptic-curve signatures, which Shor's algorithm would break. Coins are most exposed when the owner's public key is already visible on the blockchain, which happens with older address types and when people reuse addresses. One 2026 analysis put that at about 30% of all bitcoin. Bitcoin's developers are discussing a quantum-safe upgrade (a draft proposal, BIP-360, from February 2026), but nothing has switched on yet. Any change needs wide agreement across the network.

        Myths and media

        Media check

        Right, half right or wrong? Call it first.

        Card 1 of 3

        A headline: "Q-Day: the quantum apocalypse that will end online privacy."

        Check

        Three quick ones

        Q1

        Which encryption would a large quantum computer break?

        Q2

        Why does "harvest now, decrypt later" matter today?

        Q3

        What do the UK's NCSC and other agencies recommend as the main fix?

        Collect

        Your aha card

        Quantum breaks one lock and offers another, but the main fix is new maths.

        Shor's algorithm threatens public-key encryption; post-quantum cryptography replaces it, and the switch is under way.

        Next page · Chapter 14

        What can quantum computers do today, and what's still to come?

        Next page

        Ask a question

        We use your email only to send the answer. See the privacy notice.

        Company and cryptocurrency information is for education only. It isn't investment or security advice. Figures and estimates carry dates.