Back to DashboardFoundationsbeginner40 min

Quantum Threat Mechanics

How sufficiently capable quantum computers threaten public-key cryptography, affect symmetric security margins, and shape PQC migration planning.

Why this matters: Understanding which cryptographic operations depend on quantum-vulnerable math—and the limits of current resource estimates—supports better migration planning.

Start here: Pick an algorithm in Security Level Degradation: its classical and quantum security bits are drawn as two bars, with a CRQC-vulnerable, weakened or no known efficient attack verdict and the model-specific quantum resource estimates.

For your role

Executive / Business Leader
Calculate your migration deadline and when signing credentials must rotate, and track logical-qubit progress against what is needed to break elliptic curves: which algorithms Shor and Grover break is what separates risk from vendor hype.
GRC / Risk & Compliance
The Security Level Degradation step and the deadline calculators put a number on the exposure; the qubit tracker is the evidence line for a risk register entry.
Developer / Engineer
See how quantum attacks reduce each algorithm's security level and compare two algorithms side by side: which of the primitives your code calls survive.
Security Architect
The full algorithm-versus-attack comparison and the credential-rotation calculator set the order in which key exchange and signatures have to move.
Researcher / Academic
The qubit tracker sets logical-qubit progress against the requirement to break ECC, and the degradation model states its assumptions; both are checkable against the sources cited.
IT Ops / DevOps
The two calculators, migration deadline and credential rotation, give the dates your certificate and key rotation plans have to meet.
Curious Explorer
How a quantum computer actually breaks today's encryption, which algorithms survive, and a calculator that turns it into a date for you.
Practice in the Simulation

Qubits & Superposition

Classical computers store information as bits — each is definitively 0 or 1. A quantum computer uses , which exploit two quantum phenomena to process information fundamentally differently.

Classical Bit
0 or 1

Always in a definite state. N bits represent exactly one of 2N values at a time.

Quantum Bit (Qubit)
α|0〉 + β|1〉

exists in a combination of 0 and 1 simultaneously. qubits can be correlated so measuring one instantly determines the other. Together, N qubits hold a superposition over all 2N basis states at once — though a measurement still returns only one of them.

Key insight: Quantum speedup doesn't come from "trying all answers at once." It comes from carefully constructing interference patterns that amplify correct answers and cancel wrong ones. Only specific algorithms (like and ) can exploit this structure.

Shor's Algorithm — Threat to &

Peter Shor showed in 1994 (Polynomial-Time Algorithms for Prime Factorization and Discrete Logarithms on a Quantum Computer) that a sufficiently capable quantum computer can solve integer factoring and discrete-log problems in polynomial time on a sufficiently capable fault-tolerant quantum computer. No polynomial-time classical algorithm for these problems is known:

Integer Factorization (RSA)

RSA relies on the difficulty of factoring large numbers (N = p × q).

Classical: O(e1.9 · n1/3) — sub-exponential
Quantum: O(n³) — polynomial

RSA-2048 requires ~1,537 logical qubits (Gidney 2025, down from the 2016-era ~4,098 estimate). A CRQC could factor it in under a week, not billions of years.

Discrete Logarithm (ECC/DH)

ECC (, , ) and Diffie-Hellman rely on the hardness of discrete logarithms.

Classical: O(2n/2) — exponential (Pollard rho)
Quantum: O(n³) — polynomial

Google Quantum AI (30 March 2026) gives, for the 256-bit elliptic-curve discrete logarithm on secp256k1, at most 1,200 logical qubits with at most 90 million Toffoli gates, or at most 1,450 logical qubits with at most 70 million Toffoli gates; its paper gives no estimate for P-256. All ECC variants (P-256, P-384, , ) are vulnerable to Shor's algorithm.

Impact: Every public-key algorithm based on integer factorization or discrete logarithms — RSA, DSA, ECDSA, ECDH, EdDSA, DH — provides zero security against a quantum adversary. Key size increases do not help because Shor's algorithm scales polynomially.

Grover's Algorithm — Search and Symmetric-Key Effects

Lov Grover showed in 1996 (A fast quantum mechanical algorithm for database search) that a quantum computer can search an unstructured database quadratically faster. This gives a quadratic query speedup for unstructured search. AES key search and hash collision resistance have different analyses:

