← Previous Tutorial | Table of Contents | Unit Home | Next Tutorial →

Tutorial 8.13: Quantum Computing and Post-Quantum Security

📑 Table of Contents

Learning Objectives Overview 1. Quantum Computing Fundamentals 1.1 Quantum Concepts 1.2 Qubits 1.3 Quantum Algorithms 2. Security Implications 2.1 Cryptographic Risks 2.2 Impact on Public‑Key Encryption 3. Post‑Quantum Cryptography 3.1 Quantum‑Resistant Algorithms 3.2 Migration Strategies 3.3 Future Cryptographic Planning 4. Organizational Readiness 4.1 Crypto Inventory 4.2 Transition Planning Quiz Exercises Homework Summary

🎯 Learning Objectives

After completing this tutorial, you will be able to:

  • Explain the fundamental concepts of quantum computing, including qubits, superposition, entanglement, and quantum gates.
  • Describe key quantum algorithms (Shor's, Grover's) and their implications for cryptography.
  • Analyze the cryptographic risks posed by quantum computers to current public‑key infrastructure.
  • Evaluate post‑quantum cryptographic algorithms and their suitability for different use cases.
  • Design a migration strategy from classical to post‑quantum cryptography.
  • Assess organizational readiness for the quantum transition, including crypto inventory and risk assessment.
  • Recommend a phased approach to post‑quantum readiness.
  • Critique the assumptions and limitations of current post‑quantum standards.
  • Forecast the timeline for quantum threat emergence and its impact on security planning.

Overview

Quantum computing represents one of the most profound technological shifts since the invention of the transistor. While still in its early stages, quantum computers have the potential to solve problems that are intractable for classical computers, with profound implications for cryptography, optimization, and simulation. For cybersecurity, the most significant concern is the cryptographic threat: quantum computers running Shor's algorithm can factor large numbers and compute discrete logarithms in polynomial time, effectively breaking RSA, ECC, and Diffie‑Hellman—the foundations of modern public‑key infrastructure (PKI).

The timeline for the emergence of a cryptographically relevant quantum computer (CRQC) is debated, but many experts estimate that it could arrive within the next 10–20 years. This means that the data being encrypted today with classical algorithms may be vulnerable to "harvest now, decrypt later" attacks, where adversaries collect encrypted data now and decrypt it once quantum computers become available. This creates an urgent need for organizations to begin their transition to post‑quantum cryptography (PQC)—cryptographic algorithms that are resistant to both classical and quantum attacks.

This tutorial, Tutorial 8.13: Quantum Computing and Post‑Quantum Security, provides a comprehensive overview of the quantum threat and the steps organizations must take to prepare. We begin with the fundamentals of quantum computing, explaining the key concepts—qubits, superposition, entanglement, and quantum gates—that underpin quantum algorithms. We then describe the two most important quantum algorithms for cryptography: Shor's algorithm (which breaks public‑key cryptography) and Grover's algorithm (which weakens symmetric cryptography).

We then explore the security implications in detail: which cryptographic primitives are vulnerable and which are not. We discuss the "harvest now, decrypt later" threat and the impact on long‑term data confidentiality. We also address the implications for digital signatures, key exchange, and authentication.

The core of the tutorial is dedicated to post‑quantum cryptography. We survey the leading families of quantum‑resistant algorithms, including lattice‑based, code‑based, hash‑based, and multivariate‑based cryptography, and we discuss the NIST standardization process that has selected several algorithms for standardization. We provide guidance on migration strategies, including hybrid cryptography (mixing classical and post‑quantum algorithms) and crypto‑agility, and we address the challenges of transitioning large, complex systems.

Finally, we discuss organizational readiness: how to conduct a crypto inventory, assess risk, develop a transition plan, and build the necessary skills and partnerships. We emphasize that the transition to post‑quantum cryptography is not a single event but a multi‑year journey that requires proactive planning, investment, and coordination.

By the end of this tutorial, you will have a deep understanding of the quantum threat and a practical roadmap for preparing your organization for the post‑quantum era. This tutorial is essential for security architects, CISOs, and anyone responsible for long‑term data protection.

