Skip to content
Ayati PassExplainers

Quantum-safe passwords: what “quantum-ready” really means for passwords and secrets

What makes quantum safe passwords: entropy, length, how Grover’s algorithm affects brute force, where the real quantum risk lies, and NIST’s post-quantum plans.

Ayati Cytech ResearchPublished 6 min read

Quantum-safe passwords are passwords long and random enough that even a theoretical quantum speed-up in guessing leaves them out of reach. In practice that means about 128 bits of entropy for important, long-lived secrets — roughly 20 random characters, or ten random words — stored in a vault and protected in transit by cryptography that is itself moving to post-quantum standards.

“Quantum” is a word that attracts hype. This explainer separates what quantum computing actually changes for passwords from what it does not, using NIST’s own guidance, so you can set a sensible policy without overreacting.

What does password strength actually mean?

Password strength is best measured as entropy: the number of equally likely possibilities an attacker would have to search, expressed in bits. Each extra bit doubles the work.

For a password chosen at random — by a generator, not a person — entropy is easy to calculate:

entropy (bits) = length × log₂(size of the character set)

Password type Bits per symbol Example length Approximate entropy
Digits only (0–9) 3.3 6 (a PIN) 20 bits
Lower-case letters 4.7 12 56 bits
Full printable keyboard (94 characters) 6.55 12 79 bits
Full printable keyboard 6.55 16 105 bits
Full printable keyboard 6.55 20 131 bits
Random words from a 7,776-word list 12.9 6 words 78 bits
Random words from a 7,776-word list 12.9 10 words 129 bits

Two caveats matter. First, these numbers apply only to randomly generated passwords. Mumbai@2026! is 12 characters but has far less real entropy, because attackers try names, places, years and symbols in predictable positions first. Second, length beats complexity: adding characters raises entropy faster than adding character types, which is why current NIST SP 800-63B guidance requires at least 15 characters for passwords used as the only factor and tells organisations not to impose composition rules.

How could a quantum computer help an attacker?

Two quantum algorithms are relevant to cryptography, and they affect very different things.

Shor’s algorithm efficiently solves the mathematical problems behind RSA, Diffie–Hellman and elliptic-curve cryptography. A large enough quantum computer running it would break today’s public-key cryptography outright. That is a serious threat — but it is a threat to public-key cryptography, not directly to passwords.

Grover’s algorithm speeds up unstructured search, which includes brute-force guessing of a key or password. Its speed-up is quadratic: a search over 2ⁿ possibilities needs on the order of 2ⁿ/² quantum steps. That is why you will often read that Grover “halves the effective bit strength” of a symmetric key or a random password — 128 bits behaves, in theory, like 64.

Why “halving” overstates the practical risk

The halving rule is a useful upper bound, not a forecast. NIST’s post-quantum cryptography FAQ explains why:

  • Grover’s algorithm only gives its full speed-up if all its steps are performed in sequence. Attackers normally split brute force across many machines in parallel, and with Grover, parallelism gives a much smaller benefit.
  • Each quantum step is expected to be far slower and more expensive than a classical guess.
  • As a result, NIST says it is quite likely that Grover’s algorithm will provide little or no advantage in attacking AES, that current applications can continue to use AES with 128, 192 or 256-bit keys, and that it expects AES-128 to remain secure for decades.

So the honest position is this: a secret with about 128 bits of entropy is in the same class as an AES-128 key, which NIST considers safe against quantum attack for the foreseeable future. Choosing that level for important secrets is a prudent, not alarmist, target.

A worked example: three passwords against the halving rule

Take three passwords, assume the attacker has the password hash offline (the worst case), and apply the theoretical halving:

  1. Contoso@123 — human-chosen. It follows exactly the pattern that attackers’ dictionaries and rule sets try first on classical hardware. Quantum computing is irrelevant; it is already weak.
  2. A random 12-character password (~79 bits). Strong today against classical attack, especially behind a slow password hash. Under the theoretical halving it falls to ~39 bits of quantum work — still not practical given NIST’s caveats, but it leaves a thinner margin than you want for a secret that must last a decade.
  3. A random 20-character password (~131 bits). Comparable to an AES-128 key even before any halving. This is what “quantum-ready” should mean in practice.

