What is Grover's algorithm?

Grover's algorithm is a quantum search method that reduces the effective strength of symmetric keys and hash functions, and it is the reason engineers size AES and SHA parameters with it in mind.

On this page

What is Grover's algorithm and why do key sizes depend on it?

Grover's algorithm is a quantum method for unstructured search: finding a target in a list with no sorting or structure to exploit. Lov K. Grover described it in the 1996 paper "A fast quantum mechanical algorithm for database search" (STOC 1996, pages 212 to 219; arXiv quant-ph/9605043). Brute force key search and hash preimage attacks are both unstructured search problems, so a quantum computer running Grover's method can attack them with quadratically fewer steps than a classical search. The effect matters for symmetric keys and hash functions. It does not change the threat model for public key algorithms, which Shor's algorithm addresses.

Engineers meet the term in NIST's post-quantum FAQ, which says Grover's algorithm allows a quantum computer to perform a brute force key search using quadratically fewer steps, and in the algorithm, key size, and security strength discussions of standards such as NIST FIPS 203. Vendor documents that size symmetric keys or choose hash functions often cite the same reasoning. The quadratic speedup is an upper bound on the algorithm's advantage, and NIST expects the practical speedup to be smaller, because quantum hardware is likely costlier and parallelizing the attack reduces its advantage.

For key sizing, NIST's FAQ says it expects Grover's algorithm to provide little or no advantage in attacking AES, and that AES 128 will remain secure for decades to come. It also says AES 192 and AES 256 will still be safe for a very long time, and that current applications can continue to use AES with key sizes 128, 192 or 256 bits. For hashes, the same FAQ says SHA512 is likely sufficient to meet the requirements of any of NIST's five security strength categories, and that anything with less than 112 bits of classical security should not be used.

When you review a vendor's symmetric or hash choices, check which key or digest size it uses and which security strength category it claims, and confirm that the claim matches the current NIST guidance. Ask the vendor how the parameter choice was made and whether it has been reviewed since the NIST FAQ was published. The sources listed on this page do not give a quantitative estimate of the quantum hardware needed to run Grover's search at a given key size, so confirm any such figure against the vendor's own documentation or the original paper.

Which names and citations refer to Grover's algorithm

This table lists the names, publication details and NIST references you will meet for Grover's algorithm, so you can match a citation in a vendor document or standard to the original work. Use it to confirm you are reading about the same method, and note where the sources do not give an abbreviation or parameter sets. Check any citation against the original paper or the NIST page before you rely on it in an audit file.

Name or citationWhat it refers toWhere it appearsWhat to confirm
Full paper titleA fast quantum mechanical algorithm for database search, by Lov K. GroverThe original 1996 paper that introduces the methodConfirm the exact title against the paper before quoting it
Venue and pagesSTOC 1996, pages 212 to 219Citation lists and bibliographies that cite the conference versionCheck the page range in the proceedings if a reviewer asks for it
arXiv identifierquant-ph/9605043, first submitted 29 May 1996Preprint references and links to the open-access copyConfirm the identifier and submission date on arXiv
Short name used by NISTGrover's algorithm, with no abbreviation givenNIST's post-quantum FAQ refers to it simply by this nameUse the full name in documents, since the sources give no short form
Attack it describesA quantum brute force key search with quadratically fewer stepsNIST's FAQ on the effect on symmetric keys and hashesConfirm which key sizes your review covers, since the speedup is an upper bound in theory
Parameter setsNot given in the sources listed on this pageNot applicable to this method as a standardDo not assume parameter sets; take sizes from the AES or hash standard you use
Related paper on factoringShor's paper, arXiv quant-ph/9508027, published 1997Often cited next to Grover when comparing quantum threatsKeep it separate, since it covers a different class of attack

Where practitioners meet Grover's algorithm in documents and tenders

Grover's algorithm comes up less often as a product feature and more often as a question in NIST guidance, vendor statements, tender forms and audit requests about symmetric key and hash sizes. The cards below cover the four settings where a reader is most likely to see the term and what to check in each.

NIST's post-quantum FAQ