1. Quantum Computing Fundamentals

1.1 Quantum Concepts

Quantum computing harnesses the principles of quantum mechanics to perform computations. Two key principles are:

  • Superposition: A quantum system can exist in multiple states simultaneously. In classical computing, a bit is either 0 or 1. In quantum computing, a qubit can be in a superposition of both 0 and 1 at the same time, enabling parallel computation.
  • Entanglement: Two or more qubits can become entangled, meaning the state of one qubit is correlated with the state of another, regardless of the distance between them. This enables powerful correlations that are used in quantum algorithms.
  • Interference: Quantum amplitudes can interfere constructively or destructively, allowing quantum algorithms to amplify correct answers and cancel out incorrect ones.

A quantum computer operates by applying a sequence of quantum gates (unitary operations) to qubits, performing a computation, and then measuring the qubits to obtain the result. The measurement collapses the superposition to a classical state (0 or 1).

1.2 Qubits

A qubit (quantum bit) is the basic unit of quantum information. Unlike a classical bit, which is either 0 or 1, a qubit can be in a state represented as:

|ψ⟩ = α|0⟩ + β|1⟩

where α and β are complex numbers representing the probability amplitudes of the qubit being in state |0⟩ or |1⟩, and |α|² + |β|² = 1.

Qubits can be implemented using various physical systems: superconducting circuits (used by IBM, Google), trapped ions (IonQ), photons, or neutral atoms. Each implementation has its own challenges in terms of coherence time, error rates, and scalability.

Current quantum computers have between tens and a few hundred qubits, but they are noisy intermediate‑scale quantum (NISQ) devices, meaning they are error‑prone and cannot yet run long, complex algorithms without error correction. The race is on to build fault‑tolerant quantum computers with error correction, which will be required to run Shor's algorithm on cryptographically relevant key sizes.

1.3 Quantum Algorithms

Two quantum algorithms are of particular concern to cryptography:

  • Shor's Algorithm (1994): Efficiently factors large integers and computes discrete logarithms. This breaks RSA and ECC (Elliptic Curve Cryptography), as well as Diffie‑Hellman key exchange. The complexity of Shor's algorithm is polynomial, O((log N)³), making it feasible on a sufficiently large fault‑tolerant quantum computer.
  • Grover's Algorithm (1996): Provides a quadratic speedup for unstructured search. For symmetric cryptography, Grover's algorithm reduces the effective key length by half (e.g., AES‑256 becomes equivalent to AES‑128 against a quantum attack). This is not a catastrophic break, but it means that symmetric keys need to be doubled to maintain security (e.g., AES‑128 becomes vulnerable, AES‑256 remains secure).
Algorithm Function Cryptographic Impact Complexity (Quantum)
Shor's Algorithm Integer factorization, discrete log Breaks RSA, ECC, DSA, DH Polynomial: O((log N)³)
Grover's Algorithm Unstructured search Weakens symmetric crypto (AES, SHA) Quadratic speedup: O(√N)
+--------------------------------------------------------------------+ | QUANTUM COMPUTING BASICS | +--------------------------------------------------------------------+ | | | +------------------------------------------------------------+ | | | QUBIT | | | | • |ψ⟩ = α|0⟩ + β|1⟩ | | | | • Superposition: can be 0 and 1 simultaneously | | | | • Measurement collapses to 0 or 1 | | | +------------------------------------------------------------+ | | | | | +------------------------------------------------------------+ | | | QUANTUM GATES (Unitary Ops) | | | | • Hadamard (H): Creates superposition | | | | • Pauli-X, Y, Z: Bit flips, phase shifts | | | | • CNOT: Entanglement (controlled NOT) | | | +------------------------------------------------------------+ | | | | | +------------------------------------------------------------+ | | | QUANTUM ALGORITHMS | | | | • Shor: Factors integers → Breaks RSA, ECC | | | | • Grover: Quadratic search → Weakens AES, SHA | | | +------------------------------------------------------------+ | +--------------------------------------------------------------------+
🔑 Key Takeaway: Quantum computers exploit superposition and entanglement to perform computations that are infeasible for classical computers. Shor's algorithm breaks public‑key cryptography, while Grover's algorithm weakens symmetric cryptography, requiring key length increases.

