Cryptographic Vulnerabilities Exposed by Quantum Computation
| Cryptosystem |
Hard Problem |
Quantum Attack |
Complexity |
Status |
| RSA |
Integer factorisation |
Shor's β period finding via QFT |
O((log N)Β³) |
β Broken |
| Diffie-Hellman |
Discrete logarithm (DLP) |
Shor's β DLP variant |
O((log p)Β³) |
β Broken |
| ECDSA / ECDH / EdDSA |
Elliptic curve DLP |
Shor's β ECDLP variant |
O((log n)Β³) |
β Broken |
| DSA |
Discrete logarithm |
Shor's β DLP variant |
O((log p)Β³) |
β Broken |
| AES-128 |
Key search (brute force) |
Grover's β βN speedup |
O(2βΆβ΄) |
β Weakened |
| AES-256 |
Key search (brute force) |
Grover's β βN speedup |
O(2ΒΉΒ²βΈ) |
β Adequate |
| SHA-256 |
Preimage resistance |
Grover's β βN speedup |
O(2ΒΉΒ²βΈ) |
β Adequate |
| SHA-3-256 |
Preimage resistance |
Grover's β βN speedup |
O(2ΒΉΒ²βΈ) |
β Adequate |
Quantum Cryptanalytic Techniques
π
Shor's Algorithm
Factors integers and computes discrete logarithms in polynomial time by reducing both problems to quantum period finding (via the QFT). Completely breaks RSA, DSA, DH, and all standard elliptic curve schemes. Published by Peter Shor in 1994; demonstrated on 15 (IBM, 2001) and 21 (photonic, 2012).
π
Grover's Algorithm
Speeds up unstructured search β finding one answer among N with only about βN tries (optimal O(βN) queries; provably no quantum algorithm can do better). Halves effective key length of symmetric ciphers and hash functions. Mitigation: double key sizes (AES-256, SHA-512).
π
Hidden Subgroup Problem
The mathematical generalisation underlying Shor's algorithm. Efficient quantum solutions exist for the "well-behaved" cases (HSP over abelian groups, covering factoring and DLP). The harder cases (non-abelian groups β relevant to lattice and graph isomorphism problems) remain open, which is one reason lattice-based PQC is considered quantum-resistant.
β‘
Emerging Approaches β and Hype
In March 2026 the "JVG algorithm" claimed RSA-2048 could fall to just ~5,000 qubits; the cryptography community quickly identified fatal flaws and the claim is widely regarded as debunked. The genuine progress is quieter: better error correction and circuit compilation have cut qubit estimates from millions to hundreds of thousands (Google, ECDLP-256) and even ~10,000 (atom arrays). The threat advances through engineering, not miracle algorithms.
Classical vs Quantum Approaches to Cryptanalysis
| Aspect |
Classical Cryptanalysis |
Quantum Cryptanalysis |
| Factoring (RSA-2048) |
GNFS β sub-exponential; estimated 10Β²β΄+ operations; infeasible |
Shor's β O(nΒ³) gate complexity; feasible with ~10kβ1M physical qubits, depending on architecture |
| Discrete log (DH-2048) |
Index calculus β sub-exponential; comparable to factoring |
Shor's DLP variant β polynomial time; same qubit requirements |
| ECDLP (P-256) |
Pollard's rho β O(2ΒΉΒ²βΈ); infeasible |
Shor's ECDLP variant β polynomial; ~26k atomic qubits, days (Cain et al. 2026) |
| AES-128 key search |
Brute force β O(2ΒΉΒ²βΈ); infeasible |
Grover's β O(2βΆβ΄); potentially feasible but hardware-intensive |
| SHA-256 preimage |
Brute force β O(2Β²β΅βΆ); infeasible |
Grover's β O(2ΒΉΒ²βΈ); infeasible (adequate security margin) |
| Nature of speedup |
Algebraic/structural exploitation (e.g., lattice sieving, index calculus) |
Shor's: exponential; Grover's: quadratic (provably optimal) |
| Hardware requirement |
Classical CPUs/GPUs/ASICs; mature fabrication |
Fault-tolerant quantum processor; error correction overhead |
| Current feasibility |
Fully operational at all relevant scales |
Largest genuine Shor's factorisation to date: 21 (2012); cryptographic scale still years away |
Qubit Estimates for Cryptographically Relevant Attacks
How Close Is the Threat?
The practical timeline for quantum cryptanalysis depends on three factors: how many qubits a machine has, how error-prone they are, and how fast its gates run. As error correction improves, the physical qubit requirements drop rapidly β five orders of magnitude over two decades of research.
RSA-2048
~10,000 atomic qubits
Runtime 10β100Γ longer than P-256 at that scale (Cain et al., 2026); down from ~1M qubits with surface codes
ECC P-256
~26,000 atomic qubits β days
Or minutes on <500k superconducting qubits (Google, 2026); smaller key β lower quantum complexity than RSA
AES-128 (GROVER)
2βΆβ΄ quantum operations
Theoretically feasible but requires serial depth; NIST MAXDEPTH constraints limit parallelism
AES-256 (GROVER)
2ΒΉΒ²βΈ quantum operations
Remains computationally infeasible even for quantum adversaries β adequate security margin
Exponential vs Quadratic: the critical distinction in quantum cryptanalysis. Shor's algorithm provides an exponential speedup β it doesn't just make attacks faster, it makes previously impossible attacks trivially easy. Grover's algorithm provides a quadratic speedup β it makes attacks faster but not categorically different. This is why asymmetric cryptography must be replaced entirely, while symmetric cryptography need only increase key sizes.
Quantum Cryptanalysis Timeline
| Year |
Milestone |
Significance |
| 1994 |
Shor's algorithm published |
Polynomial-time factoring and DLP on quantum computer β theoretical end of RSA/ECC |
| 1996 |
Grover's algorithm published |
Optimal quadratic speedup for unstructured search β symmetric keys effectively halved |
| 2001 |
IBM factors 15 with 7-qubit NMR |
First physical demonstration of Shor's algorithm; proof of concept only |
| 2012 |
21 factored with photonic qubits |
Largest integer factored by Shor's; still far from cryptographic relevance |
| 2019 |
Google achieves quantum supremacy |
53-qubit Sycamore; random circuit sampling β not cryptanalytic but hardware milestone |
| 2024 |
NIST publishes PQC standards |
FIPS 203/204/205 β migration from quantum-vulnerable algorithms begins formally |
| 2025 |
RSA-2048 estimate drops below 1M qubits; NIST selects HQC |
Gidney (Google) shows factoring RSA-2048 in under a week with fewer than one million noisy qubits; HQC chosen as fifth PQC algorithm (backup KEM to ML-KEM) |
| 2026 |
Google Quantum AI: ECDLP-256 in <500k physical qubits |
~20Γ reduction in physical qubits for breaking ECC, minutes runtime; responsible disclosure via zero-knowledge proof; 2029 PQC migration deadline announced |
| 2026 |
Shor's with ~10,000 atomic qubits |
Cain et al. show cryptographic-scale Shor's possible on reconfigurable atom arrays with high-rate error-correcting codes |