Cryptography
The Quantum Threat to Cryptography
In 1994, Peter Shor published an algorithm that theoretically breaks RSA in polynomial time. The entire internet runs on RSA. Quantum computers are becoming a reality.
- **Google Willow 2024**: 105 qubits, quantum advantage demonstrated on specialized tasks - progress is exponential.
- **NIST 2024**: three final post-quantum standards (ML-KEM, ML-DSA, SLH-DSA) - the PQC era has begun.
- **China Quantum Backbone**: 2000 km QKD network between cities - quantum cryptography in production.
- **Harvest Now Decrypt Later**: intelligence agencies are presumably already collecting encrypted traffic today, waiting for future quantum capability.
Shor's Algorithm
Shor's algorithm (1994) solves the integer factorization problem in polynomial time O((log N)^3) on a quantum computer. The best classical algorithm (GNFS) runs in sub-exponential time - an exponential gap. RSA-2048 classically requires ~2^112 operations; quantumly on the order of (2048)^3 ≈ 8 billion. The key insight: factorization reduces to finding the period of f(x) = a^x mod N, which a quantum computer solves via QFT (Quantum Fourier Transform).
Shor's algorithm breaks RSA, finite-field DH, and ECDH/ECDSA - all systems based on factorization or discrete logarithm. Google Willow (2024) demonstrated quantum advantage on specialized tasks, but RSA-2048 remains out of reach. NIST launched its post-quantum standardization competition in 2016 and finalized it in 2024 - first standards: CRYSTALS-Kyber (ML-KEM), CRYSTALS-Dilithium (ML-DSA), FALCON, SPHINCS+.
Why is Shor's algorithm specifically devastating for RSA and ECC?