2. Security Implications

2.1 Cryptographic Risks

The advent of a cryptographically relevant quantum computer (CRQC) would have profound consequences:

  • Public‑Key Infrastructure (PKI): RSA, ECC, and DSA digital signatures would be forgeable, and key exchange (Diffie‑Hellman, ECDH) would be broken. This would undermine the trust model of the internet, including TLS/HTTPS, code signing, email encryption (S/MIME, PGP), and certificate authorities.
  • Secure communications: All encrypted data that has been intercepted and stored (e.g., VPN traffic, emails, encrypted files) could be decrypted retrospectively—the "harvest now, decrypt later" threat.
  • Digital signatures: Authentication of software updates, firmware, and legal documents would be compromised.
  • Blockchain and cryptocurrencies: Many blockchain systems rely on ECC signatures; a quantum computer could forge transactions and steal funds.

The timeline for the CRQC is uncertain, but many experts estimate 10–20 years. However, the "harvest now, decrypt later" threat is already a reality: adversaries can collect encrypted data today and decrypt it in the future. This means that data with long‑term sensitivity (e.g., classified documents, health records, trade secrets) should already be protected with quantum‑resistant algorithms.

2.2 Impact on Public‑Key Encryption

The impact on different cryptographic primitives varies:

  • RSA: Vulnerable to Shor's algorithm. Key lengths up to 4096 bits would be broken.
  • ECC (Elliptic Curve Cryptography): Vulnerable to Shor's algorithm (discrete log problem).
  • Diffie‑Hellman (DH): Vulnerable to Shor's algorithm.
  • AES‑128: Reduced to ~64 bits of security by Grover's algorithm (theoretically, though implementation details matter). AES‑256 remains secure, offering ~128 bits of security.
  • SHA‑256: Grover's algorithm could reduce the complexity of finding collisions, but SHA‑256 remains practically secure with appropriate padding and hash lengths.
  • Hash‑based signatures (e.g., XMSS, SPHINCS+): Believed to be quantum‑resistant.
📘 Case Study: Harvest Now, Decrypt Later

In 2023, intelligence agencies in multiple countries were reported to be collecting large volumes of encrypted internet traffic, storing it for future decryption once quantum computers become available. This practice, known as "harvest now, decrypt later," highlights the urgency of transitioning to post‑quantum cryptography. Any data that is encrypted today with RSA or ECC could be exposed in the future, including:

  • Classified government communications
  • Corporate trade secrets and intellectual property
  • Personal health and financial records
  • Encrypted backups and archives

This threat has driven the accelerated adoption of post‑quantum cryptography in some sectors, with organizations like Google, Cloudflare, and IBM already deploying hybrid PQC in their products.

🔑 Key Takeaway: Quantum computers will break RSA, ECC, and Diffie‑Hellman, undermining PKI, secure communications, and digital signatures. The "harvest now, decrypt later" threat means that long‑term data is already at risk. Organizations must begin preparing for the post‑quantum transition.

3. Post‑Quantum Cryptography

3.1 Quantum‑Resistant Algorithms

Post‑quantum cryptography (PQC) refers to cryptographic algorithms that are believed to be secure against both classical and quantum attacks. These algorithms are based on mathematical problems that are hard for both classical and quantum computers. The main families are:

  • Lattice‑based: Based on the hardness of finding short vectors in high‑dimensional lattices. Examples: Kyber (key encapsulation), Dilithium (digital signatures). These are the leading candidates for standardization due to their efficiency and security.
  • Code‑based: Based on the hardness of decoding random linear codes. Example: McEliece (encryption) – one of the oldest PQC schemes, with very large key sizes.
  • Hash‑based: Based on the security of cryptographic hash functions. Examples: XMSS (stateful), SPHINCS+ (stateless). These are primarily used for digital signatures.
  • Multivariate‑based: Based on the hardness of solving systems of multivariate equations. Example: Rainbow (signatures) – though Rainbow was broken in 2022, highlighting the need for careful analysis.
  • Isogeny‑based: Based on the hardness of finding isogenies between elliptic curves. Example: SIKE (key encapsulation) – also broken in 2022, demonstrating the fragility of some PQC proposals.

