How does quantum-safe cryptography work?
Published 11/16/2026, 12:19:54 PM
Answer
Quantum-safe cryptography (post-quantum cryptography, or PQC) works by replacing the mathematical problems that today's public-key systems rely on — problems a quantum computer can solve quickly — with different problems that are believed to be hard for both classical and quantum computers. Concretely, NIST has standardized lattice-based and hash-based schemes (ML-KEM, ML-DSA, SLH-DSA) that are designed to resist Shor's algorithm, the quantum attack that breaks RSA and elliptic-curve cryptography [Source: https://www.nist.gov/cybersecurity-and-privacy/what-post-quantum-cryptography] [Source: https://csrc.nist.gov/projects/post-quantum-cryptography].
Why current cryptography breaks
Today's public-key encryption (RSA, ECC) is built on factoring and discrete logarithms. Shor's algorithm runs efficiently on a quantum computer and can solve those problems, so a cryptographically relevant quantum computer (CRQC) would break them. IBM Research notes that "the two quantum algorithms that cause problems for current cryptography are Grover's algorithm and Shor's algorithm" [Source: https://research.ibm.com/projects/quantum-safe-cryptography].
Symmetric cryptography (e.g., AES) and hashing (SHA-256) are far less affected — quantum speedups there are not super-polynomial, so "existing algorithms such as AES and SHA-256 can be for[warded]" with larger key sizes [Source: https://quantum.cloud.ibm.com/learning/en/courses/quantum-safe-cryptography/quantum-safe-cryptography].
Core principle: math problems hard for both classical and quantum computers
NIST's standards are built on two main families of hard math problems:
- Lattice-based — security rests on the difficulty of certain lattice problems (e.g., finding short vectors). This underpins ML-KEM (key encapsulation) and ML-DSA (signatures).
- Hash-based — security rests on the one-wayness of hash functions. This underpins SLH-DSA (stateless hash-based signatures).
As NIST puts it, "post-quantum encryption algorithms must be based on math problems that would be difficult for both conventional and quantum computers to solve" [Source: https://www.nist.gov/cybersecurity-and-privacy/what-post-quantum-cryptography].
The NIST standards (the concrete "how it works" today)
In August 2024, NIST released its principal PQC standards as Federal Information Processing Standards (FIPS) [Source: https://csrc.nist.gov/projects/post-quantum-cryptography]:
| Standard | Scheme | Purpose | Math family |
|---|---|---|---|
| FIPS 203 | ML-KEM (Module-Lattice-Based Key-Encapsulation Mechanism) | General encryption / key establishment | Module-lattice |
| FIPS 204 | ML-DSA (Module-Lattice-Based Digital Signature, formerly CRYSTALS-Dilithium) | Primary digital signature | Module-lattice |
| FIPS 205 | SLH-DSA (Stateless Hash-Based Digital Signature, formerly SPHINCS+) | Backup signature (in case ML-DSA is broken) | Hash-based |
[Source: https://pages.nist.gov/nccoe-migration-post-quantum-cryptography/FAQ]
A fourth scheme, FN-DSA (FALCON), was selected as another backup signature standard and is being published separately. SPHINCS+ was chosen as a backup "in case ML-DSA proves vulnerable," and FALCON as another backup [Source: https://ieeexplore.ieee.org/document/11352813]. NIST's selection process began in December 2016 and ran through multiple rounds of public evaluation.
Why the urgency: "harvest now, decrypt later" (HNDL)
The threat is not only about a future quantum computer. An adversary can intercept and store encrypted data today and decrypt it later once a CRQC exists: "An adversary doesn't need a quantum computer today to put your data at risk. They can intercept and store encrypted information now and simply hold onto it until they have a quantum computer capable of breaking that encryption" [Source: https://www.nist.gov/blogs/taking-measure/quantum-computers-may-put-internet-traffic-risk-nist-safeguarding-computers-new]. Europol likewise states the HNDL threat "does not require the attacker to have a quantum computer today" [Source: https://www.europol.europa.eu/cms/sites/default/files/documents/Harvest-now-decrypt-later.pdf]. This is why migration to the key-establishment standard (FIPS 203) is prioritized for long-lived sensitive data.
Timeline and migration risk
NIST's October 2026 transition report (IR 8547) notes that "the journey from algorithm standardization to full integration into information systems can take 10 to 20 years" [Source: https://nvlpubs.nist.gov/nistpubs/ir/2026/NIST.IR.8547.pdf]. The Cloud Security Alliance estimates large enterprises need 12–15 years to fully migrate, yet only about 5% have a formal quantum transition plan despite 62% expressing concern — a "migration gap" that is itself a systemic risk [Source: https://labs.cloudsecurityalliance.org/research/csa-research-note-pqc-harvest-now-decrypt-later-enterprise-2/]. [Note: the migration-gap figures rest on a single source and should be treated as estimates.]
Expert estimates of when a CRQC arrives vary widely: a 2023 Quantum Threat Timeline survey of 37 experts found 17 estimated a >5% risk of a CRQC within 10 years, and 10 put the likelihood at ~50% or more [Source: https://www.bsi.bund.de/SharedDocs/Downloads/EN/BSI/Crypto/PQC-joint-statement-2025.pdf]. IBM cites Dr. Michele Mosca's estimate of "a one in seven chance" that fundamental public-key tools break by 2026 and "a 50% chance by 2031" [Source: https://www.ibm.com/think/topics/quantum-safe-cryptography]. [Note: the Mosca probability estimates rest on a single source and should be treated as estimates.]
Caveats and open questions
PQC is "believed" or "assumed" secure, not proven — the field is young, and NIST keeps backup signature schemes (SLH-DSA, FALCON) precisely in case the primary lattice scheme is broken [Source: https://ieeexplore.ieee.org/document/11352813]. Migration is a hard engineering problem (crypto agility, inventory, hybrid deployments), not just a math problem. And for distributed ledgers specifically, a Federal Reserve working paper argues that even if networks deploy PQC to protect integrity, the privacy of previously recorded transactions remains vulnerable to HNDL [Source: https://www.federalreserve.gov/econres/feds/files/2025093pap.pdf].
Conclusion
Quantum-safe cryptography works by shifting public-key security from factoring and discrete logarithms (broken by Shor's algorithm) to lattice- and hash-based problems believed hard for both classical and quantum computers, standardized by NIST as ML-KEM, ML-DSA, and SLH-DSA. What remains open is the long migration timeline and the unresolved risk to already-harvested encrypted data.