Encryption Observer

Glossary The quantum question

Grover's algorithm

Grover's algorithm lets a quantum computer search through possibilities faster than a normal computer, roughly square-rooting the work. For encryption, that means it could in theory weaken symmetric keys.

Think of it like this

Finding a name in an unsorted phone book. Instead of checking a million entries you check about a thousand.

Today's algorithms and a large quantum computerBroken by Shor's algorithmSafe, or only weakened by Grover's algorithmA large quantum computer breaks today's public-key algorithms outright but only dents symmetric ciphers and hashes.
  1. RSA Factoring large numbers becomes easy with Shor's algorithm. Used for: Certificates, signatures, key loading Must be replaced.
  2. Elliptic curves ECDH, ECDSA and Ed25519 fall to a variant of Shor's algorithm. Used for: Key exchange, passkeys, crypto wallets Must be replaced.
  3. Diffie-Hellman The classic key exchange rests on a problem Shor's algorithm solves. Used for: VPNs, older TLS Replaced by ML-KEM.
  4. AES-128 Grover's algorithm in theory reduces it to about 64-bit strength. Used for: Disk, Wi-Fi, web traffic The UK NCSC still treats it as safe.
  5. AES-256 Even with Grover's algorithm, far beyond reach. Used for: Long-lived secrets Recommended where data must stay secret for decades.
  6. SHA-256 and SHA-3 Hash functions are only modestly affected. Used for: Signatures, passwords, blockchains Stay in use, including inside post-quantum signatures.

Why it matters

Grover's is a much smaller threat than Shor's. The simple fix is longer keys, which is why AES-256 is recommended for long-lived secrets.

Where you meet it

In the maths.

Go deeper history and technical detail

Published by Lov Grover in 1996. In theory it reduces AES-128 to about 64-bit strength. In practice the steps cannot be split efficiently across many machines and each is slow, so experts including the UK NCSC consider AES-128 still safe for most uses. Hash functions are affected in a similar, limited way.

Read or watch next

Related terms

Cite this page Encryption Observer, “Grover's algorithm”, encryption.observer/terms/grover/, checked December 2026.