The NIST PQC Standardization Process has been running since 2016. In 2022, NIST announced the first standardized algorithms:

  • CRYSTALS‑Kyber: Key encapsulation mechanism (KEM) – standard as ML‑KEM.
  • CRYSTALS‑Dilithium: Digital signature – standard as ML‑DSA.
  • SPHINCS+: Hash‑based signature – standard as SLH‑DSA.
  • Falcon: Lattice‑based signature – standard as FN‑DSA.

These algorithms are now available for implementation and are expected to be widely adopted in the coming years.

Family Algorithm (NIST Standard) Type Key Size Performance
Lattice‑based ML‑KEM (Kyber) KEM ~1.5 KB public key Fast, practical
Lattice‑based ML‑DSA (Dilithium) Signature ~1.3 KB public key Fast, practical
Hash‑based SLH‑DSA (SPHINCS+) Signature ~1 KB public key Slower, larger signatures
Lattice‑based FN‑DSA (Falcon) Signature ~1 KB public key Very fast, complex implementation

3.2 Migration Strategies

Migrating to post‑quantum cryptography is a complex, multi‑year process. Key strategies include:

  • Hybrid Cryptography: Combining classical and post‑quantum algorithms in a single cryptographic protocol. For example, a TLS connection could use both ECDH (classical) and ML‑KEM (post‑quantum) key exchange. The security of the hybrid is at least as strong as the strongest of the two components. This provides a gradual migration path and ensures backward compatibility.
  • Crypto‑Agility: Designing systems to support multiple cryptographic algorithms and to switch between them easily. This requires modular architecture, configuration‑driven algorithm selection, and automated testing.
  • Priority‑based migration: Not all systems need to be migrated at once. Prioritization should be based on data sensitivity, system lifespan, and the exposure of the cryptographic material. For example, systems protecting long‑term secrets (e.g., certificate authorities, VPN concentrators) should be migrated first.
  • Testing and validation: Extensive testing is required to ensure that PQC implementations are correct, efficient, and secure. This includes performance testing, compatibility testing, and security evaluation.

3.3 Future Cryptographic Planning

Organizations should adopt a post‑quantum roadmap that includes:

  • Inventory: Understanding where and how cryptography is used.
  • Assessment: Evaluating the quantum risk for each use case.
  • Planning: Developing a migration plan with clear milestones.
  • Implementation: Deploying PQC in phases, starting with pilot projects.
  • Verification: Continuously validating the security and performance of PQC deployments.
🔑 Key Takeaway: Post‑quantum cryptography is based on mathematical problems that are hard for quantum computers. NIST has standardized several algorithms (ML‑KEM, ML‑DSA, SLH‑DSA, FN‑DSA). Migration requires hybrid cryptography, crypto‑agility, and a phased, risk‑based approach.

4. Organizational Readiness

4.1 Crypto Inventory

A crypto inventory is a comprehensive catalog of all cryptographic assets and their usage within an organization. This is the foundational step for post‑quantum readiness. The inventory should include:

  • Assets: Systems, applications, devices, and data that use cryptography.
  • Cryptographic algorithms: Which algorithms are in use (RSA, ECC, AES, SHA, etc.) and their key lengths.
  • Protocols: Which protocols use cryptography (TLS, IPSec, SSH, S/MIME, etc.).
  • Key management: Where are keys stored, how are they generated, and what are their lifecycles?
  • Dependencies: Which systems depend on the cryptographic infrastructure (e.g., certificate authorities, HSMs).
  • Data sensitivity: Which data needs long‑term confidentiality and is vulnerable to the "harvest now, decrypt later" threat.

Conducting a crypto inventory is a significant undertaking, but it is essential for understanding the scope of the migration effort. Automated discovery tools can help identify cryptographic assets, but manual verification is often required for legacy systems.

4.2 Transition Planning