The lesson: quantum computing does not rescue weak passwords from being weak, and it does not threaten genuinely long random ones. The gap in between is where length matters.

Where is the real quantum risk for passwords and secrets?

The more pressing risk is not guessing — it is transport and key exchange.

When a password travels from a browser to a server, or a vault synchronises, the connection is protected by TLS, which today relies on public-key cryptography vulnerable to Shor’s algorithm. An adversary can record encrypted traffic now and decrypt it later, once a capable quantum computer exists: the “harvest now, decrypt later” problem. For secrets that stay valid for years — a root credential, a master encryption passphrase, a long-lived API key — that matters.

NIST’s response is a new generation of standards. In August 2024 it published its first three post-quantum standards: FIPS 203 (ML-KEM, for key establishment), FIPS 204 (ML-DSA, digital signatures) and FIPS 205 (SLH-DSA, hash-based signatures). Its draft transition guidance (NIST IR 8547) sets out moving away from quantum-vulnerable public-key algorithms, with them disallowed after 2035. In India, CERT-In’s guidelines on cryptographic and quantum bills of materials encourage organisations to inventory their cryptography to plan the same migration — see SBOM vs CBOM vs QBOM.

Nobody can say with confidence when a cryptographically relevant quantum computer will exist. The sensible approach is to act on the parts that are cheap now and plan the parts that take years.

What should a quantum-ready password policy include?

  • Generated, not chosen: all shared and service credentials come from a high-entropy generator
  • Length targets by value: at least 15 characters for any password used alone; around 20 random characters (or ten random words) for long-lived, high-value secrets
  • No composition rules or forced periodic changes without evidence of compromise, in line with NIST SP 800-63B
  • Blocklist checks against known compromised passwords
  • Slow, salted hashing (such as Argon2, scrypt or bcrypt) wherever your own systems store passwords
  • Rotation for long-lived secrets on a sensible schedule, and immediately on compromise
  • Short-lived sharing: shares that expire, so a captured secret has a limited useful life
  • A cryptographic inventory (CBOM) and a plan to adopt post-quantum TLS as your platforms support it

Do you need “quantum” passwords for everything?

No. A password protected by multi-factor authentication and online rate limiting is not going to be brute-forced, by a quantum computer or otherwise. Focus the strongest requirements where an attacker could work offline or where the secret must stay valid for years: encryption passphrases, service accounts, root and break-glass credentials, signing keys and shared vendor accounts.

Where Ayati Pass fits

Ayati Pass is an enterprise password manager designed for this approach. Its generator creates long, high-entropy passwords designed to stay strong as computing power grows, it checks the strength of every entry, and it stores them in an encrypted vault. Because shares carry email verification and an expiry date, access you hand to a colleague or vendor ends when the work is done — and rotating the credential afterwards closes it completely. For the wider selection criteria, see our enterprise password manager buyer’s guide.

To review your password and secrets policy with our team, book a demo.

Frequently asked questions

Can quantum computers crack passwords?

Not in any practical sense today. In theory, Grover’s algorithm could speed up brute-force guessing quadratically, roughly halving a secret’s effective bit strength, but NIST notes that the speed-up is much smaller in practice because the steps must run in sequence. Long, random passwords remain strong.

How long should a quantum-safe password be?

Aim for about 128 bits of entropy for long-lived, high-value secrets: around 20 random characters from the full keyboard set, or about 10 words chosen at random from a large word list. That matches the strength NIST considers safe for AES-128, which it expects to remain secure for decades.

What is the real quantum threat to passwords?

The bigger risk is to public-key cryptography such as RSA and elliptic curves, which protects passwords in transit over TLS. Data captured today could be decrypted later once a large quantum computer exists, which is why NIST published post-quantum standards in 2024.

Does Grover’s algorithm break AES?

No. Grover’s algorithm offers at best a quadratic speed-up for key search. NIST states that current applications can continue to use AES with 128, 192 or 256-bit keys and expects AES-128 to remain secure for decades.

See Ayati Pass on your own estate.

A 30-minute walkthrough on your own use case — endpoint, data, code, passwords, AI or network.