NIST's post-quantum FAQ states that Grover's algorithm lets a quantum computer run a brute force key search with quadratically fewer steps. It also says NIST expects little or no advantage against AES, that AES 128 will remain secure for decades, and that AES 192 and AES 256 will remain safe for a very long time. Read the quadratic speedup statement alongside the note that the speedup is likely limited in practice, because quantum hardware is costly and parallelizing the attack reduces its advantage.

Minimum classical security
112 bits
NIST PQC FAQ

Vendor statements on AES and SHA

Vendor documents often state that AES 128, 192 or 256 can continue to be used, or that a SHA-512 output is sufficient. Check whether the statement names the key length, the mode and the attack model it covers, and whether it says it is based on NIST's FAQ or on the vendor's own analysis. A short claim like "quantum resistant" without a key length tells you little, so ask the vendor which key length its product uses for each symmetric function.

NIST PQC FAQ

Symmetric key size tender questions

Tender forms increasingly ask which symmetric key lengths a solution uses and whether they will remain adequate under quantum attack. Answer with the exact key lengths in use, the hash functions in use, and the classical security level each one is said to provide, in the vendor's own words. Confirm the answer applies to the versions and configurations you will buy, since defaults can differ between editions.

NIST IR 8547

Audit requests on key length choices

Auditors and assessors may ask how key lengths were chosen for encrypted data, backups and tokens, and whether that choice accounts for Grover's algorithm. Keep a record of each symmetric algorithm and key length in use, the basis for the choice (such as a NIST statement or an internal risk decision), and the date it was reviewed. Where a system uses a shorter key than the FAQ supports, document the reason and the compensating control.

How the attack changes the strength of symmetric keys and hashes

Grover's algorithm lets a quantum computer run a brute force key search in quadratically fewer steps than a classical computer needs. For a symmetric key or a hash, the attacker's task is to search through possible keys or inputs until one matches. Grover's method applies to that kind of search, so the effort a quantum attacker needs is roughly the square root of the effort a classical attacker needs. In practice, this is the reason guidance treats symmetric keys and hash outputs as having their strength reduced, not eliminated, by quantum computers. The same logic applies to any search problem with a checkable answer, which is why the algorithm appears in discussions of AES and SHA-2 family hashes.

This is why AES-256 and SHA-512 keep appearing in post-quantum guidance. NIST's FAQ states that Grover's algorithm is expected to provide little or no advantage in attacking AES, that AES 128 will remain secure for decades, and that AES 192 and AES 256 will still be safe for a very long time. It also says current applications can continue to use AES with 128, 192 or 256-bit keys, and that SHA-512 is likely sufficient for any of NIST's five security strength categories. Teams sizing keys and hash outputs should check these statements against their own threat model and record which strength category each system is designed to meet, rather than assuming a single number applies everywhere.

The speedup is also limited in practice. NIST's FAQ expects it to be constrained because quantum hardware is likely to be costlier than classical hardware, and because parallelizing the attack reduces its quantum advantage. The FAQ further says anything with less than 112 bits of classical security should not be used. When reviewing a vendor's claims about symmetric or hash strength, ask which parameter set, key length and hash output they use, and confirm the security level they cite against the current NIST documents rather than relying on a general statement that a cipher is quantum-safe.

Is Grover's algorithm standardized, and what do NIST's documents say about it

Grover's algorithm is not a standard. It is a published quantum search method that Lov K. Grover described in a 1996 paper, "A fast quantum mechanical algorithm for database search" (STOC 1996), which is the source to read if you need the original description. No standards body has adopted the algorithm as a specification you can implement or certify against. What NIST has published on it appears in its post-quantum cryptography FAQ, which addresses the algorithm's effect on AES and SHA rather than defining it. If a vendor document cites Grover's algorithm as a standard, ask which document they mean and whether it is the 1996 paper or a NIST publication.