A post‑quantum transition plan should be developed with the following phases:

  • Phase 1: Awareness and Assessment (0–1 year)
    – Build awareness of the quantum threat across the organization.
    – Conduct a crypto inventory and risk assessment.
    – Identify high‑priority systems for migration.
  • Phase 2: Pilot and Testing (1–2 years)
    – Pilot PQC in non‑critical systems.
    – Test hybrid TLS configurations.
    – Evaluate performance and compatibility.
  • Phase 3: Migration of High‑Risk Systems (2–5 years)
    – Migrate certificate authorities, VPNs, and other critical systems.
    – Implement crypto‑agile architectures.
    – Begin using PQC for long‑term data protection.
  • Phase 4: Full Deployment (5–10 years)
    – Migrate all remaining systems.
    – Decommission vulnerable classical algorithms.
    – Continuous monitoring and updates.
+-----------------------------------------------------------------------+ | POST-QUANTUM TRANSITION ROADMAP | +-----------------------------------------------------------------------+ | | | +---------------------------------------------------------------+ | | | Phase 1: Awareness & Assessment (0-1 year) | | | | • Educate stakeholders | | | | • Complete crypto inventory | | | | • Assess quantum risk | | | +---------------------------------------------------------------+ | | | | | +---------------------------------------------------------------+ | | | Phase 2: Pilot & Testing (1-2 years) | | | | • Deploy PQC in test environments | | | | • Test hybrid crypto (classical + PQC) | | | | • Validate performance and interoperability | | | +---------------------------------------------------------------+ | | | | | +---------------------------------------------------------------+ | | | Phase 3: Migration (2-5 years) | | | | • Migrate CAs, VPNs, secure storage | | | | • Implement crypto-agility | | | | • Deploy PQC for long-term data | | | +---------------------------------------------------------------+ | | | | | +---------------------------------------------------------------+ | | | Phase 4: Full Deployment (5-10 years) | | | | • Complete migration of all systems | | | | • Decommission classical algorithms | | | | • Continuous monitoring and improvement | | | +---------------------------------------------------------------+ | +-----------------------------------------------------------------------+
📘 Case Study: Google's Post‑Quantum Experiment

In 2024, Google announced that it had deployed a hybrid post‑quantum key exchange (X25519Kyber768) in its Chrome browser and on its internal networks. This represented one of the first large‑scale deployments of PQC in a consumer product. Google's approach:

  • Used a hybrid of classical ECDH and the lattice‑based Kyber algorithm.
  • Deployed in test environments first, then gradually to production.
  • Monitored performance and compatibility, finding negligible impact.
  • Provided open‑source libraries (BoringSSL) to enable others to adopt the same hybrid approach.

Lessons: Hybrid cryptography is a practical way to begin the transition. Performance impact is minimal with modern implementations. Early adoption builds experience and confidence for broader deployments.

🔑 Key Takeaway: Organizational readiness requires a comprehensive crypto inventory, a risk‑based transition plan, and a phased approach. Hybrid cryptography and crypto‑agility are essential strategies for managing the transition.

📝 Quiz

Answer the following questions to test your understanding. Click each "Answer" summary to reveal the solution.

1. What is a qubit, and how does it differ from a classical bit?
Answer

A qubit is a quantum bit that can exist in a superposition of states |0⟩ and |1⟩, represented as α|0⟩ + β|1⟩. Unlike a classical bit, which is either 0 or 1, a qubit can be in both states simultaneously, enabling parallel computation.

2. What is Shor's algorithm and what cryptographic threat does it pose?
Answer

Shor's algorithm efficiently factors large integers and computes discrete logarithms in polynomial time. It threatens public‑key cryptography, including RSA, ECC, and Diffie‑Hellman.

3. What is Grover's algorithm and how does it affect symmetric cryptography?
Answer

Grover's algorithm provides a quadratic speedup for unstructured search, reducing the effective key length of symmetric algorithms by half. For example, AES‑128 becomes roughly equivalent to 64‑bit security against a quantum attack.

4. What is the "harvest now, decrypt later" threat?
Answer

Adversaries can collect encrypted data today and store it until a cryptographically relevant quantum computer becomes available, at which point they can decrypt it. This threatens long‑term data confidentiality.

