KnowledgeCookies logo Understanding the language of quantum science
Sensing & Security

Post-Quantum Cryptography

FROM QUANTUM THREATS TO DEPLOYABLE CRYPTOGRAPHIC STANDARDS

Standards, mathematical foundations, engineering and migration

A research-oriented, implementation-aware guide to post-quantum cryptography · Updated 18 November 2026

1. Foundations and quantum threat

Post-quantum cryptography (PQC) is classical cryptography designed to remain secure against known attacks using both conventional and cryptanalytically relevant quantum computers. It does not require quantum hardware. Unlike quantum key distribution (QKD), it can be deployed in ordinary servers, mobile devices and networks.

Shor’s algorithm threatens RSA factoring and the discrete logarithm assumptions underlying finite-field Diffie–Hellman, elliptic-curve Diffie–Hellman and ECDSA. Grover’s algorithm gives a quadratic generic speedup for unstructured search, rather than breaking symmetric encryption outright. AES-256 and appropriately sized hash constructions remain useful building blocks.

Harvest now, decrypt later: an adversary may store encrypted traffic today and attempt to recover its session keys when sufficiently capable quantum computers become available. Prioritize confidentiality according to how long information must remain secret, not merely when a quantum computer might arrive.

2. PQC versus QKD and security assumptions

PQC protects communications using computational hardness assumptions evaluated against classical and quantum attacks. QKD establishes key material using quantum states and authenticated classical communications, with hardware and channel assumptions. Neither protects a compromised endpoint, and neither removes the need for authentication, sound randomness, correct protocol composition and key management.

“Quantum-safe” is a security objective, not an unconditional mathematical guarantee. Standards, parameter sets, implementations and threat models all matter.

3. NIST standards and status — November 2026

The first three NIST PQC FIPS standards were finalized on 13 August 2024. These are the primary standardized building blocks for migration today.

StandardAlgorithmPurposeStatus
FIPS 203ML-KEM (derived from CRYSTALS-Kyber)Shared-secret establishmentFinal
FIPS 204ML-DSA (derived from CRYSTALS-Dilithium)Digital signaturesFinal
FIPS 205SLH-DSA (derived from SPHINCS+)Stateless hash-based signaturesFinal
FIPS 206FN-DSA (derived from FALCON)Compact signaturesIn development; not a finalized FIPS
HQCCode-based KEMAlternative to ML-KEMSelected in 2025; standardization underway

NIST advanced nine additional digital-signature candidates to a further evaluation round in May 2026. Candidate selection is not the same as final standardization. See NIST publications and status.

4. Lattice mathematics: LWE, Module-LWE and SIS

A lattice is a discrete additive subgroup of Euclidean space generated by integer combinations of basis vectors. Many lattice constructions derive their security from the apparent difficulty of recovering short vectors or hidden structure in noisy linear relations.

For Learning With Errors (LWE), a simplified sample has the form:

b=As+e(mod q)

Here A is public, s is secret, and the small error e makes recovering the secret computationally difficult. Module-LWE works over modules of polynomial rings, balancing compact representations with a more structured algebraic setting. ML-KEM is based on Module-LWE; ML-DSA uses module-lattice assumptions including Module-LWE and Module-SIS.

These are hardness assumptions, not proofs that no future classical or quantum algorithm will succeed. Concrete parameter choices and continuing cryptanalysis are essential.

5. ML-KEM: key encapsulation and parameter sets

FIPS 203 specifies ML-KEM-512, ML-KEM-768 and ML-KEM-1024, corresponding to NIST security categories 1, 3 and 5. ML-KEM-768 is a common general-purpose starting point, subject to policy and interoperability requirements.

(pk,sk)←KeyGen(), (ct,K)←Encaps(pk), K'=Decaps(sk,ct)

For a valid encapsulation, the two parties obtain matching shared secrets K=K'. A KEM is not a drop-in public-key bulk encryption algorithm: its shared secret is normally fed into a key derivation process and used with authenticated symmetric encryption.