AlgorithmClassical SecurityIdealised quantum query boundReading
AES-128128-bit64-bitPolicy-dependent
AES-192192-bit96-bitPolicy-dependent
AES-256256-bit128-bitLargest margin
SHA-256 (collision)128-bit~85-bitSecure

Three separate questions. The table gives the idealised query count: about 264 sequential evaluations of the AES circuit for a 128-bit key. That is not a cost estimate, and it does not by itself make AES-128 unacceptable.

Gates, depth and hardware. Each query is a whole AES evaluation, and the full quadratic speedup needs those steps to run in series (Zalka). NIST's 2016 call for proposals estimates 2170/MAXDEPTH quantum gates for AES-128 key recovery when circuit depth is limited to MAXDEPTH, and Grassl et al. estimate about 281 overall circuit depth and 2,953 qubits. NIST's PQC FAQ concludes that Grover's algorithm is quite likely to give little or no advantage against AES, that AES-128 will remain secure for decades to come, and that applications can keep using 128-, 192- or 256-bit AES keys; NIST IR 8547 states that NIST-approved symmetric primitives with at least 128 bits of classical security are believed to meet at least Category 1.

Policy. Authorities differ. NIST uses AES-128 key search as its Category 1 reference, while NSA's CNSA 2.0 asks national security systems to use 256-bit AES keys. Moving from AES-128 to AES-256 is therefore a policy or safety-margin choice for long-lived data, not an automatic rejection of AES-128 derived from the 64-bit figure.

CRQC Timeline Projections

A is one powerful enough to run Shor's algorithm against production-size keys. Experts disagree on when this will happen, but major agencies are planning for it now:

NIST IR 8547 — Deprecate after 2030, disallow after 2035
NSA CNSA 2.0 — New NSS acquisitions 2027; unsupported equipment phase-out 2030; algorithms mandated 2031 unless otherwise noted (FAQ v2.2)
Global Risk Institute — ~49% within a decade on averaged expert estimates; half of 26 experts put it at 50% or more (2025 Quantum Threat Timeline Report)
BSI Germany — Recommend hybrid migration now
ANSSI France — Recommends hybrid now; its recommendations are not a regulatory obligation today, but hybridisation is mandatory in the regulated perimeter; obligations for product qualification targeted from 2027

