Quantum computers and the methods that survive them

8 min 5 sections 4 practice questions 8 sources citedISC2 objective 3.6

Every cryptographic method belongs to a family, and each family rests on a different hard problem. A quantum computer is a new kind of machine that would solve some of those problems quickly, so it threatens some families badly and others hardly at all. No background beyond the earlier cryptography is assumed. A security manager must know which protections would fail, which data is already at risk, and what replaces the methods that fail.

By the end of this unit you will be able to:

  • Tell apart the families of cryptographic method and what each one is used for
  • Explain what Shor's and Grover's algorithms would do to each family
  • Choose the post-quantum standard for key establishment and for signatures
  • Explain harvest now, decrypt later and decide which data it puts at risk today
  • Tell apart post-quantum cryptography and quantum key distribution

Adoption records that must stay sealed for a lifetime

An illustrative example

A county council scans its adoption files and sends them to a records archive over the internet. The connection uses current public key methods to agree its keys, and the files are kept encrypted with AES.

The law says these files stay closed for a hundred years. A newspaper article claims that someone could record the transfer today and read it in twenty years with a quantum computer. The records manager asks whether the article is right, and whether anything should change now.

Which part of the protection would a quantum computer threaten: the key agreement, the AES encryption, or both?

The cryptographic methods side by side

A cryptographic method is a family of that share one way of working and one hard problem. Five families matter.

Symmetric
One shared key and . AES is the standard. Fast, and used for the bulk of all data.
Asymmetric
A public key and a private key. RSA rests on factoring; Diffie-Hellman and DSA rest on the discrete logarithm. Used to agree keys and to sign.
Elliptic curve
An family built on the points of a curve. It gives equal strength with far shorter keys, so it suits phones and cards.
Hash function
No key at all. It turns any data into a short fixed-length fingerprint, the digest, and cannot be run backwards.
Post-quantum
New asymmetric algorithms built on problems that neither an ordinary nor a quantum computer is known to solve quickly.

Real systems combine families. A secure web connection uses an asymmetric or elliptic curve method to agree a key, then for the data, with and signatures checking that nothing was changed. A weakness in any one family weakens every system that relies on it.

What a quantum computer does to each family

A quantum computer is a machine that uses the physics of very small particles to calculate in a different way from an ordinary computer. For most work it offers no advantage. For a few kinds of problem it would be enormously faster. Today's machines are small and make frequent errors. One large and reliable enough to break current is called a cryptographically relevant quantum computer.

Two methods for such a machine explain the whole threat.

Shor's algorithm (1994)
Shor's algorithm solves factoring and the discrete logarithm efficiently. Those are the two problems under RSA, Diffie-Hellman, DSA and elliptic curve cryptography, so all four would be broken outright.
Grover's algorithm
Grover's algorithm speeds up a blind search. A search needing 2^128 tries would need about 2^64 steps: the square root. It halves the strength of a symmetric key, measured in bits.
Each family against a large quantum computer
FamilyExamplesEffectResponse
SymmetricAESGrover halves the strength in bitsLonger keys: AES-256 keeps about 128 bits
HashSHA-2, SHA-3Searches for matches become fasterLonger digests; SHA-256 and above stay in use
AsymmetricRSA, Diffie-Hellman, DSAShor solves the hard problem: brokenReplace with post-quantum algorithms
Elliptic curveECDH, ECDSAShor solves the hard problem: brokenReplace with post-quantum algorithms
Post-quantum, ML-DSA, SLH-DSANo fast quantum attack is knownThe replacement

Common misconception

“A quantum computer will break all encryption, so AES will have to be replaced.”

Shor's algorithm breaks the public key families. Against AES, Grover's algorithm only halves the strength in bits, and doubling the key length restores the margin. AES with long keys stays.

Post-quantum cryptography: the replacements

Post-quantum cryptography is ordinary software, running on ordinary computers, whose security rests on mathematical problems that no quantum algorithm is known to solve quickly. It replaces the public key families for their two jobs: establishing shared keys and making signatures. NIST, the United States standards body, published the first three standards on 13 August 2024 and urged organisations to begin moving at once.

The first three post-quantum standards
StandardAlgorithmJobBuilt from
FIPS 203ML-KEMEstablishing a shared key. The main standard for general encryptionLattice problems; formerly CRYSTALS-Kyber
FIPS 204ML-DSA. The main signature standardLattice problems; formerly CRYSTALS-Dilithium
FIPS 205SLH-DSADigital signatures. A backup in case ML-DSA proves weakHash functions; formerly SPHINCS+

