Software Engineering Glossary

Post-Quantum Cryptography

Also known as: PQC Quantum-resistant cryptography Quantum-safe cryptography

Post-quantum cryptography is the set of public key algorithms meant to stay secure even if an attacker has a large quantum computer. Shor’s algorithm breaks RSA and elliptic curves. The replacements NIST has finished are ML-KEM for agreeing on a shared secret and ML-DSA for signatures, with SLH-DSA as a hash based backup signature. Symmetric ciphers such as AES-256 stay in use. The practical threat today is recorded traffic that becomes readable later, not a quantum computer already sitting on the public internet.

Key Takeaways

  • RSA, Diffie-Hellman, and elliptic curve signatures are the algorithms this migration replaces. AES-256 is not one of them.
  • NIST’s deployable standards are FIPS 203 (ML-KEM), FIPS 204 (ML-DSA), and FIPS 205 (SLH-DSA). Falcon and HQC are selected and not finished.
  • Most public deployments combine a classical algorithm and a post-quantum one, so one break does not open the session.
  • Key agreement for long lived secrets moves first. Firmware and code signing move before the verifier is frozen. Live login checks can follow.

How It Works

  1. A key encapsulation mechanism such as ML-KEM lets one side send a short ciphertext that only the other side can turn into a shared 32 byte secret.
  2. A signature such as ML-DSA binds a document, certificate, or firmware image to a private key, the same job ECDSA does today, with larger signatures.
  3. TLS mixes that shared secret into the existing key schedule and then encrypts the session with AES or ChaCha20, which a quantum computer does not usefully break.
  4. Hybrid handshakes run the new algorithm beside X25519 or a NIST curve and keep the session closed unless an attacker breaks both halves.

Where It Is Used

  • Browsers offer the hybrid TLS group X25519MLKEM768 by default. Many origin servers still negotiate a classical group on the hop behind the CDN.
  • OpenSSL 3.5, Go 1.24, JDK 27, and OpenSSH 10 negotiate a hybrid ML-KEM key agreement unless an older config list removes it.
  • NIST’s 2026 transition note deprecates quantum vulnerable public key algorithms after 2030 and disallows them under NIST guidance after 2035.

Related glossary terms