NIST's FAQ says it expects Grover's algorithm to provide little or no advantage against AES, and that AES 128 will remain secure for decades to come. It also says AES 192 and AES 256 will still be safe for a very long time, and that current applications can continue to use AES with 128, 192 or 256 bit keys. The FAQ further states that anything with less than 112 bits of classical security should not be used, and that SHA-512 is likely sufficient for any of NIST's five security strength categories. For a key-sizing review, the practical question is whether your AES and SHA parameters already meet these levels, and whether your vendors can confirm the same. Confirm the current wording against the FAQ itself, since guidance may be revised.

The NIST standards that do cover post-quantum work are a different set of documents: FIPS 203 (ML-KEM), FIPS 204 (ML-DSA) and FIPS 205 (SLH-DSA), all published as final on 13 August 2024. They specify new public-key algorithms for key establishment and signatures, not a search method, so they do not address Grover's algorithm. NIST IR 8547 covers the transition to these standards and is the document to check when planning migration timelines. Keep the two topics separate in your risk register: Grover's algorithm affects the strength of symmetric keys and hashes, while FIPS 203 through 205 replace the public-key algorithms that Shor's algorithm threatens.

What to check in an inventory and ask vendors about Grover's algorithm

This sequence identifies every symmetric cipher and hash your systems use, checks each key length against the classical security floor, and collects vendor answers and evidence that auditors can review. The output is a dated record of symmetric primitives and parameter choices, with any gaps flagged for follow-up.

  1. Find every symmetric cipher and hash

    Work through your cryptographic inventory and list each place a symmetric cipher or hash is used, including TLS cipher suites, disk and database encryption, backup tools, message queues, API token signing and password storage. Record the algorithm name, mode and key length for each entry. The step is complete when every row in the inventory that touches symmetric cryptography has an algorithm and key length recorded, and any entry without that detail is marked as an open item for the owning team.

  2. Check AES 128 use for long-lived data

    Flag every place AES 128 protects data that must stay confidential for many years, such as archives, medical records, legal holds or long-term backups. NIST's post-quantum FAQ says it expects Grover's algorithm to offer little or no advantage against AES, and that AES 128 will remain secure for decades to come, so review each flagged item against that statement and record whether your organization accepts it for the data's retention period. The step is complete when each long-lived AES 128 use has a documented decision with a named owner, and any use the owner does not accept is moved to the open remediation list.

  3. Ask vendors about AES and SHA parameters

    Send each vendor whose product holds your data or terminates your encryption a written question asking which AES key sizes and SHA variants the product uses, which defaults it applies, and how those choices were made. NIST's FAQ says current applications can continue to use AES with 128, 192 or 256 bit keys, and that SHA512 is likely sufficient for any of its five security strength categories, so ask whether the vendor offers and enables those sizes. The step is complete when each vendor has answered in writing and every answer is filed with the inventory entry it covers.

  4. Confirm no component falls below 112 bits

    Check each component in the inventory against the threshold in NIST's FAQ, which says anything with less than 112 bits of classical security should not be used. Mark any cipher, hash or configuration that falls below that level, including legacy modes or truncated hash outputs, and record the component owner and the replacement path. The step is complete when every entry has either been confirmed at or above 112 bits of classical security, or has a documented exception that a named owner has accepted.

  5. Record evidence for auditors

    Assemble the inventory extract, vendor answers, NIST references used and any accepted exceptions into a single evidence file with the date of each review and the person who completed it. Keep the vendor correspondence with the entries it supports so an auditor can trace each claim to its source. DeployOpen prepares this evidence for compliance assessments, but independent auditors and certification bodies issue any audit report or attestation. The step is complete when the evidence file can be handed to an auditor and every statement in it can be traced to a dated source.

Confusions between Grover's algorithm and Shor's algorithm

Grover's algorithm and Shor's algorithm are often grouped together as quantum attacks, but they target different kinds of cryptography and have different effects. The cards below separate the most common mix-ups so that key sizing and vendor claims are read against the right threat.

Grover is not the RSA or elliptic curve threat

Grover's algorithm speeds up brute force search over unstructured spaces, such as searching for a symmetric key. The sources name Shor's algorithm as the method for integer factoring and discrete logarithms, which underpin RSA and elliptic curve keys. When an assessment asks which quantum method threatens a public key algorithm, check the record for Shor's algorithm and Shor's 1996 paper, not Grover's. Confirm which method each finding in your inventory relies on before assigning remediation work.