What the sources say, in their own words

  • Open question

    A 2025 survey of 26 experts (Global Risk Institute with evolutionQ) found a cryptographically relevant quantum computer "quite possible" (28-49%) within 10 years and "likely" (51-70%) within 15.

    Made by Global Risk Institute and evolutionQ (survey of 26 experts, published March 2026) · Last checked 3 October 2026

    Why: A forecast of something that has not happened; nobody can show it right or wrong today.

    What each source says
  • Settled

    NIST IR 8547 (final, October 2026) deprecates quantum-vulnerable public-key algorithms (RSA, ECDSA, EdDSA, DH and MQV) at 112 bits of security or more after 2030 and disallows them under NIST standards and guidelines after 2035.

    Made by NIST (IR 8547, final, October 2026) · Last checked 27 October 2026

    Why: Checked against the final report itself (Tables 2 and 4 and Section 4.1.2). NIST published it on 2026-10-27; it replaces the November 2024 initial public draft, which deprecated only the 112-bit parameter sets after 2030.

    The source
    • NIST IR 8547 (opens in a new tab)

      What it says: Tables 2 and 4: every listed parameter set (112 bits of security or more) is deprecated after 2030 and disallowed after 2035.

      “NIST will deprecate all quantum-vulnerable cryptography after 2030 and disallow its use under NIST standards and guidelines after 2035.”
  • Settled

    NSA's October 2026 CNSA 2.0 FAQ (version 2.2) says that CNSA 2.0 is required for new National Security System acquisitions from 1 January 2027, unsupported equipment and services must be phased out by 31 December 2030 unless excepted, and CNSA 2.0 algorithms are mandated for use by 31 December 2031 unless otherwise noted.

    Made by NSA, "The Commercial National Security Algorithm Suite 2.0 and Quantum Computing FAQ", version 2.2, October 2026 · Last checked 17 October 2026

    Why: The milestones were checked against FAQ version 2.2. They govern National Security Systems and are migration requirements, not a forecast of CRQC arrival. The separate 2035 goal belongs to NSM-10 and must not be presented as the current CNSA 2.0 product deadline.

    The source
    Earlier statements
    • Updates an earlier statement. Version 2.2 retains the 2030 and 2031 milestones and adds clearer acquisition, deployment, fielded-equipment and exception handling. It is the current head statement.

      What changed (1 point)
      • Current planning milestones

        Earlier

        Version 2.1 recorded the 2030 phase-out and 2031 mandate.

        “by December 31, 2031, CNSA 2.0 algorithms are mandated for use unless otherwise noted”

        Newer

        Version 2.2 keeps those dates and explicitly states the 1 January 2027 acquisition requirement and transition handling.

        “by January 1, 2027, CNSA 2.0 algorithms will be required in all new acquisitions for NSS”
      Read the earlier statement by NSA, CNSA 2.0 FAQ version 2.1 (December 2024)
      Settled
      NSA's December 2024 CNSA 2.0 FAQ (version 2.1) says that by 31 December 2030 all equipment and services that cannot support CNSA 2.0 must be phased out, and that by 31 December 2031 CNSA 2.0 algorithms are mandated for use, unless otherwise noted.

      Made by NSA, "The Commercial National Security Algorithm Suite 2.0 and Quantum Computing FAQ", version 2.1, December 2024 · Last checked 3 October 2026

      Why: What the FAQ says is checked against the FAQ itself. These are migration dates NSA sets for its own systems, not a prediction of when a quantum computer will exist. The FAQ is newer than NSA's September 2022 announcement; it updates it and does not replace it.

      A newer statement updates this one.

      The source
      Earlier statements
      • Updates an earlier statement. The FAQ gives general phase-out and mandate dates and says NSA's update to CNSSP 15 set several dates. It does not restate the 2022 announcement's category dates, which are not withdrawn. Where the two give different dates for the same equipment, the newer governs.

        What changed (2 points)
        • When equipment and algorithms must move to CNSA 2.0

          Earlier

          September 2022 announcement: by category. Software and firmware signing exclusively CNSA 2.0 by 2030; web browsers and servers and cloud services by 2033.

          “exclusively use CNSA 2.0 by 2030”

          Newer

          December 2024 FAQ: by 31 December 2030 equipment and services that cannot support CNSA 2.0 must be phased out, and by 31 December 2031 CNSA 2.0 algorithms are mandated, unless otherwise noted.

          “By December 31, 2030, all equipment and services that cannot support CNSA 2.0 must be phased out unless otherwise noted, and by December 31, 2031, CNSA 2.0 algorithms are mandated for use unless otherwise noted.”
        • Web browsers and servers, cloud services

          Earlier

          September 2022 announcement: exclusive use of CNSA 2.0 by 2033.

          “Web browsers/servers and cloud services: support and prefer CNSA 2.0 by 2025, and exclusively1 use CNSA 2.0 by 2033.”

          Newer

          December 2024 FAQ: CNSA 2.0 algorithms mandated by 31 December 2031 unless otherwise noted; the FAQ does not restate a 2033 date.

          “by December 31, 2031, CNSA 2.0 algorithms are mandated for use unless otherwise noted”
        Read the earlier statement by NSA (CNSA 2.0, 2022)
        Settled
        NSA's CNSA 2.0 expects national security systems to finish the transition to quantum-resistant algorithms by 2035, and to use CNSA 2.0 exclusively for software and firmware signing by 2030.

        Made by NSA (CNSA 2.0, 2022) · Last checked 3 October 2026

        Why: These are dates the NSA sets for its own systems, checked against the NSA document. They are migration deadlines, not a prediction of when a quantum computer will exist.

        A newer statement updates this one.

        What each source says
  • Settled

    ANSSI's current FAQ on post-quantum cryptography says it will not be reasonable to buy products that do not include post-quantum cryptography after 2030, and strongly insists on hybrid protection wherever post-quantum protection is needed.

    Made by ANSSI (France), FAQ on post-quantum cryptography (a page that refers to events of early October 2025, so it is from October 2025 or later) · Last checked 3 October 2026

    Why: What the FAQ says is checked against the FAQ itself. It is a purchasing recommendation (for organisations not covered by the two cases it lists, those holding classified or Diffusion Restreinte information and vital operators, the FAQ says there is no regulatory obligation), not a prediction of when a quantum computer will exist. It is newer than ANSSI's 2022 position paper.

    What each source says
    Earlier statements
    • Updates an earlier statement. The FAQ adds a purchasing recommendation (no products without post-quantum cryptography after 2030) and keeps the hybrid recommendation. It does not withdraw the 2022 paper's phase roadmap.

      What changed (1 point)
      • What ANSSI says about 2030

        Earlier

        2022 position paper: standalone post-quantum cryptography becomes an option, probably not earlier than 2030.

        “Phase 3 (probably not earlier than 2030): optional standalone post-quantum cryptography.”

        Newer

        Current FAQ: it will not be reasonable to buy products that do not include post-quantum cryptography after 2030.

        “L'ANSSI indique qu'il ne sera pas raisonnable d'acheter des produits qui n'intègrent pas de la PQC après 2030.”
      Read the earlier statement by ANSSI (France), position paper of January 2022, updated 2023
      Settled
      ANSSI's 2022 position paper puts standalone post-quantum cryptography as an option "probably not earlier than 2030" and recommends hybrid use until then.

      Made by ANSSI (France), position paper of January 2022, updated 2023 · Last checked 3 October 2026

      Why: What the paper says is checked against the paper. It is a transition milestone, not a date for when a quantum computer will exist; the paper gives no such date.

      A newer statement updates this one.

      What each source says
  • Settled

    BSI's technical guideline TR-02102-1 (version 2026-01) recommends using classical key agreement alone only until the end of 2031, recommends that applications with very high protection requirements move to quantum-safe mechanisms by the end of 2030, and recommends classical signatures only until the end of 2035.

    Made by BSI (Germany), TR-02102-1, version 2026-01, 23 January 2026 · Last checked 3 October 2026

    Why: What the guideline says is checked against the guideline itself. These are migration recommendations, not a prediction of when a quantum computer will exist.

    What each source says

