← guides

Is AES-256 quantum safe?

Updated December 1, 2026

Yes. AES-256 is considered safe against quantum computers. The best known quantum attack, Grover's algorithm, reduces its effective strength from 256 bits to about 128 bits, which is still far beyond what any computer can search.

Why AES is different from RSA

Shor's algorithm breaks RSA and elliptic curves because they rely on number problems with hidden structure. AES has no such structure. The only general quantum speed-up is Grover's algorithm (1996), which finds a key in about the square root of the number of tries a classical search would need.

CipherClassical strengthAgainst GroverVerdict
AES-128128 bitsAbout 64 bits in theoryAcceptable to NIST; avoid for long-lived secrets
AES-192192 bitsAbout 96 bitsSafe
AES-256256 bitsAbout 128 bitsSafe
ChaCha20256 bitsAbout 128 bitsSafe

Why even AES-128 is not an emergency

Grover's algorithm has to run its steps one after another and gains little from running on many machines at once. NIST uses AES-128 as the definition of its lowest post-quantum security category and has said it does not expect to need to move away from it. The NSA still requires AES-256 for national security systems under CNSA 2.0.

The part that does break

AES needs a key, and on the internet that key is usually agreed using RSA or elliptic curves. If the key exchange is broken, the AES key is exposed no matter how long it is. An "AES-256 encrypted" connection is only quantum safe if its key exchange is too.

  • A disk or file encrypted with AES-256 under a strong passphrase: quantum safe.
  • A TLS connection using AES-256 with X25519 key exchange: not quantum safe.
  • A TLS connection using AES-256 with X25519MLKEM768 key exchange: quantum safe as far as is known.

Hash functions

The same reasoning applies to SHA-256, SHA-384 and SHA-3. They are weakened somewhat by quantum search and remain in use.

Sources

Keep reading