Shor 1996 paper

Reading an AES-256 claim correctly

A vendor statement that a product uses AES-256 describes symmetric encryption, which NIST expects Grover's algorithm to affect little or not at all. It does not describe the public key algorithms used for key exchange or signatures in the same product. Ask which algorithms protect key establishment and authentication separately from bulk data encryption. A symmetric cipher claim alone does not answer the public key question.

NIST PQC FAQ

Quadratic speedup is not an equal attack cost

Grover's algorithm reduces the number of steps for a brute force key search quadratically, but NIST's FAQ says the speedup will likely be limited in practice. Quantum hardware is expected to cost more, and parallelizing the attack reduces its advantage. A smaller step count therefore does not translate directly into a lower cost or a shorter time for an attacker. Ask vendors and assessors what cost and parallelism assumptions sit behind any statement about attack effort.

NIST PQC FAQ

Shor's resource estimates are separate

Gidney's 2025 estimate for factoring a 2048 bit RSA integer uses assumptions about noisy qubits, error rates and control timing. These figures belong to Shor's algorithm. They do not measure how hard Grover's search is against a symmetric key, so they should not be used to size AES or hash strength. Keep the two resource discussions apart when reviewing risk documents.

Gidney 2025 paper

Check which algorithm a finding names

When a threat finding or migration ticket mentions a quantum attack, confirm whether it refers to Grover's algorithm or Shor's algorithm before choosing a fix. Findings about symmetric key length, hash output or brute force search point toward Grover's effects, while findings about RSA or elliptic curve keys point toward Shor's. Recording the algorithm named in each finding keeps the inventory accurate for auditors.

What engineers search about Grover's algorithm

What does Grover's algorithm stand for and who published it?

Grover's algorithm is named after Lov K. Grover, who described it in the paper "A fast quantum mechanical algorithm for database search" presented at STOC 1996, pages 212 to 219. The paper was first submitted to arXiv as quant-ph/9605043 on 29 May 1996. The name is not an acronym. It describes a quantum method for searching an unsorted list of N entries. A classical search needs about N/2 lookups for a 50% chance of success, while the quantum method needs roughly O(sqrt(N)) steps, as Grover's paper states. For a reader sizing keys, the practical point is that the speedup is quadratic, not exponential. You can read the paper directly at Grover 1996.

Is Grover's algorithm the same as Shor's algorithm?

No. They are separate quantum algorithms with different targets. Grover's algorithm speeds up unstructured search and, applied to brute force key search, reduces the number of steps quadratically. Shor's algorithm, published by Peter W. Shor, presents polynomial-time methods for integer factoring and discrete logarithms on a quantum computer. The two threats differ in scale: Shor's algorithm targets the public-key schemes that rely on factoring and discrete logarithms, while Grover's algorithm affects symmetric keys and hash functions. Confirm which threat applies to a given system before you size its keys, since the mitigations are different. Shor's paper is available at Shor 1996.

Is Grover's algorithm standardized?

Grover's algorithm is not a standard in the sense of a NIST FIPS document. It is a published algorithm from the research literature, and the sources listed on this page do not show a standards body specifying it for implementation. The relevant standards are the NIST post-quantum standards: FIPS 203 for ML-KEM, FIPS 204 for ML-DSA and FIPS 205 for SLH-DSA, all published as Final on 13 August 2024. NIST's guidance on how Grover's algorithm affects symmetric keys and hashes appears in its post-quantum FAQ rather than in a standard. Check NIST's publications at NIST PQC FAQ for the current guidance.

Is AES-128 still acceptable against Grover's algorithm?

NIST's post-quantum FAQ says that it expects Grover's algorithm to provide little or no advantage in attacking AES, and that AES 128 will remain secure for decades to come. The same FAQ says current applications can continue to use AES with key sizes 128, 192 or 256 bits. AES 192 and AES 256 are also described as safe for a very long time. Whether AES-128 suits a given system depends on how long the data must stay confidential and on your own risk assessment, so review that with your security team. The NIST FAQ is at NIST PQC FAQ. Confirm the exact guidance for your sector and regulators.

