# The Quantum Countdown: How Quantum Computers Threaten Your Encrypted Data (2025 Guide)

Encryption is the quiet perimeter protecting finance, healthcare, IP and private life. For decades the hardness assumptions behind RSA, ECC and related primitives gave us confidence that ciphertext harvested today would remain opaque tomorrow. Quantum computing converts that comfortable extrapolation into a countdown. Nation-state adversaries are already stockpiling traffic (Harvest Now, Decrypt Later) betting on a future cryptographically relevant quantum computer (CRQC) to peel away today's public-key protection.

## Classical Foundations: Symmetric + Asymmetric Hybrid

Modern secure channels are engineered hybrids: a fast symmetric cipher (AES-GCM / ChaCha20-Poly1305) protects bulk payloads; a public-key primitive (RSA or ECC) bootstraps a shared secret; the symmetric key is short-lived and discarded.

- **Symmetric Encryption (AES-256)**: Fast bulk confidentiality + integrity (AEAD). Grover only yields quadratic speedup; AES-256 retains ~128 bits post-quantum effective security.
- **Asymmetric Encryption / Signatures**: RSA / ECC rely on integer factorization & discrete logarithms. Shor provides exponential speedup, collapsing their security once a CRQC arrives.
- **Hybrid Model**: Public-key step establishes/encapsulates a fresh symmetric key; thereafter only high-performance symmetric ops are used.
- **Single Point of Failure**: Break the asymmetric bootstrap and historical captured sessions (without forward secrecy) can be decrypted.

## Quantum Computing: Why It Changes the Risk Curve

Quantum machines leverage superposition, entanglement and interference to explore structured mathematical landscapes unreachable to classical hardware.

- **Superposition**: Represents many basis states simultaneously — enables parallel evaluation of structured functions.
- **Entanglement**: Correlated qubits encode global relationships exploited by period-finding (Shor).
- **Interference**: Algorithmic orchestration amplifies correct solution paths while cancelling noise.
- **Decoherence Challenge**: Fragile states require heavy error correction overhead; timeline uncertainty persists but risk is cumulative today.

## Quantum Attack Surface: Shor vs Grover

- **Shor's Algorithm**: Exponential speedup for factoring / discrete log; RSA/ECC signatures & key exchange broken; no parameter stretch rescue.
- **Grover's Algorithm**: Quadratic search speedup halves effective key length; AES-128 → ~64-bit security (insufficient); AES-256 → ~128-bit (acceptable).
- **Hash Functions**: Grover reduces preimage cost from 2^n to 2^(n/2); choose 256-bit outputs for margin.
- **Forward Secrecy Importance**: Ephemeral key exchanges limit retrospective decryption of harvested traffic once a PQ break occurs.

## Harvest Now, Decrypt Later (HNDL) Reality

Adversaries intercept and archive encrypted payloads today (VPN, TLS, file sync) expecting future PQ decryption of the asymmetric layer to expose historical symmetric keys. Any dataset requiring confidentiality lifetime X beyond (Z − Y) where Z = CRQC arrival estimate and Y = migration duration is already at risk (Mosca's inequality). Long-lived IP, health, defense & personal archives qualify now.

## Timeline & Risk Framing

Estimates for a cryptographically relevant quantum computer vary (≈2030–2045 plausible window; conservative outliers later). Migration of large estates frequently spans 3–7 years. Waiting for certainty guarantees overlap exposure for long-lived secrets.

## Global PQC Standardization (NIST 2024–2025)

NIST selected a diversified lattice + hash + code-based portfolio: ML-KEM (Kyber) for key establishment, ML-DSA (Dilithium) for signatures, SPHINCS+ (hash-based) as conservative backup, HQC (code-based) progressing as secondary KEM.

- **MLKEM (FIPS 203)**: Primary KEM — performance + small artifacts; lattice hardness.
- **ML-DSA (Dilithium / FIPS 204)**: Primary signatures — balance of size & speed; lattice based.
- **SPHINCS+ (FIPS 205)**: Hash-based fallback — larger signatures, extremely conservative assumptions.
- **HQC (Draft Backup)**: Code-based KEM diversity hedge.

## Quantum-Ready File Storage: Required Properties

- **Crypto-Agility**: Pluggable abstraction enabling rapid swap / parallel rollout of new KEMs & signature suites.
- **Hybrid Exchanges**: Combine classical X25519 with ML-KEM → derive session key from concatenated secrets (defense in depth).
- **Comprehensive PQ Coverage**: Apply PQ KEM to session establishment, PQ signatures to server auth, PQ derivation for KEK that wraps per-object DEKs.
- **Forward Secrecy**: Ephemeral (rotating) hybrid exchanges prevent retrospective mass decryption.
- **Key Hierarchy Hygiene**: Per-object DEKs wrapped by KEK derived via hybrid PQ handshake; rotate KEK on algorithm upgrade.
- **Attestation & Logging**: Signed metadata proving which algorithm set protected each object.

## DragBin Approach

DragBin implements hybrid (X25519 + MLKEM roadmap) for key establishment, AES-256 for content, Argon2id for key hardening, granular per-file key wrapping and forward secrecy session rotation. Crypto-agility layers isolate algorithm identifiers permitting seamless adoption of updated FIPS profiles or backup KEM/signature insertion without re-encrypting stored ciphertext.

## Quantum Encryption FAQ

- **When will quantum break RSA-2048?** Exact year unknown; credible probability within 2030s–2040s.
- **Is AES-256 quantum-safe?** Grover reduces effective strength to ~128 bits which remains robust; prefer AES-256 over AES-128 for margin.
- **What is Harvest Now, Decrypt Later?** Adversaries intercept & store ciphertext today intending future PQ decryption of its public-key layer.
- **Why hybrid now?** Combines mature classical assurance with PQ resilience; security at least the stronger side pending further cryptanalysis.
- **What is crypto-agility?** Design principle enabling rapid, low-risk substitution of cryptographic primitives without data format migration.

## Related

- [Post-quantum encryption](/post-quantum-encryption)
- [Harvest now, decrypt later](/harvest-now-decrypt-later)
- [E2EE encryption](/e2ee-encryption)
- [Zero-knowledge encryption](/zero-knowledge-encryption)
- [Security architecture](/security)