Other questions that are still open

  • Open question

    Fewer than one million physical qubits are enough to break RSA-2048 (Craig Gidney, June 2025).

    Made by Craig Gidney (Google), June 2025, as reported by Cloudflare (2025) and Project Eleven (2026)

    Why: A resource estimate for a machine that does not exist, based on assumptions about hardware and error rates. It cannot be checked until such a machine is built; other groups may publish other figures.

    What each source says
    Earlier statements
    • Replaces an earlier statement. Cloudflare describes the 20 million figure as the earlier estimate and credits the June 2025 paper for the lower one. The newer figure is still an estimate.

      What changed (1 point)
      • Physical qubits needed to break RSA-2048 on superconducting machines

        Earlier

        Earlier estimate: about 20 million qubits.

        “We thought we’d need about 20 million qubits with the superconducting approach to break RSA-2048.”

        Newer

        June 2025 estimate: fewer than one million qubits.

        “we need fewer than one million qubits”
      Read the earlier statement by The earlier estimate, as described by Cloudflare (2025)
      Replaced by a newer statement
      About 20 million superconducting qubits are needed to break RSA-2048.

      Made by The earlier estimate, as described by Cloudflare (2025) · Last checked 3 October 2026

      Why: Cloudflare itself says the 20 million figure was the earlier one and that newer software work shows much less is needed.

      The source
  • Open question

    For high-security systems BSI works on the hypothesis that cryptographically relevant quantum computers will be available in the early 2030s, and says this is a timeline for risk assessment, not a forecast.

    Made by BSI (Germany), brochure "Quantum-safe cryptography – fundamentals, current developments and recommendations", 2021 · Last checked 3 October 2026

    Why: A working hypothesis about a machine that does not exist, which BSI itself calls a risk-assessment timeline and not a forecast. The brochure is from 2021; no newer BSI statement of it was found.

    What each source says

Bottom line: Whether a CRQC arrives in 2030 or 2040, migration takes years. Organizations handling long-lived data (government, healthcare, finance) must begin now because of the Harvest Now, Decrypt Later threat.

A time-sensitive quantum risk for long-lived secrets is recorded encrypted traffic that used vulnerable public-key key establishment and could later be decrypted if an attacker recovers the session secrets. This attack is called Harvest Now, Decrypt Later (HNDL), also known as "Store Now, Decrypt Later" or "retrospective decryption."

📡
Phase 1: Harvest

Adversaries record selected encrypted sessions today (for example, VPN or TLS) when their key establishment is quantum-vulnerable.

💾
Phase 2: Store

Data is archived — storage is cheap. Adversaries wait for quantum capability.

🔓
Phase 3: Decrypt

If Shor's algorithm can recover the recorded session's classical key establishment secret, the attacker can derive its traffic keys and decrypt data protected only by that session. This does not cover every encrypted archive or sessions with effective post-quantum key establishment.