ML-KEM is a key-encapsulation mechanism: the sender uses the recipient's public key to create a fresh shared secret and a sealed copy of it that only the recipient's private key can open. Both sides then use the secret as a symmetric key. It does the job that Diffie-Hellman and RSA key transport do today.

A hybrid scheme runs a post-quantum algorithm and a traditional one of the same type together, so the result stays secure while either one holds. Several web browsers already agree keys this way, pairing ML-KEM with a traditional key exchange. Hybrids cost more effort and run slower, and they ease a phased move.

Harvest now, decrypt later

Harvest now, decrypt later is the attack of recording encrypted traffic today and keeping it until a quantum computer can break the key agreement that protected it. Once that key agreement falls, the session key is recovered and the stored data can be read. The attack needs nothing more than storage and patience, so the to long-lived secrets exists now.

Storing large amounts of data for decades is costly, so the attack is aimed at information that will still be valuable many years from now: state secrets, health and adoption records, long-term .

Add the years the data must stay secret to the years the move to post-quantum methods will take. If a quantum computer could exist within that total, the data is at risk today.

Signatures face a different timing. Forging a signature needs the quantum computer at the moment of the forgery, so signatures made today are safe until then. Keys meant to last decades, such as a root 's key, should still be planned with that end in view.

  1. : find every system, product and supplier that uses public key cryptography, and record what data each protects and for how long.
  2. Prioritise: move first where data must stay secret longest, or where a key must be trusted longest.
  3. Migrate: adopt ML-KEM and ML-DSA, often through hybrids, and test each change.
  4. Build agility: design systems so that an algorithm can be swapped without rebuilding them.

Quantum key distribution is not post-quantum cryptography

Quantum key distribution (QKD) uses physics, not mathematics, to share a key between two points over special equipment. Any attempt to observe the key on the way disturbs it and can be detected. It is often called quantum cryptography.

Its limits are severe. QKD does not prove who is at the other end, so it still needs an authentication method, which must itself be quantum-resistant. It needs specialised hardware and dedicated links, and the hardware brings its own weaknesses. The United Kingdom's National Cyber Security Centre will not support QKD for government or military use and names post-quantum cryptography as the best defence.

Post-quantum cryptography against quantum key distribution
PointPost-quantum cryptographyQuantum key distribution
Rests onMathematical problemsThe laws of physics
Runs onExisting computers and networks, as softwareSpecialised hardware and dedicated links
Jobs it doesKey establishment and signaturesKey sharing only
Proves identityYes, through post-quantum signaturesNo. It needs a separate authentication method
StandingNIST standards since 2024Niche; not supported by the UK NCSC for government use

Worked example: What a recorded transfer would reveal

The council's transfer used an elliptic curve Diffie-Hellman exchange to agree a 256-bit AES key, then encrypted the files with that key. An eavesdropper recorded every byte. Twenty years later the eavesdropper has a large quantum computer.

  1. The key exchange rests on the discrete logarithm on an elliptic curve. Shor's algorithm solves that problem, so the eavesdropper recovers the shared secret from the recording.
  2. The shared secret gives the AES key directly. The files decrypt without any attack on AES at all.
  3. Had the eavesdropper attacked AES-256 instead, Grover's algorithm would cut the work from 2^256 to about 2^128 steps, which is still far beyond reach.
  4. The files must stay closed for a hundred years, far longer than any plausible wait for such a machine. The data is at risk today.
  5. The fix is to change the key agreement, by moving the transfer to ML-KEM, alone or in a hybrid. AES-256 can stay.

The weak point is the key agreement, not the encryption of the files. Long-lived data sent today needs post-quantum key establishment today.

A question, worked through

A security manager at a pharmaceutical company protects drug research that must stay confidential for at least twenty-five years. Research files travel between laboratories over the internet using TLS with an elliptic curve key exchange and AES-256. The board has approved a programme to prepare for quantum computers, and its first quarter's budget covers one project.

Which project should the security manager fund FIRST?

  1. An inventory of every system that uses public key cryptography and the data each protects
  2. A move of the laboratory links from AES-256 to a longer symmetric key on every connection
  3. A trial of quantum key distribution hardware on the link between the two largest laboratories
  4. A move of every system to post-quantum signatures, beginning with the staff sign-in service