5. What are the four main NIST‑standardized post‑quantum cryptographic algorithms?
Answer

ML‑KEM (Kyber) – key encapsulation mechanism.
ML‑DSA (Dilithium) – digital signature.
SLH‑DSA (SPHINCS+) – hash‑based signature.
FN‑DSA (Falcon) – lattice‑based signature.

6. What is hybrid cryptography, and why is it important for the PQC transition?
Answer

Hybrid cryptography combines classical and post‑quantum algorithms in a single protocol. This provides security against both types of attacks and enables a gradual migration while maintaining backward compatibility.

7. What is crypto‑agility, and why is it important?
Answer

Crypto‑agility is the ability to switch between cryptographic algorithms easily, without significant system redesign. It is important for the PQC transition and for adapting to future cryptographic changes.

8. What is a crypto inventory, and why is it essential for post‑quantum readiness?
Answer

A crypto inventory is a catalog of all cryptographic assets and their usage within an organization. It is essential for understanding the scope of the migration effort and for identifying high‑priority systems.

9. Which cryptographic families are considered quantum‑resistant?
Answer

Lattice‑based, code‑based, hash‑based, multivariate‑based (with caution), and isogeny‑based (with caution) are the main families of quantum‑resistant cryptography.

10. Why does AES‑256 remain secure against quantum attacks, while AES‑128 does not?
Answer

Grover's algorithm reduces the effective security of symmetric encryption by half. AES‑128 becomes ~64‑bit security, which is vulnerable. AES‑256 becomes ~128‑bit security, which is still considered secure.

11. What is the expected timeline for a cryptographically relevant quantum computer?
Answer

Estimates vary widely, but many experts predict that a CRQC could emerge within 10–20 years. However, the "harvest now, decrypt later" threat is already relevant.

12. What is the first step an organization should take to prepare for the quantum transition?
Answer

The first step is to conduct a crypto inventory to understand where and how cryptography is used, followed by a risk assessment to prioritize systems for migration.

🧪 Exercises

These practical exercises will help you apply the concepts. Suggested solutions are hidden beneath each exercise.

Exercise 1: Crypto Inventory Template
Design a crypto inventory template for an enterprise. The template should capture: system name, cryptographic algorithm, key length, protocol, data sensitivity, and priority for migration. Include at least 10 fields and justify each.
Sample Solution

Fields:
1. System/Application Name – identifies the asset.
2. Owner/Contact – responsible person.
3. Cryptographic Algorithm – RSA, ECC, AES, SHA, etc.
4. Key Length – e.g., RSA‑2048, ECC‑P256.
5. Protocol – TLS, IPSec, SSH, S/MIME, etc.
6. Data Sensitivity – High/Medium/Low (based on data classification).
7. Data Retention Period – how long data must be protected.
8. Quantum Risk – High/Medium/Low (based on algorithm and key length).
9. Migration Priority – P1 (critical), P2 (medium), P3 (low).
10. Migration Status – Not Started, In Progress, Completed.
Justification: These fields provide a comprehensive view of the cryptographic landscape, enabling risk assessment and prioritization.

Exercise 2: Hybrid TLS Configuration
Describe how you would configure a web server to use hybrid key exchange (classical + PQC) for TLS. Include the specific algorithms (e.g., X25519Kyber768) and the steps to enable it in OpenSSL or a similar library.
Sample Solution

Configuration:
- Use a version of OpenSSL (or a fork like BoringSSL) that supports hybrid groups.
- Enable the hybrid group `X25519Kyber768` (or `X25519Kyber512` for lower security).
- In the server configuration, set the cipher suite to include hybrid suites: `ECDHE‑KYBER‑AES256‑GCM‑SHA384` or similar.
- Use a configuration like: `ssl_ciphers "ECDHE+KYBER:AES256‑GCM‑SHA384";`
- Ensure that clients also support the hybrid group; fallback to classical if they do not.
- Test the configuration with tools like `openssl s_client` to verify the negotiated cipher suite.

Exercise 3: Risk Assessment for PQC Migration
A financial institution has a system that uses RSA‑2048 for encrypting customer data. The data must be retained for 10 years. Assess the quantum risk and propose a migration strategy.
Sample Solution