Mosca's Theorem (Migration Deadline): If your data must remain secure for X years, your migration will take Y years, and a CRQC is expected in Z years, you must start migrating within Z − X − Y years. For data with 25-year sensitivity, a 5-year migration time, and a CRQC in 2035 (the midpoint of the 2030–2041 planning range this site uses), migration should have started by 2005.

HNDL targets confidentiality. HNFL targets authenticity and integrity. Adversaries may collect signed artifacts and public keys today. Once a CRQC can recover a vulnerable signer's private key, the attacker can create new signatures that verify under that key and may present new artifacts as if the signer approved them. This does not alter files that were signed earlier. Whether an old record can be distinguished from a later forgery depends on preserved evidence, such as trusted timestamp and archive records.

📂
Phase 1: Capture

Collect signed artifacts — firmware images, CA certificates, code-signing blobs. Public-key material is often publicly accessible.

💾
Phase 2: Store

Archive for years to decades. No active attack is needed — the adversary waits for quantum capability.

✍️
Phase 3: Forge

CRQC runs Shor's algorithm on the public key, recovers the private key, and can create new signatures that verify under it. Previously signed files do not change; reliable time and archive evidence can help distinguish old records from later forgeries.

High-risk targets
  • • hierarchies & root CA certificates
  • • Firmware signing (medical devices, industrial, automotive)
  • • Software update pipelines & code-signing certs
  • • Government ePassports & digital ID credentials
Why it's urgent now

A Root CA issued today with a 20-year validity period is modeled as trusted through 2046. If a CRQC arrives within the planning range this site uses (2030–2041), an attacker could recover its RSA or ECDSA key and issue new certificates that appear to chain to that root. Existing certificates are not changed, but their history may be harder to establish without durable issuance-time and archive evidence. RFC 3161 describes trusted timestamps as proof that data existed before a time; timestamp service security and retained certificate status still matter. Migration to or must complete before a CRQC makes the classical key recoverable.

HNFL vs HNDL: HNDL requires intercepting encrypted traffic. HNFL does not — signed artifacts are often public. The re-issuance deadline formula is simpler: Re-issuance Deadline = CRQC Year − Re-issuance Time. Use the Step 5 workshop to calculate your credential migration window.

Related Resources

Explore Interactively

Use the Workshop to visualize security degradation, compare algorithms, and calculate your HNDL migration deadline.

Check off all sections and mark this reading done.

Check your understanding

15 questions on Quantum Threats, each with its answer and the reason.

Take the quiz

Next step

Continue the Foundations track: PQC Candidates & Lifecycle

PQC Candidates & Lifecycle is the next module in the Foundations track.

Production Tool Capabilities & Verification Checklist

Capabilities to require in your production tools:

  • Data-retention and confidentiality-lifetime tracking (Mosca X + Y > Z calculation) integrated into asset and data-classification catalogs.
  • Differentiation between Harvest-Now-Decrypt-Later (HNDL) exposure on key-establishment traffic and Harvest-Now-Forge-Later / active quantum forgery exposure on signatures.
  • Symmetric key-size enforcement (AES-256 and SHA-384/SHA-512 or SHAKE256) across long-lived archives.

How to evaluate in your environment

Cross-check data-retention schedules against active TLS/VPN cipher suites and archival encryption envelopes in non-production audit reviews.

Production evidence to collect

Asset retention schedule mapped to negotiated KEM/cipher suites and key-rotation logs for long-lived archives.

Completing this Hub module and its browser-based sample exercises teaches the technical and governance decision criteria for your role; it does not test, validate, or certify your deployed production systems.

Record evidence for your environment

Identify the tested build and configuration. Use reference IDs for observations. For a proposed exclusion, record the system boundary or rule and why it excludes this build.

Data-retention and confidentiality-lifetime tracking (Mosca X + Y > Z calculation) integrated into asset and data-classification catalogs.
Differentiation between Harvest-Now-Decrypt-Later (HNDL) exposure on key-establishment traffic and Harvest-Now-Forge-Later / active quantum forgery exposure on signatures.
Symmetric key-size enforcement (AES-256 and SHA-384/SHA-512 or SHAKE256) across long-lived archives.

Evidence missing. 0 of 3 requirements have a reference or scope rationale.

Learning module content can be inaccurate. Please double-check its information. Report inaccuracies in PQC Today GitHub Discussions.