What is post-quantum cryptography?

Post-quantum cryptography is ordinary cryptography designed to stay secure when large quantum computers exist. It replaces the key exchanges and signatures that Shor’s algorithm breaks, such as RSA and elliptic curves, with schemes built on lattices, hash functions or error-correcting codes.

Also called quantum-safe cryptography, quantum-resistant cryptography or PQC.

Explain it like I’m five

Think of a lock whose secret is hidden inside a pattern that repeats. An ordinary computer has to try keys one by one. A quantum computer has a special trick for finding repeats, and the mathematics behind RSA and elliptic curves hides its secret in exactly that kind of pattern. Once a big enough quantum computer exists, those locks open.

Post-quantum cryptography builds the lock from a different riddle, one that no known quantum trick helps with. Some designs use a hash function, a scrambling machine that nobody can run backwards. Others use lattices, huge grids of points where finding the grid point closest to a blurry spot is hard. The new locks are ordinary software that runs on the phones and servers people already own.

What problem it solves

Almost every secure connection starts with a public-key step, either a key exchange that agrees on a secret or a signature that proves who is speaking. Shor’s algorithm, presented in 1994, solves factoring and discrete logarithms in polynomial time on a quantum computer, so RSA, Diffie-Hellman and elliptic-curve schemes such as ECDSA fall once a large, error-corrected machine exists. Google Quantum AI’s March 2026 whitepaper estimates that the 256-bit curve behind Bitcoin and Ethereum falls to a superconducting machine with no more than 1,200 logical qubits and fewer than half a million physical qubits, running for minutes.

Two kinds of damage follow. Secrets recorded today can be read later, which is the harvest now, decrypt later problem. Forged signatures let an attacker act as the owner of coins, software updates or a website. Hash functions and symmetric ciphers are far less exposed, because Grover’s algorithm only cuts a guessing search to its square root.

How it works, step by step

  • First, cryptographers pick riddles that look hard for quantum computers too. NIST’s standards use module lattices (ML-KEM and ML-DSA) and hash functions (SLH-DSA), and in March 2025 NIST chose error-correcting codes (HQC) for a backup key exchange.
  • Next, the two sides agree on a shared secret with a key-encapsulation mechanism (KEM) in place of Diffie-Hellman. One side makes a key pair and sends the public key, the other side uses it to lock a fresh random secret into a ciphertext and sends that back, and only the first side’s private key unlocks it, so both end up with the same 32-byte secret.
  • Most systems then run the old and the new exchange side by side and mix both secrets together (a hybrid key exchange), so an attacker has to break both.
  • The mixed secret becomes the key of an ordinary cipher such as AES, which carries the actual data (symmetric encryption).
  • Signatures move on their own track. The signer proves identity with ML-DSA or SLH-DSA in place of RSA or ECDSA (post-quantum signatures).
  • Last, organizations list where they use public-key cryptography, replace each piece and keep the ability to replace it again (cryptographic agility). NIST’s final IR 8547 of October 2026 deprecates quantum-vulnerable public-key cryptography after 2030 and disallows it after 2035.

A worked example

Take one blockchain signature. An ECDSA signature on secp256k1 is 64 bytes, with a 33-byte public key. An ML-DSA-44 signature is 2,420 bytes with a 1,312-byte public key, about 38 times larger. An SLH-DSA-SHA2-128s signature is 7,856 bytes with a 32-byte public key, about 120 times larger.

Key exchange shows the same trade. X25519 sends 32 bytes each way. ML-KEM-768, the default NIST recommends, sends a 1,184-byte public key and a 1,088-byte ciphertext.

What it guarantees

  • Each parameter set is claimed to be at least as hard to break as a standard block-cipher key search or hash attack of a stated size, and NIST rates each set in a numbered security category, 1, 2, 3 or 5.
  • The standards call the schemes believed secure against quantum computers. Nobody has proved that the underlying problems are hard, which is equally true of RSA and elliptic curves.
  • The families rest on different assumptions: ML-KEM on the Module Learning with Errors problem, SLH-DSA on hash functions alone. NIST calls SLH-DSA a backup in case ML-DSA proves vulnerable, and HQC a backup for ML-KEM.

Common misunderstandings

  • Quantum computers do not break all cryptography. Shor’s algorithm covers factoring and discrete logarithms, while for hashes and symmetric ciphers the best known quantum speedup is Grover’s square root, which a 1997 result by Bennett, Bernstein, Brassard and Vazirani shows is the most that blind search can gain.
  • Post-quantum cryptography is software on ordinary computers. Quantum key distribution is a different thing that relies on quantum physics, needs specialist hardware and provides no digital signatures, as the UK NCSC explains.
  • No post-quantum scheme comes with a proof. The isogeny scheme SIKE was a fourth-round NIST candidate when Castryck and Decru broke it in July 2022 on an ordinary computer, in about ten minutes for the smallest parameter set. Hybrids and several families guard against such surprises.
  • Migration is slow. NIST notes that the road from a new standard to full use has taken 10 to 20 years in the past, and traffic recorded today can be read later, so the work starts before the machine exists.

Where it is used

  • Web traffic uses the hybrid X25519MLKEM768 key agreement. Cloudflare reported on 28 October 2025 that more than half of the human traffic to its network was protected this way.
  • Signal announced PQXDH on 19 September 2023, and Apple announced PQ3 for iMessage on 21 February 2024. Both pair the lattice scheme Kyber, now standardized as ML-KEM, with elliptic curves.
  • OpenSSH 10.0, released on 9 April 2025, uses the hybrid mlkem768x25519-sha256 key agreement by default.
  • Google Quantum AI’s whitepaper names QRL, Mochimo and Abelian as chains that rely on post-quantum cryptography alone.

History

Peter Shor presented his algorithm in 1994, and Lov Grover published his search algorithm in 1996. NIST opened a public competition in 2016 and received 82 submissions. After three rounds it selected four algorithms in July 2022 and published FIPS 203, 204 and 205 on 13 August 2024. It chose HQC as a backup key exchange on 11 March 2025, and the final IR 8547 followed in October 2026.

In Redacted

Redacted is built on hash-based cryptography from day one. Notes, nullifiers, the note tree and all proof transcripts use SHA-256, each spend is proved with a STARK, and nodes and Spending accounts sign with SLH-DSA. Bunker mode takes the account itself onto hashes as well, as 25 words instead of a wallet key, which is what makes it quantum-safe.

Bunker mode →

Related terms

Sources: NIST releases first 3 finalized post-quantum encryption standards, August 2024 · Transition to Post-Quantum Cryptography Standards, NIST IR 8547, October 2026 · Polynomial-time algorithms for prime factorization and discrete logarithms on a quantum computer, Shor · Securing elliptic curve cryptocurrencies against quantum vulnerabilities, Babbush et al., March 2026 · Preparing for quantum-safe cryptography, UK NCSC

Updated November 1, 2026. All terms