Decide on your answer, then open the reasoning
  1. The question asks for the first step of a migration, with data that must stay secret for decades.
  2. Rule out b. AES-256 already keeps about 128 bits of strength against Grover's algorithm. The exposed part is the key agreement.
  3. Rule out c. Quantum key distribution needs special links and gives no authentication; the UK's NCSC advises post-quantum cryptography instead.
  4. Between a and d: d acts before anyone knows where the risk lies, and starts with signatures, which a future quantum computer cannot forge in the past.
  5. The long-lived research files are exposed through key agreement. An inventory finds those systems so they move first. Option a is the answer.

Answer: A. An inventory of every system that uses public key cryptography and the data each protects

Choosing between good answers

A question asks what a quantum computer does to AES or to a hash
choose longer keys or longer digests. Grover's algorithm halves strength in bits; it does not break the family.
A question asks what a quantum computer does to RSA, Diffie-Hellman or elliptic curve cryptography
they are broken by Shor's algorithm and must be replaced by post-quantum algorithms.
Options offer quantum key distribution and post-quantum cryptography as the defence against quantum attack
choose post-quantum cryptography. It runs on existing systems, covers signatures and authentication, and is standardised.
A scenario has data that must stay secret for many years
treat harvest now, decrypt later as a present risk and prioritise post-quantum key establishment for that data.

Check your understanding

4 questions on this unit, easiest first. Confirm an answer to see the reasoning for it, then the right answer, the other options and the rule to reuse. Your answers are kept in this browser and feed readiness and review.

These questions are drafts that no named reviewer has approved yet.

Question 1 of 4

A software supplier wants to replace the RSA key transport that sets up session keys in its product with a post-quantum standard.

Which standard should the supplier adopt for this job?

What to remember

  • The families are symmetric, asymmetric, elliptic curve, hash and post-quantum. Each rests on a different hard problem.
  • Shor's algorithm breaks RSA, Diffie-Hellman, DSA and elliptic curves. Grover's algorithm halves symmetric strength, so AES-256 keeps about 128 bits.
  • ML-KEM (FIPS 203) establishes keys. ML-DSA (FIPS 204) signs. SLH-DSA (FIPS 205) is a hash-based signature backup.
  • Harvest now, decrypt later makes long-lived data sent today a present risk. Migration starts with an inventory.
  • Quantum key distribution is physics, needs special hardware and gives no authentication. It is not post-quantum cryptography.

Say it from memory

  1. Name the families of cryptographic method and say what a large quantum computer would do to each.

    Symmetric (AES) and hash functions: Grover's algorithm halves strength in bits, so use longer keys and digests. Asymmetric (RSA, Diffie-Hellman, DSA) and elliptic curve: Shor's algorithm breaks them, so replace them. Post-quantum (ML-KEM for keys, ML-DSA and SLH-DSA for signatures): the replacements. Quantum key distribution is physics-based key sharing, not post-quantum cryptography.

    Read this part again

  2. How do the five cryptographic method families combine in a secure web connection?

    The families are symmetric, asymmetric, elliptic curve, hash function and post-quantum. A web connection uses an asymmetric or elliptic curve method to agree a key, then symmetric encryption for the data, with hashes and signatures checking nothing was changed. A weakness in any one family weakens every system that relies on it.

    Read this part again

  3. What do FIPS 203, 204 and 205 standardise, and what is a key-encapsulation mechanism?

    FIPS 203 is ML-KEM, for establishing a shared key. FIPS 204 is ML-DSA, the main signature standard. FIPS 205 is SLH-DSA, a hash-based backup signature. A key-encapsulation mechanism uses the recipient's public key to create a fresh shared secret and a sealed copy only the recipient's private key can open.

    Read this part again

  4. How do you judge whether data is at risk from harvest now, decrypt later, and why are signatures timed differently?

    Add the years the data must stay secret to the years the move to post-quantum methods will take. If a quantum computer could exist within that total, the data is at risk today. Forging a signature needs the quantum computer at the moment of the forgery, so signatures made today are safe until then.

    Read this part again

  5. How does quantum key distribution differ from post-quantum cryptography?

    Quantum key distribution rests on physics, needs specialised hardware and dedicated links, shares keys only and does not prove identity. Post-quantum cryptography rests on mathematical problems, runs as software on existing computers and networks, and does key establishment and signatures. The UK NCSC does not support QKD for government use.

    Read this part again

Sources