ParameterPublic keyCiphertextSecret key
ML-KEM-512800 bytes768 bytes1,632 bytes
ML-KEM-7681,184 bytes1,088 bytes2,400 bytes
ML-KEM-10241,568 bytes1,568 bytes3,168 bytes

Use a vetted FIPS 203 implementation; preserve decapsulation failure handling and implicit rejection behavior. Follow NIST SP 800-227 for KEM usage and composition.

6. ML-DSA: signing, verification and deployment

FIPS 204 standardizes ML-DSA-44, ML-DSA-65 and ML-DSA-87 (security categories 2, 3 and 5). A signer authenticates a message with a private signing key, while a verifier checks it using the corresponding public key.

σ←Sign(sk,m), Verify(pk,m,σ)∈true,false

ML-DSA uses lattice-based rejection-sampling techniques and Fiat–Shamir-style transforms. Deployment must address key provenance, signature encoding, approved modes, certificate compatibility, revocation, signing-key protection and firmware or artifact size limits. Its signatures are much larger than traditional ECDSA signatures.

Common approximate fixed signature lengths are 2,420 bytes (ML-DSA-44), 3,309 bytes (ML-DSA-65), and 4,627 bytes (ML-DSA-87). Consult FIPS 204 for exact algorithm interfaces and encodings.

7. SLH-DSA, FN-DSA and alternative families

SLH-DSA (FIPS 205) is a stateless hash-based signature construction using Merkle-tree techniques. It offers mathematical diversification from lattices, but signatures can be substantially larger and performance tradeoffs vary by parameter set. “Stateless” avoids the dangerous state-reuse requirements of stateful hash-based schemes.

FN-DSA, based on FALCON, is intended to provide relatively compact signatures, but FIPS 206 remains under development as of this review. HQC is a code-based KEM selected as a complementary alternative to ML-KEM; it is not yet a final NIST FIPS. Code-based designs draw on error-correcting-code decoding problems rather than lattice assumptions.

Multivariate, isogeny and other research families demonstrate why algorithm diversity and public cryptanalysis matter: candidates can be weakened or broken before deployment.

8. Hybrid key establishment and protocol composition

A hybrid handshake combines a conventional component (such as X25519) with a post-quantum component (such as ML-KEM) using a specified, analyzed key schedule. This provides transition resilience when one component remains secure; simply concatenating keys without protocol context is not a sufficient design.

Ksession=KDF(context,Kclassical,KPQC)

This is a conceptual formula, not a substitute for the exact TLS or other protocol specification. Require explicit negotiation, downgrade resistance, transcript binding, correct peer authentication and approved cipher-suite combinations. Hybrid key establishment does not make an RSA- or ECDSA-authenticated connection fully post-quantum authenticated.

9. TLS, PKI, VPNs and enterprise integration

For TLS, evaluate standardized or formally specified hybrid key-share groups supported by both endpoints; do not invent a proprietary TLS handshake. Check certificate-chain sizes, handshake bytes, middlebox behavior, retransmissions, hardware security modules and the security of client authentication. For VPNs and SSH, follow the protocol’s own PQC transition specifications rather than copying TLS wire formats.

Certificate authorities, code-signing services, S/MIME, secure boot, artifact registries, identity providers and service meshes require a separate signature migration from the KEM migration. Some environments can deploy post-quantum key establishment before post-quantum certificate signatures are widely interoperable.

10. Java, Spring Boot and microservices architecture

In a Java 21+/Spring Boot environment, start at the TLS termination and certificate lifecycle boundaries: load balancers, API gateways, reverse proxies, service mesh, message brokers, database drivers and outbound clients. The JDK version alone does not guarantee production-ready support for any particular PQC algorithm or hybrid TLS group.

Use a maintained cryptographic provider or TLS implementation with documented standards conformance, integration tests and security updates. Inventory Java security providers, JCA/JCE algorithms, JSSE TLS stacks, native TLS libraries, HSM/KMS support, keystores and certificate issuance paths.

Reference deployment flow: client → PQC-capable TLS gateway → authenticated service mesh → Spring Boot service → KMS/HSM. Every hop must be evaluated separately; a quantum-resistant edge does not automatically protect internal traffic.

