π Quantum Cryptography Stack β Dari Klasik ke Post-Quantum sampai Quantum-Native
Cryptography 2026 berada di titik balik sejarah : komputer kuantum skala-tinggi ancam algoritma klasik (RSA, ECC), tapi satu-satunya jawaban belum tersedia. Vault punya catatan untuk kriptografi klasik, post-quantum, dan quantum-key-distribution β tapi tidak ada satu dokumen pun yang memetakan roadmap migrasi lengkap . Catatan ini memetakan 7 lapisan , dari math foundation sampai production deployment, dengan timeline spesifik dan decision tree: kapan migrasi, ke algoritma apa, dengan cara bagaimana.
Daftar Isi
1. Premise β Mengapa Sekarang?
2. Seven-Layer Cryptography Stack
3. Layer 0 β Mathematical Foundation
4. Layer 1 β Classical Cryptography (1990-2025)
5. Layer 2 β Transition Phase
6. Layer 3 β Post-Quantum Cryptography (PQC) Standardized
7. Layer 4 β Quantum Key Distribution (QKD)
8. Layer 5 β Quantum-Resilient TLS Migration
9. Layer 6 β Storage, Identity, and Long-Term Data
10. Timeline 1990-2035 β Migrasi
11. Decision Tree β Kapan Migrasi ke Apa
12. Cross-Reference ke Vault
References
1. Premise β Mengapa Sekarang?
Tahun 2024-2026 adalah inflection point:
Driver 1: Harvest-Now-Decrypt-Later (HNDL) Attacks
Adversary menyimpan encrypted traffic sekarang
Decrypt nanti saat punya quantum computer
Target: anything dengan confidentiality >10-15 tahun (medical records, state secrets, IP)
Driver 2: NIST PQC Standards Published (2024)
August 2024: FIPS 203 (ML-KEM / Kyber), FIPS 204 (ML-DSA / Dilithium), FIPS 205 (SLH-DSA / SPHINCS+)
Migration has begun in earnest
Driver 3: Quantum Ambition 2030+
Googleβs Willow (Dec 2024), IBM Quantum Heron (2024)
Logical qubit error rate down 10Γ per year
Cryptographically-relevant quantum computer (CRQC): 2029-2035 most estimates
Driver 4: Long Tail of Compliance
Regulatory mandates for PQC migration underway
CNSA 2.0 (NSA, 2024 timeline)
EU PQCMigration roadmap (2025)
2. Seven-Layer Cryptography Stack
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β Layer 6 β Storage, Identity, Long-Term Data β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β Layer 5 β Quantum-Resilient TLS / Network Protocols β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β Layer 4 β Quantum Key Distribution (QKD) β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β Layer 3 β Post-Quantum Cryptography (NIST PQC) β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β Layer 2 β Hybrid Crypto (Classical + PQC combined) β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β Layer 1 β Classical Cryptography (RSA/ECC/AES/SHA) β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β Layer 0 β Mathematical Foundation β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β HIGHER = MORE FORWARD-LOOKING
3. Layer 0 β Mathematical Foundation
3.1 Dua Fondasi Matematis
Fondasi Algoritma yang Berdiri Di Atasnya Dipengaruhi Quantum Integer Factorization RSA β
Shorβs (1994) Discrete Logarithm Diffie-Hellman, DSA, ECDSA, Ed25519 β
Shorβs Elliptic Curves (EC) ECDSA, Ed25519, X25519 β
Shorβs Symmetric crypto AES, ChaCha20 π‘ Groverβs (effective security halved) Hash functions SHA-256, SHA-3, BLAKE3 π‘ Groverβs (quadratic speedup) Lattice problems Kyber, Dilithium, NTRU β Unknown quantum exploit (yet) Hash-based signatures SPHINCS+, XMSS, LMS β Secure Code-based Classic McEliece β Secure (since 1978) Multivariate Rainbow (broken), MAYO π‘ Some risks Isogeny (broken) SIKE (broken 2022) β Broken (non-quantum)
3.2 Shorβs vs Groverβs Algorithm
Algorithm Target Quantum Speedup Impact Shor Integer factorization, discrete log Exponential RSA/ECC broken (2048-bit in hours) Grover Brute-force search Quadratic AES-256 β AES-128 effective strength
Implikasi:
Gunakan AES-256 (Groverβs resistance)
Ganti RSA/ECC dengan lattice/hash-based (Shorβs resistance)
Hash output harus 2Γ lipat (SHA-256 β SHA-512)
4. Layer 1 β Classical Cryptography (1990-2025)
4.1 Rekomendasi Saat Ini (Pre-PQC)
Use Case Algorithm Key Size Symmetric encryption AES-256-GCM 256 bit Symmetric backup ChaCha20-Poly1305 256 bit Hashing SHA-3-256, BLAKE3 256+ bit Key exchange X25519 256 bit Signing Ed25519 256 bit (pub/priv) Password hashing Argon2id 64-128 MB memory TLS 1.3 All above via OpenSSL 3.x -
4.2 Status 2026
Masih aman untuk kebanyakan kasus (CRQC masih dalam horizon)
Tidak aman untuk long-term confidentiality (HNDL attack relevan)
Sudah deprecated di beberapa compliance (CNSA 2.0 NSA ban pure-RSA in NSS by 2033)
Koneksi ke Vault:
5. Layer 2 β Transition Phase: Hybrid Crypto (2024-2030)
5.1 Mengapa Hybrid First?
Migrasi langsung ke PQC memiliki risiko :
Implementasi PQC baru β bugs di library
Standard baru (NIST) masih terus direview
Performance trade-offs besar (key size 10-100Γ larger)
Compatibility issue di protokol lama (TLS, JWT, X.509)
Solusi: hybrid β jalankan classical + PQC paralel . Hasil union β aman dari keduanya.
5.2 Pattern Hybrid Key Exchange
Traditional TLS:
Client β KeyShare (X25519) β Server
β shared secret = ECDH(X25519)
Hybrid TLS (X25519+ML-KEM-768):
Client β KeyShare (X25519, ML-KEM-768) β Server
β shared secret = KDF( ECDH(X25519) || ML-KEM_decaps(pk) )
β Aman dari quantum attack (PQC) + bug PQC (classical)
5.3 Hybrid Implementations (2026)
Implementation Algorithms Status TLS 1.3 hybrid X25519 + ML-KEM-768 Chrome + Firefox support (2024) OpenSSL 3.5+ PQC provider Released 2025 Cisco TLS X25519 + ML-KEM-768 Production 2025 AWS KMS RSA + ML-KEM Internal pilot 2024 IBM HSM ECC + ML-DSA Hybrid 2025
5.4 Hybrid Trade-offs
Pro Con Aman dua arah Bandwidth naik ~1-2 KB per handshake Compliance-friendly (roll-forward) Latency naik 10-20% (ML-KEM dilithium lebih lambat) Incremental rollout Lebih kompleks dari pure-PQC Backward compatible (melalui TLS 1.3) 2 algorithm agility perlu
5.5 Standar Hybrid
IETF draft-ietf-tls-hybrid-kem β RFC track
X25519+ML-KEM-768 β sudah di Chrome/Firefox
P384+ML-KEM-1024 β quantum-resistant hybrid
X25519+Kyber768 β serupa
6. Layer 3 β Post-Quantum Cryptography (PQC) Standardized
6.1 NIST PQC Standards (Final 2024)
Standard Algoritma Use Case Type FIPS 203 ML-KEM (Kyber768) Key Encapsulation Lattice (Module-LWE) FIPS 204 ML-DSA (Dilithium3) Digital Signature Lattice (Module-LWE) FIPS 205 SLH-DSA (SPHINCS+) Signature (conservative) Hash-based
Also standardized/non-standardized:
Algorithm Type Status FN-DSA (Falcon) Lattice signature NIST standards-track (final near) Classic McEliece Code-based Alternate (long keys, slow) BIKE Code-based Alternate candidate HQC Code-based Alternate candidate MAYO Multivariate Under review
Algorithm Public Key (B) Ciphertext/Sig (B) Sign/Enc Time Verify/Dec Time RSA-2048 256 256 1.5 ms 0.03 ms ECDSA P256 64 64 0.05 ms 0.1 ms Ed25519 32 64 0.05 ms 0.1 ms ML-KEM-768 1216 1088 0.02 ms 0.03 ms ML-DSA-65 1952 3293 0.5 ms 0.2 ms SLH-DSA-SHAKE-128s 32 7856 50 ms 5 ms Falcon-512 897 614 0.4 ms 0.1 ms
Key Insight: ML-KEM jauh lebih cepat dari RSA , tapi key size 10-100Γ lebih besar . Trade-off bandwidth/signature inline.
6.3 Implementation Libraries (2026)
Library Languages Algorithms Status liboqs C All NIST Mainstream Open Quantum Safe (liboqs) C, Python bindings All Production pqcrypto (Python) Python wrapping liboqs All Research Bouncy Castle (Java) Java ML-KEM, ML-DSA Production openssl-pqc-provider (3.5+) C ML-KEM, ML-DSA Production Go BoringSSL PQC Go X25519+ML-KEM Production AWS s2n PQC C ML-KEM hybrid AWS-internal
7. Layer 4 β Quantum Key Distribution (QKD)
7.1 Apa QKD Bukan?
QKD bukan post-quantum cryptography . QKD adalah metode berbeda:
Kirim key melalui quantum channel (photon polarization)
Secara fisik aman β eavesdropping terdeteksi melalui quantum mechanics
Membutuhkan hardware khusus β fiber optic, single-photon detector, satellite link
Distance-limited β ~100 km per hop di fiber, bisa ribuan km via satellite
7.2 Protokol QKD
Protokol Tahun Mekanisme BB84 1984 Photon polarization (4 state) E91 1991 Entangled pairs B92 1992 2-state BBM92 1992 Ekstensi E91 MDI-QKD 2012 Measurement-device-independent TF-QKD 2019 Twin-field, longer distance
7.3 QKD Networks (2026)
Network Lokasi Status Tokyo QKD Network Jepang Production (10+ banks) Beijing-Shanghai Cina 2000 km backbone EU Quantum Internet Eropa In development Madrid Quantum Network Spanyol Testbed UK Quantum Network UK Testbed Korea KQNet Korea Production Singapore-Singtel Singapura Testbed DARPA QKD Trials US 2024-2026 Micius Satellite Cina Global QKD via satellite
7.4 QKD vs PQC trade-offs
Aspek PQC QKD Hardware Pure software Photon source/detector Distance Unlimited ~100 km fiber, sat unlimited Speed 100K+ ops/s ~10-100 Kbps Deployment TLS upgrade highway New infrastructure Cost $0 (algoritma) $$ - $$$$ Maturity NIST standards done Limited deployments
Hybrid PQC+QKD β best of both. QKD untuk high-confidentiality session, PQC for general.
8. Layer 5 β Quantum-Resilient TLS Migration
8.1 Status TLS 2026
TLS 1.3 default everywhere
Hybrid key exchange (X25519+ML-KEM-768) implemented in:
Chrome 131+ (Sept 2024)
Firefox 132+ (Oct 2024)
OpenSSL 3.5+
AWS CloudFront
Cloudflare
8.2 Quantum-Resilient TLS Stack
βββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β Application (HTTPS, gRPC, etc) β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β TLS 1.3 (RFC 8446) + Hybrid KX extensions β
β ββ KeyShare: { x25519: pub1, ml_kem768: pub2 } β
β ββ KDF: ECDH(X25519) || ML-KEM_decaps(...) β
β ββ Result: shared secret 32-byte β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β Transport (TCP / QUIC) β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββ
8.3 Migration Checklist (Production)
[ ] Update OpenSSL/BoringSSL ke 3.5+ / 2024 edition
[ ] Hybrid keyshare configured in TLS group selection
[ ] Cert verification accepts both classical & hybrid chain
[ ] Test performance with slower x25519+ml-kem768
[ ] EDR/XDR updated to detect anomaly PQC usage
[ ] Monitoring β alert on TLS failures (hybrid tidak bisa fallback)
[ ] Roll-out phase: 1% β 10% β 50% β 100%
[ ] Documented rollback ke X25519-only
8.4 Browser Support TLS PQC
Browser PQC Hybrid Support Date Chrome 124+ X25519Kyb768 (legacy group) 2024 Chrome 131+ X25519+ML-KEM-768 2024-09 Firefox 124+ X25519Kyb768 2024 Firefox 132+ X25519+ML-KEM-768 2024-10 Safari RFP / in progress 2025-2026 Edge Inherits Chrome 2024+
9. Layer 6 β Storage, Identity, and Long-Term Data
9.1 HNDL: Harvest-Now-Decrypt-Later
Data dengan confidentiality >10-15 tahun perlu quantum-resistant protection SEKARANG :
Data Category Confidentiality Period Migrasi Harus Mulai Geopolitical secrets 50+ years 2024 Medical genetic data Lifetime 2024 Industrial R&D 10-25 years 2025 Financial transaction 7-10+ years (regs) 2026 Government comms 20+ years 2024
9.2 Storage Cryptography
Komponen Pre-PQC PQC Hybrid Disk encryption (LUKS) AES-256-XTS AES-256-XTS unchanged (Grover-resistant) S3 SSE-KMS AES-256 AES-256 β secure storage tetap aman Backup AES-256 + RSA wrapping key Wrapping key β ML-KEM PGP / GPG RSA-4096 ML-KEM-768 + (RSA optional) JWT (RS256) RS256 ML-DSA-65 X.509 cert RSA/ECDSA ML-DSA or hybrid
9.3 Identity & PKI Migration
Component Migration Root CA Tetap RSA/ECC (signs infrequently, long lifetime) β wrap dengan ML-DSA sebagai βshieldβ Issuing CA Dual-signed: classical + ML-DSA End-entity cert Issued dengan ML-DSA CMP/EST Add PQC algorithm negotiation CRL/OCSP Signed dengan classical or ML-DSA SCEP/CMS Add PQC support
9.4 Code Signing & Software Supply Chain
Tool Pre-PQC PQC Sigstore (cosign) ECDSA ML-DSA-65 Sigstore Fulcio ECDSA ML-DSA-65 SLSA provenance ECDSA ML-DSA-65 TUF (The Update Framework) RSA/ECDSA ML-DSA-65 Microsoft Authenticode RSA-2048 ML-DSA-65 (research 2024) Notary v2 ECDSA ML-DSA-65
Koneksi ke Vault:
10. Timeline 1990-2035 β Migrasi
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β Era β Major Milestone β
ββββββββββββββββΌβββββββββββββββββββββββββββββββββββββββββββββββββββ€
β 1990-2000 β RSA/ECC symmetric dominance β
β 2000-2014 β TLS 1.0/1.2, ECDSA emerges β
β 2014-2016 β SHA-1 broken, SHA-256 default β
β 2016-2022 β Shor awareness, NIST PQC competition launch β
β 2022 β SIKE broken (quantum hype peak) β
β Jul 2022 β NIST selects 4 PQC algorithms (Kyber, Dilithium, β
β β Falcon, SPHINCS+) β
β Aug 2024 β FIPS 203/204/205 published (ML-KEM, ML-DSA, SLH-DSA)β
β Sep-Oct 2024 β Chrome/Firefox ship X25519+ML-KEM-768 hybrid β
β 2025 β OpenSSL 3.5+ PQC provider mainstream β
β 2026 β Production hybrid everywhere β
β 2027-2029 β State actors begin PQC-only for high security β
β 2030-2032 β NSA's CNSA 2.0 mandates pure PQC for NSS β
β 2030+ β CRQC (cryptographically relevant quantum) emergence β
β 2033 β NIST classical-only ban di NSS complete β
β 2035 β QKD networks production-ready (limited use) β
β 2040s β Pure PQC + QKD mostly standard β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
10.1 Rekomendasi Migrasi Berdasarkan Level Confidentiality
Confidentiality horizon Pure PQC mulai produksi Hybrid production <5 years 2030 2026 5-10 years 2028 2025 10-15 years 2026 2024 15-30 years 2025 2024 30+ years 2024 2024
11. Decision Tree β Kapan Migrasi ke Apa
START
β
Confidentiality >15 years? (HNDL relevan)
/ \
Yes No
β β
Long-term Short-term
β ("secure-classical OK for now")
β β
Pure PQC, today Hybrid tahun ini
(X25519+ML-KEM) (X25519+ML-KEM+ML-DSA)
β β
β Disk encryption unchanged
β KMS wrapping key β ML-KEM
β Cert β ML-DSA (signed)
β Backup β wrap key ML-KEM
β
QKD feasible infra?
/ \
Yes No
β β
Use QKD for Pure-PQC
backbone suffit
12. Cross-Reference ke Vault
References
NIST. βFIPS 203: Module-Lattice-Based Key-Encapsulation Mechanism (ML-KEM).β (2024).
NIST. βFIPS 204: Module-Lattice-Based Digital Signature (ML-DSA).β (2024).
NIST. βFIPS 205: Stateless Hash-Based Digital Signature (SLH-DSA).β (2024).
Shor. βPolynomial-Time Algorithms for Prime Factorization.β FOCS 1994.
Grover. βA Fast Quantum Mechanical Algorithm for Database Search.β STOC 1996.
NIST. βPost-Quantum Cryptography.β https://csrc.nist.gov/projects/post-quantum-cryptography
CNSS. βCNSA 2.0: Quantum-Resistant Cryptography.β (2022-2024).
ETSI. βQuantum Key Distribution (QKD); Use Cases.β (2024).
IETF. βdraft-ietf-tls-hybrid-kem.β (2024).
Cloudflare. βPost-Quantum TLS Performance.β (2024).
Google. βPost-Quantum in Chrome.β (2024).
AWS. βHybrid Post-Quantum TLS in CloudFront.β (2024).
CISA. βQuantum-Readiness Migration to PQC.β (2024).
NSA. βQuantum Computing and Post-Quantum Cryptography FAQ.β (2024).
Open Quantum Safe Project. βliboqs documentation.β https://openquantumsafe.org/