Risk Assessment:
- RSA‑2048 is vulnerable to Shor's algorithm.
- A CRQC is expected within 10‑20 years.
- Data retention of 10 years means it will be at risk during the latter part of its retention period.
- The "harvest now, decrypt later" threat applies: attackers could collect data now and decrypt it later.
Migration Strategy:
- Short‑term: Use hybrid encryption (RSA + ML‑KEM) for new data, while maintaining RSA for backward compatibility.
- Medium‑term: Migrate to ML‑KEM for key exchange and ML‑DSA for signatures.
- Long‑term: Migrate all data to PQC and phase out RSA.
- Priority: High, due to long‑term data sensitivity.

Exercise 4: Quantum‑Resistant Algorithm Selection
You need to select a post‑quantum algorithm for a resource‑constrained IoT device (limited CPU, memory, battery). Compare ML‑KEM (Kyber), SLH‑DSA (SPHINCS+), and ML‑DSA (Dilithium) for this use case, and recommend the most suitable.
Sample Solution

ML‑KEM (Kyber): Efficient key encapsulation with moderate key sizes (1.5 KB). Suitable for key exchange.
SLH‑DSA (SPHINCS+): Stateless hash‑based signature with large signatures (tens of KB) and slower performance. Not ideal for resource‑constrained devices.
ML‑DSA (Dilithium): Lattice‑based signature with moderate key sizes (1.3 KB) and fast signing/verification. Suitable for signatures.
Recommendation: For key exchange, use ML‑KEM for its efficiency. For signatures, use ML‑DSA if the device can handle the computational load. Avoid SLH‑DSA for constrained devices due to large signatures.

Exercise 5: PQC Migration Roadmap
Develop a 5‑year post‑quantum migration roadmap for a large enterprise. Include phases, milestones, key activities, and success criteria.
Sample Solution

Year 1: Discovery & Assessment
- Complete crypto inventory.
- Assess quantum risk for all systems.
- Establish a PQC steering committee.
Year 2: Pilot & Foundation
- Pilot PQC in non‑critical systems (test environments).
- Implement crypto‑agile frameworks.
- Train security and engineering teams.
Year 3: Migration of Critical Systems
- Migrate certificate authorities to ML‑DSA.
- Deploy hybrid TLS for external‑facing applications.
- Migrate VPN and remote access systems.
Year 4: Broader Deployment
- Migrate internal applications and services.
- Implement PQC for data at rest (storage encryption).
- Monitor performance and address issues.
Year 5: Completion & Decommission
- Complete migration of all remaining systems.
- Decommission vulnerable algorithms (RSA, ECC).
- Conduct final security audit.
Success Criteria: All systems using PQC or hybrid crypto; no systems relying solely on vulnerable classical algorithms; successful audit.

📚 Homework

These assignments require research, analysis, and synthesis. Use external resources to support your responses.

Homework 1: Quantum Computing Fundamentals Paper
Write a 2,500‑word paper on the fundamentals of quantum computing for a non‑technical audience (e.g., management). Cover: what quantum computers are, how they work (at a high level), the current state of the technology, and the timeline for practical quantum advantage.
Sample Answer

A strong paper would:
– Explain quantum computing using accessible analogies.
– Describe the current state (NISQ devices) and the challenges (error correction, scalability).
– Discuss the timeline: many experts predict 10‑20 years for a CRQC, but some argue it could be sooner or later.
– Emphasize that the "harvest now, decrypt later" threat is already a concern.
– Include references to industry reports (e.g., McKinsey, NIST).

Homework 2: NIST PQC Standardization Review
Research the NIST Post‑Quantum Cryptography Standardization process and write a 2,000‑word report covering: the history of the process, the selected algorithms, the rationale for their selection, and the next steps for adoption.
Sample Answer

A strong report would:
– Trace the NIST PQC process from its launch in 2016 to the 2022 announcements.
– Describe the selected algorithms (ML‑KEM, ML‑DSA, SLH‑DSA, FN‑DSA) and their mathematical foundations.
– Discuss the security and performance trade‑offs.
– Explain the rationale for selecting lattice‑based and hash‑based candidates.
– Discuss the next steps: adoption, standardization, and deployment guidance.