Do not build custom cryptography inside application controllers or encrypt every payload redundantly without a threat-model justification. Preserve authenticated encryption, replay defenses, auditability and manageable key rotation.

11. Threat modeling, side channels and implementation safety

Algorithm-level security is not implementation-level security. Review constant-time behavior, timing and cache leakage, fault injection, malformed ciphertext handling, key reuse, randomness failures, supply-chain integrity and protocol downgrade paths. KEM decapsulation is especially sensitive to error-handling oracles; implementations must follow the standardized rejection behavior.

Use known-answer tests, cross-implementation test vectors, negative tests, fuzzing, independent audits and deployment-specific performance tests. Never treat a successful cryptographic unit test as proof of protocol security.

12. Performance, sizing and operational tradeoffs

PQC introduces larger public keys, ciphertexts and signatures than many current ECC deployments. Measure handshake latency under realistic packet loss, MTU fragmentation, mobile links, CDN paths, certificate-chain growth, CPU utilization, memory pressure and concurrent connections. KEM selection, signature selection and certificate-chain policy have different performance impacts.

Benchmarks should record implementation/version, CPU architecture, compiler flags, security level, provider, key generation, encapsulation, decapsulation, signing, verification and complete application-level request latency. Avoid comparing only raw primitive throughput.

13. Migration roadmap and crypto agility

  1. Discover: inventory algorithms, protocols, keys, certificates, dependencies, firmware, devices, data retention and third-party services.
  2. Prioritize: rank long-lived confidential data, externally exposed services, critical identity and software-signing systems.
  3. Design: select approved algorithms, threat models, trust boundaries, interoperability requirements and rollback rules.
  4. Pilot: test hybrid key establishment and PQC signatures where supported; benchmark and validate with actual clients.
  5. Deploy: phase releases with monitoring, certificate lifecycle management, key rotation and fallback controls.
  6. Govern: maintain crypto inventory, owner accountability, vulnerability response and the ability to replace algorithms.

NIST’s IR 8547 (October 2026) addresses migration away from quantum-vulnerable standards. NIST’s 2026 crypto-agility guidance complements technical deployment planning. Timelines vary by jurisdiction and system classification; do not apply a single universal deadline to all organizations.

14. Worked design scenarios

Scenario A — Confidential customer API

Threat: captured HTTPS sessions containing long-retention data. First migrate externally exposed key establishment to an interoperable PQC or hybrid mechanism; then assess authentication certificates, internal service hops, backups and stored-key encryption.

Scenario B — Software update signing

Threat: a future adversary forges an update or signed artifact. The signature chain, bootloader trust anchors, update payload format, key rollover and offline verification matter more than a KEM. Pilot ML-DSA or SLH-DSA where the complete verification ecosystem supports it.

Scenario C — Secure collaboration platform

Threat: recorded meetings, files and chats with long-term confidentiality requirements. Separate transport KEMs, end-to-end messaging protocols, identity signatures, media key rotation and server-side storage encryption. Hybrid transport alone is not end-to-end PQC.

15. Common misconceptions and probing questions

Does ML-KEM encrypt entire documents directly?

No. It establishes shared key material. Use a well-specified KDF and authenticated symmetric encryption for documents or streams.

Does PQC require quantum computers or quantum channels?

No. PQC runs on classical hardware; QKD is the distinct approach that uses quantum communication.

Is a hybrid TLS connection fully post-quantum secure?

Not automatically. Key establishment may be hybrid while authentication, certificate signatures or other dependencies remain quantum-vulnerable.

Are FALCON and HQC already finalized FIPS standards?

No. FN-DSA/FALCON standardization and HQC standardization remain in progress as of November 2026.

Can AES-256 still be used?

Yes, with correct modes, nonce management and implementation; Grover’s algorithm changes generic search considerations but does not directly break AES-256.

16. Primary standards and further reading

For authoritative specifications and changing status, consult the original standards rather than relying on third-party algorithm labels:

Editorial review date: 18 November 2026. Standards status should be rechecked before procurement or production deployment.