Principles, Algorithms, Security, Implementation and Migration Strategies
Introduction: The Coming Cryptographic Disruption
- The digital trust we take for granted
- Why quantum computing changes everything
- The harvest-now-decrypt-later threat model
- What this book covers and how to use it
Chapter 1: Foundations of Cryptographic Security
- What cryptography promises: confidentiality, integrity, authentication, non-repudiation
- Number theory essentials: primes, modular arithmetic, groups, fields
- One-way functions and computational hardness
- Computational complexity: P, NP and why they matter for cryptography
- Randomness and entropy in cryptographic systems
Chapter 2: Symmetric Encryption and Hash Functions
- Block cipher design: substitution-permutation networks and Feistel structures
- Advanced Encryption Standard: structure, modes of operation, security
- Stream ciphers and authenticated encryption
- Cryptographic hash functions: collision resistance, preimage resistance, merkle trees
- Message authentication codes and authenticated encryption
Chapter 3: Public-Key Cryptography and Number-Theoretic Systems
- Public-key cryptography: the revolution that enables internet security
- RSA: key generation, encryption, decryption, mathematical structure and factorization hardness
- Discrete logarithms and Diffie-Hellman key exchange
- Elliptic curve cryptography: the mathematics of points and curves
- Digital signatures: RSA signatures, DSA, ECDSA, EdDSA
Chapter 4: Digital Certificates and Public-Key Infrastructure
- Digital certificates: structure, fields and the X.509 standard
- Certificate authorities and certificate hierarchies
- Certificate revocation: CRLs, OCSP and their limitations
- Web PKI: TLS certificates, browser trust stores, certificate transparency
- Long-term trust anchors and root certificate lifecycle
Chapter 5: How Quantum Computers Work
- Qubits and quantum states: superposition beyond classical bits
- Quantum gates and circuits: the building blocks of quantum computation
- Entanglement: correlated states and their computational power
- Quantum measurement and the collapse of superposition
- Quantum error correction: why millions of physical qubits are needed
Chapter 6: Quantum Algorithms That Threaten Cryptography
- Shor’s algorithm: period finding and the breakdown of RSA and ECC
- Step-by-step: how Shor’s algorithm factors integers
- Impact on discrete logarithms: Diffie-Hellman and elliptic curves
- Grover’s algorithm: quadratic speedup for search
- Practical considerations: qubit counts, circuit depth and error rates
Chapter 7: The Landscape of Post-Quantum Cryptography
- What post-quantum cryptography means and does not mean
- Criteria for post-quantum algorithms: security, efficiency, implementability
- The NIST post-quantum standardization process: rounds and outcomes
- Algorithm families at a glance: lattice, hash-based, code-based, multivariate
- Deprecated and broken schemes: lessons from NTRU Prime, SIKE and others
Chapter 8: Lattice-Based Cryptography: The Foundation of Modern PQC
- Lattices: definitions, basis and geometry of numbers
- The shortest vector problem and closest vector problem
- Learning with Errors (LWE): construction and security
- Ring-LWE and Module-LWE: structured lattices for efficiency
- From lattice problems to cryptographic primitives
Chapter 9: ML-KEM: NIST’s Lattice-Based Key Encapsulation Standard
- ML-KEM overview: design goals and standardization
- Mathematical foundations: module lattices and polynomial rings
- Key generation: structure and randomness requirements
- Encapsulation and decapsulation: procedures and error tolerance
- Parameter sets: Level 1, 3 and 5 security targets and trade-offs
- Performance and implementation: computational cost, memory, side channels
Chapter 10: ML-DSA: Digital Signatures on Module Lattices
- ML-DSA overview: lattice signatures and design philosophy
- Fiat-Shamir with Aborts: the signature paradigm
- Key generation, signing and verification procedures
- Parameter sets: security levels, signature sizes, key sizes
- Security analysis: forgery resistance and lattice reduction
- Practical deployment: performance, compatibility, edge cases
Chapter 11: SLH-DSA: Hash-Based Digital Signatures
- Hash-based signatures: history and conceptual foundations
- Stateless vs stateful designs: trade-offs in complexity and security
- SPHINCS+ architecture: hypertrees, FORS and WOTS+
- SLH-DSA standardization: parameter sets and security
- Comparison with lattice signatures: when hash-based wins
- Implementation considerations: performance, memory, simplicity
Chapter 12: Code-Based and Multivariate Cryptography
- Code-based cryptography: McEliece and the syndrome decoding problem
- The McEliece cryptosystem: history, security and key size challenges
- Multivariate polynomial cryptography: the difficulty of nonlinear systems
- Rainbow scheme and its cryptanalytic history
- Current status: standards landscape and future prospects
Chapter 13: Comparative Analysis: Classical vs Post-Quantum
- Security assumptions: what each algorithm depends on
- Key and ciphertext/signature sizes: bandwidth and storage impact
- Computational performance: latency, throughput, CPU cost
- Memory requirements: stack, heap and constrained environments
- Side-channel surface: timing, cache, power exposure
- Suitability matrix: which algorithms for which use cases
Chapter 14: TLS, PKI and Protocol-Level Integration
- Post-quantum TLS: draft specifications and hybrid modes
- Hybrid key exchange: combining classical and post-quantum
- Certificate formats: encoding post-quantum keys in X.509
- Protocol negotiation: versioning, downgrade protection, interoperability
- RFCs and drafts: IETF status and timeline
Chapter 15: Threats to Real-World Systems
- Financial infrastructure: transactions, settlement, digital signatures
- Healthcare data: long-term confidentiality and patient records
- Government and defense: classified data and national security
- Internet of Things and embedded systems: constrained migration paths
- Blockchain and digital assets: immutable ledgers with mutable security
- Industrial control systems: longevity and update challenges
Chapter 16: Harvest-Now-Decrypt-Later and Data Lifetimes
- Harvest-now-decrypt-later: mechanics and real-world examples
- Data confidentiality lifetimes: how long does data need protection?
- Signature longevity: verifying authenticity decades later
- Archival data: what requires immediate post-quantum protection?
- Priority frameworks: classifying systems by urgency
Chapter 17: Cryptographic Inventory and Asset Discovery
- Why cryptographic inventory matters: you cannot migrate what you cannot see
- Automated discovery: scanning for cryptographic libraries and configurations
- Protocol analysis: identifying cryptographic dependencies in services
- Dependency mapping: third-party libraries, vendor products, supply chain
- Risk scoring: prioritizing migration targets
Chapter 18: Migration Strategy and Roadmap Design
- Migration principles: agility, backward compatibility, risk reduction
- Algorithm selection criteria: matching algorithms to use cases
- Hybrid deployment: combining classical and post-quantum for transition
- Phased rollout: pilot programs, canary deployments, full transition
- Rollback planning: what happens when things go wrong
- Vendor coordination: working with external providers
Chapter 19: Implementation Security and Side-Channel Hardening
- Why implementation matters: mathematical security is not enough
- Timing attacks on post-quantum algorithms: sampling, reduction, comparison
- Cache-based attacks: branch prediction and memory access patterns
- Fault injection: exploiting power and clock manipulation
- Constant-time implementation: techniques and trade-offs
- Secure memory handling and key isolation
Chapter 20: Verification, Testing and Auditing
- Formal verification: proving correctness and constant-time behavior
- Fuzz testing: finding bugs in cryptographic implementations
- Differential testing: comparing implementations against reference
- Interoperability testing: NIST test events and validation
- Independent security audits: what to look for and how to interpret
- Continuous monitoring: post-deployment security assurance
Chapter 21: Hardware, Embedded Systems and Constrained Environments
- Resource constraints: memory, compute and power on small devices
- Optimized implementations for microcontrollers and ARM
- Hardware acceleration: ASIC and FPGA approaches
- Trusted Platform Modules and secure elements
- Longevity of embedded devices: replacing what cannot be updated
Chapter 22: Case Studies and Real-World Deployments
- Cloud providers: Google, Cloudflare and TLS experiments
- Government agencies: NSA, GCHQ and national strategies
- Financial institutions: early adopters and risk management
- Open-source projects: OpenSSL, LibreSSL and ecosystem support
- Lessons from failed and incomplete migrations
Chapter 23: Quantum Key Distribution and the Quantum-Communication Alternative
- What quantum key distribution is and what it promises
- BB84 and practical QKD protocols
- Distance limits, repeaters and trusted nodes
- Cost, infrastructure and deployment reality
- QKD vs post-quantum cryptography: complementary or competing?
Chapter 24: The Future of Digital Trust
- Cryptographic agility as a core architectural principle
- Long-term signature verification and timestamping
- Software supply chain security in a post-quantum world
- Decentralized identity and emerging trust models
- Ongoing research: what remains uncertain
Conclusion: The Path Forward
- Summary of the quantum threat and post-quantum response
- What different stakeholders must do now
- The ongoing journey: cryptography as an evolving discipline
- Final recommendations for organizations and practitioners