Homework 3: Quantum Threat to Blockchain
Write a 2,000‑word analysis of the quantum threat to blockchain and cryptocurrency systems. Cover: how quantum computers could break ECC signatures, the timeline for risk, and proposed solutions (e.g., quantum‑resistant blockchains like QRL, Ethereum's post‑quantum roadmap).
Sample Answer

A strong analysis would:
– Explain how blockchain relies on ECC for digital signatures.
– Assess the quantum risk: a CRQC could steal funds by forging signatures.
– Discuss the timeline: most estimates suggest 5‑10 years before quantum attacks on blockchain are feasible.
– Review solutions: quantum‑resistant blockchains, hybrid approaches, and the challenges of upgrading existing blockchains.
– Provide a risk assessment and recommendations for cryptocurrency holders and developers.

Homework 4: Post‑Quantum Cryptography Implementation Guide
Write a practical guide for developers on implementing post‑quantum cryptography in a web application. Include: how to use hybrid TLS, how to integrate ML‑KEM and ML‑DSA, and how to handle key management in a PQC environment.
Sample Answer

A strong guide would:
– Provide step‑by‑step instructions for enabling hybrid TLS (e.g., using BoringSSL or a PQC‑enabled OpenSSL).
– Explain how to use the NIST‑standardized algorithms in code (e.g., using liboqs).
– Discuss key management: key generation, storage, and rotation for PQC keys.
– Address the performance implications and provide optimization tips.
– Include code examples and references to libraries.

Homework 5: Future of Quantum Security
Write a 2,500‑word research paper on the future of quantum security. Consider: the timeline for CRQC, the role of quantum key distribution (QKD), the convergence of PQC and QKD, and the long‑term security implications for data protection.
Sample Answer

A strong paper would:
– Discuss the projected timeline for CRQC and the uncertainty involved.
– Explain quantum key distribution (QKD) and its strengths and limitations (distance, cost, practical challenges).
– Compare PQC and QKD: PQC is a cryptographic solution, QKD is a physical solution. They are complementary.
– Discuss the concept of "quantum‑safe" cryptography and the need for a layered approach.
– Explore the implications for national security, data privacy, and international standards.
– Propose a research agenda for the next decade.

📌 Summary

Tutorial 8.13 has provided a comprehensive overview of quantum computing and post‑quantum security. We began with the fundamentals of quantum computing, explaining the key concepts—qubits, superposition, entanglement, and quantum gates—that enable quantum algorithms. We discussed Shor's algorithm, which breaks public‑key cryptography, and Grover's algorithm, which weakens symmetric cryptography.

We then analyzed the security implications: the vulnerability of RSA, ECC, and Diffie‑Hellman to quantum attacks, and the "harvest now, decrypt later" threat that makes long‑term data vulnerable today. We emphasized that the timeline for a cryptographically relevant quantum computer may be 10‑20 years, but the risk is already real for data that must remain confidential for decades.

The core of the tutorial was dedicated to post‑quantum cryptography. We surveyed the main families of quantum‑resistant algorithms—lattice‑based, code‑based, hash‑based, and multivariate—and reviewed the NIST‑standardized algorithms: ML‑KEM (Kyber), ML‑DSA (Dilithium), SLH‑DSA (SPHINCS+), and FN‑DSA (Falcon). We discussed migration strategies, including hybrid cryptography and crypto‑agility, and the importance of a phased, risk‑based approach.

Finally, we addressed organizational readiness: the need for a comprehensive crypto inventory, a risk assessment, and a detailed transition plan. We provided a roadmap for the next 5‑10 years, emphasizing that the transition to post‑quantum cryptography is not a single event but a journey that requires proactive planning, investment, and collaboration across the organization.

This tutorial prepares you for the quantum future. Whether you are a security architect, a CISO, or a researcher, the knowledge and strategies covered here will be essential for protecting your organization's data in the post‑quantum era.

← Previous Tutorial | Table of Contents | Unit Home | Next Tutorial →