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.
Finding a name in an unsorted phone book. Instead of checking a million entries you check about a thousand.
- RSA Factoring large numbers becomes easy with Shor's algorithm. Used for: Certificates, signatures, key loading Must be replaced.
- Elliptic curves ECDH, ECDSA and Ed25519 fall to a variant of Shor's algorithm. Used for: Key exchange, passkeys, crypto wallets Must be replaced.
- Diffie-Hellman The classic key exchange rests on a problem Shor's algorithm solves. Used for: VPNs, older TLS Replaced by ML-KEM.
- 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.
- AES-256 Even with Grover's algorithm, far beyond reach. Used for: Long-lived secrets Recommended where data must stay secret for decades.
- 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
- Quantum Computing for EveryoneChris Bernhardt (2019), book
- A fast quantum mechanical algorithm for database searchLov Grover (1996), paper
- Selected Areas in Cryptology (Spring 2022, Part I)Tanja Lange, Eindhoven University of Technology, lecture series
Related terms
Cite this page Encryption Observer, “Grover's algorithm”, encryption.observer/terms/grover/, checked December 2026.