Is SHA-512 sufficient against Grover's algorithm?

NIST's post-quantum FAQ says SHA512 is likely sufficient to meet the requirements of any of NIST's five security strength categories. That statement is about the hash function's strength under the categories NIST defines, and it is the reference point most reviewers will ask about. It does not mean that every use of a hash is covered, because the right output size depends on how the hash is used, such as in signatures or as a commitment. Check the use case in your own design and the NIST FAQ at NIST PQC FAQ before you rely on it in a vendor review or a compliance answer.

What does a 112-bit minimum mean for key sizing?

NIST's post-quantum FAQ says anything with less than 112 bits of classical security should not be used. In practice this is a floor for the classical strength of a system, and it is the number auditors and vendor questionnaires often cite. The 112-bit figure is a classical measure, so reviewers should read it alongside Grover's quadratic speedup rather than as a quantum security level. A key that meets the floor on paper still needs its full design reviewed, including the algorithm, the implementation and how keys are stored. The NIST FAQ is at NIST PQC FAQ.

Does Grover's algorithm make quantum attacks on AES practical today?

NIST expects the speedup from Grover's algorithm to be limited in practice. The same FAQ says quantum hardware is likely to be costlier and that parallelizing the attack reduces its advantage. Research on quantum error correction and resource estimates is still developing, and the sources listed on this page do not give a date for when a practical attack on AES would be feasible. Treat the NIST position as the current guidance and track quantum hardware progress separately before changing key sizes for your own systems. For the physical resource side of attacks, see the Gidney papers, for example Gidney 2025, which estimate resources for factoring rather than search.

What should I ask a vendor about Grover's algorithm?

Ask the vendor which key sizes and hash functions their product uses for symmetric encryption, message authentication and hashing, and whether those choices match the NIST FAQ guidance. Ask them to name the exact version and configuration that applies, since defaults change between releases. Ask whether the product's key and hash sizes meet the 112-bit classical floor described by NIST, and how they document that. Ask what they will do if NIST revises this guidance, and who will carry out and pay for the change. Request the evidence in writing, and confirm each claim against the vendor documentation for the version you run.

How DeployOpen helps teams size symmetric keys during post-quantum planning

DeployOpen helps security and platform teams decide which symmetric key and hash sizes their systems should use once Grover's algorithm is part of their threat model. The work starts with an inventory of where AES and hash functions are used, then covers configuration, testing and documentation that your own compliance and security teams can review.

How we scope

  • Inventory which systems use AES, SHA-2 or other symmetric primitives, and at which key and output sizes.
  • Identify components that cannot easily change key length, such as legacy appliances or fixed-format protocols.
  • Agree the scope, deliverables and timeline in writing before work starts, as fixed-scope engagements do.
  • Confirm with the client which NIST security strength categories and internal policies the sizing decisions must meet.

How we build

  • Configure self-hosted platforms to use the key sizes agreed in the scope, such as AES-256 where the client's policy requires it.
  • Test that configured systems accept and enforce the agreed key and hash sizes, and that weaker options are disabled.
  • Check the encryption and hashing settings of deployed services in the client's own infrastructure, not in a vendor's cloud.
  • Record each configuration change so the client's auditors can trace which setting was chosen and why.

How we hand over

  • Deliver a written sizing record listing each symmetric use, its key or output size, and the basis for that choice.
  • Document the configuration steps and tests so the client's own platform team can repeat them after handover.
  • Flag systems where the agreed sizes could not be reached, and list the decisions the client still needs to make.
  • Provide evidence in a form your compliance team can use when answering internal or external assessment questions.

How we support

  • Ongoing support and continuous testing are available as a retainer, for teams that need sizing reviewed over time.
  • Retainers can cover re-checking key and hash settings after platform upgrades or new service deployments.
  • Ask any provider for the written scope, deliverables and who performs the testing before you agree to work.
  • Confirm with NIST IR 8547 and your own risk owners how long AES and hash sizes must remain adequate for your data.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.