Start your free trial

Choose how you want to try Troop Messenger.

Instant

Cloud (SaaS)

Sign up and start in minutes. Hosted and updated by us.

  • [7]-day free trial
  • Invite your team straight away
Start cloud trial

Building your own app? Try the Chat API

blogs Is AES-256 Quantum Safe? What Shor's and Grover's Algorithms Really Break
is-aes-256-quantum-safe

Is AES-256 Quantum Safe? What Shor's and Grover's Algorithms Really Break

Author : Apoorva Nayak

Is AES-256 quantum safe? Yes. AES-256 is considered resistant to known quantum attacks because Grover's algorithm reduces its effective security from 256 bits to approximately 128 bits, which remains a strong security margin. The greater quantum threat lies in public-key cryptography. Shor's algorithm can theoretically break widely used algorithms such as RSA, Diffie-Hellman and elliptic-curve cryptography (ECC).

This distinction matters for organisations protecting government communications, financial records, defence information and critical infrastructure. Quantum computing does not threaten every encryption algorithm equally. Understanding which cryptographic primitives remain suitable and which require replacement is essential for planning a post-quantum migration.

Is AES-256 Quantum Safe?

Yes, AES-256 remains suitable for protecting confidential information against known quantum attack models because Grover's algorithm provides a quadratic, not exponential, speed-up against symmetric encryption.

The Advanced Encryption Standard (AES) is a symmetric encryption algorithm. It uses the same secret key for encryption and decryption. AES supports three key sizes: 128, 192 and 256 bits.

A classical brute-force attack against AES-256 would theoretically require testing up to 2²⁵⁶ possible keys. Grover's algorithm reduces the theoretical search complexity to approximately 2¹²⁸ operations. This is a substantial reduction, but 128-bit security remains computationally formidable.

NIST confirms this distinction in its October 2026 publication, Transition to Post-Quantum Cryptography Standards (NIST IR 8547). The report classifies AES-256 as Category 5 in its post-quantum security framework, while AES-128 corresponds to Category 1 and AES-192 to Category 3. NIST also states that approved symmetric primitives providing at least 128 bits of classical security are believed to meet at least Category 1 requirements.

There is further support for retaining AES-256 in sensitive environments. The US National Security Agency's Commercial National Security Algorithm Suite 2.0 (CNSA 2.0) specifies AES-256 for protecting National Security Systems. Its updated FAQ, version 2.1, retains AES-256 as the symmetric encryption requirement. See theNSA CNSA 2.0 FAQ, Version 2.1 (PDF).

India's Department of Science and Technology (DST), in its Quantum-Safe Ecosystem in India report published in May 2026, also recommends strengthening existing cryptographic protections, including migrating deployments from AES-128 to AES-256.

The practical conclusion is straightforward: organisations do not need to replace AES-256 simply because quantum computing is advancing. They should, however, examine the public-key mechanisms responsible for exchanging and establishing the AES encryption keys.

Shor's Algorithm: Why RSA and ECC Break

Shor's algorithm threatens RSA and elliptic-curve cryptography because it can solve the mathematical problems on which their security depends using a sufficiently powerful fault-tolerant quantum computer.

Published by mathematician Peter Shor in 1994, the algorithm introduced a quantum approach to integer factorisation and discrete logarithms.

These mathematical problems underpin several widely deployed public-key cryptographic systems:

  • RSA: Security relies on the difficulty of factoring large integers into their prime factors.
  • Diffie-Hellman (DH): Security relies on the difficulty of solving discrete logarithms in finite groups.
  • Elliptic-Curve Diffie-Hellman (ECDH): Security relies on the elliptic-curve discrete logarithm problem.
  • Elliptic-Curve Digital Signature Algorithm (ECDSA): Its security also depends on elliptic-curve discrete logarithms.
  • EdDSA: Its security relies on elliptic-curve discrete-logarithm assumptions.

Shor's algorithm uses quantum period finding to solve these problems in polynomial time. Classical factoring algorithms have sub-exponential complexity, while Shor's approach offers polynomial-time solutions. This difference creates a substantial computational advantage as key sizes increase.

However, the algorithm does not mean that an ordinary quantum computer can immediately break RSA. A practical attack requires a sufficiently large, fault-tolerant quantum machine capable of maintaining reliable logical qubits through extensive error correction.

A May 2025 paper by Craig Gidney of Google Quantum AI, published as arXiv:2505.15917, estimated that factoring an RSA-2048 integer could take less than a week using fewer than one million noisy qubits. The estimate depends on specific hardware and error-correction assumptions. It is a resource estimate, not a demonstration that such an attack is currently possible.

This is why organisations should assess their exposure to Shor-vulnerable key-establishment and signature mechanisms.

Grover's Algorithm: Why Symmetric Encryption Survives

Grover's algorithm weakens symmetric encryption by reducing the number of operations required for brute-force key searches, but it does not make AES-256 practically breakable.

Introduced by Lov Grover in 1996, the algorithm provides a quadratic speed-up for searching an unstructured search space.

A classical search through N possible values requires approximately N/2 attempts on average. Grover's algorithm can find the target in approximately √N quantum operations.

Applied to encryption, this means:

  • AES-128 offers approximately 64 bits of effective security against an idealised Grover search.
  • AES-192 offers approximately 96 bits of effective security.
  • AES-256 offers approximately 128 bits of effective security.

These figures describe theoretical query complexity, not guaranteed attack times. Real quantum implementations also face substantial engineering constraints.

Why does Grover's algorithm not automatically make AES-256 vulnerable?

There are three important reasons.

First, quadratic speed-up is not exponential speed-up. Grover's algorithm reduces the search complexity but does not eliminate the enormous computational cost of attacking a 256-bit key.

Second, parallelism is limited. Dividing a search across multiple independent quantum computers does not provide the same straightforward acceleration as dividing classical brute-force work. Each quantum search must still perform its own sequence of operations.

Third, quantum error correction introduces overhead. Quantum processors are vulnerable to environmental disturbances and operational errors. Maintaining reliable logical qubits requires error-correction mechanisms, additional physical resources and substantial computational effort.

Consequently, AES-256 retains a strong security margin against Grover-style attacks. This is why strengthening symmetric key sizes is a practical part of quantum-readiness planning rather than abandoning symmetric encryption altogether.

Shor's vs Grover's Algorithm

Shor's algorithm threatens public-key cryptography through mathematical problem-solving, whereas Grover's algorithm reduces the security margin of symmetric encryption through faster searching.

The following comparison explains their different effects.

Comparison

Shor's Algorithm

Grover's Algorithm

Primary target

Integer factorisation and discrete logarithms

Unstructured search

Cryptographic impact

Threatens RSA, DH and ECC

Weakens symmetric encryption

Quantum advantage

Polynomial-time solutions to problems that are classically much harder

Quadratic speed-up

Effect on encryption

Can undermine public-key key establishment

Reduces effective key-search strength

Effect on AES-256

Does not directly break AES-256

Reduces effective security to approximately 128 bits

Main defence

Replace vulnerable public-key mechanisms with PQC alternatives

Use sufficiently large symmetric keys, such as AES-256

Practical requirement

Large, fault-tolerant quantum computer

Reliable quantum hardware capable of sustained search operations

The distinction is important when assessing whether quantum computers can break encryption. Shor's algorithm creates a replacement requirement for vulnerable public-key systems, while Grover's algorithm primarily requires organisations to reassess symmetric key lengths.

Treating both algorithms as equivalent threats can lead to unnecessary encryption replacements and poorly prioritised migration programmes.

Which Algorithms Are Quantum Safe?

AES-256 and appropriately sized SHA-2 and SHA-3 functions retain strong security margins against known quantum attacks, while RSA and conventional elliptic-curve algorithms require migration.

NIST IR 8547, published in October 2026, distinguishes between quantum-vulnerable public-key algorithms and symmetric cryptographic standards that remain suitable under its post-quantum security framework.

The following table summarises the position of commonly deployed algorithms.

Algorithm

Quantum threat

Verdict

Explanation

RSA

Shor's algorithm

Vulnerable

Integer factorisation becomes tractable on a sufficiently powerful quantum computer.

DH

Shor's algorithm

Vulnerable

Finite-field discrete logarithms are vulnerable.

ECDH

Shor's algorithm

Vulnerable

Elliptic-curve discrete logarithms are vulnerable.

ECDSA

Shor's algorithm

Vulnerable

Its underlying elliptic-curve problem is quantum-vulnerable.

EdDSA

Shor's algorithm

Vulnerable

Its elliptic-curve security assumptions are vulnerable.

AES-128

Grover's algorithm

Weakened

Theoretical effective key-search strength falls to approximately 64 bits. NIST retains it in Category 1, but stronger keys are preferable for long-term quantum readiness.

AES-192

Grover's algorithm

Weakened

Theoretical effective key-search strength falls to approximately 96 bits.

AES-256

Grover's algorithm

Suitable

Retains approximately 128 bits of effective key-search security.

SHA-256

Grover's algorithm

Suitable

Retains strong preimage resistance, although quantum attacks affect collision and preimage security differently.

SHA-3

Grover's algorithm

Suitable, depending on variant

Appropriately sized variants retain strong security categories.

ML-KEM

Designed for quantum resistance

Suitable

NIST-standardised post-quantum key-encapsulation mechanism.

ML-DSA

Designed for quantum resistance

Suitable

NIST-standardised post-quantum digital signature algorithm.

SLH-DSA

Designed for quantum resistance

Suitable

NIST-standardised hash-based digital signature algorithm.

Important distinction: AES-128 is not equivalent to a broken public-key algorithm. NIST IR 8547 includes it in Category 1 and does not classify it alongside quantum-vulnerable RSA and ECC. However, organisations handling long-lived sensitive information should evaluate AES-256 as a stronger alternative.

SHA-256 and SHA-3 also require some qualification. Their security depends on the specific variant and whether collision resistance or preimage resistance is being considered. For example, NIST's October 2026 report assigns SHA-256 to Category 2 for collision resistance and Category 5 for preimage resistance. SHA3-256 receives the same categories.

The three NIST-standardised post-quantum algorithms serve different purposes:

  • ML-KEM (FIPS 203): Establishes shared cryptographic secrets between communicating parties.
  • ML-DSA (FIPS 204): Provides digital signatures for authentication and integrity.
  • SLH-DSA (FIPS 205): Provides stateless, hash-based digital signatures.

These algorithms form part of the migration landscape described in theNIST PQC standards.

Organisations should select algorithms according to their security requirements, implementation constraints and applicable standards rather than assuming that every algorithm labelled post-quantum is interchangeable.

Can Quantum Computers Break Encryption Today?

No publicly demonstrated quantum computer can currently execute the large-scale, fault-tolerant cryptographic attacks described by Shor's algorithm against RSA-2048.

However, this does not mean organisations can postpone their cryptographic migration indefinitely. The main concern is that encrypted information collected today could become readable when sufficiently capable quantum computers become available.

This is known as harvest now, decrypt later (HNDL).

The attack follows a relatively straightforward process:

  • An attacker intercepts encrypted communications or obtains encrypted data.
  • The attacker stores the captured information without attempting to decrypt it immediately.
  • When a sufficiently powerful quantum computer becomes available, the attacker attempts to recover the vulnerable public-key secrets.
  • Previously protected information may then become accessible.

The exposure is particularly relevant to information with long confidentiality requirements, including government records, defence communications, financial information, intellectual property and sensitive infrastructure data.

NIST explains in its guidance on post-quantum cryptography that organisations need to prepare early because integrating new cryptographic algorithms into existing products and information systems takes considerable time.

The challenge is not limited to when a quantum computer becomes operational. It also depends on how long the information must remain confidential and how long an organisation needs to complete its migration.

Read more about theharvest now, decrypt later threat and why captured encrypted information can create long-term exposure.

What This Means for Your Messages

AES-256 can protect message content against known quantum search attacks, but the security of a messaging connection also depends on how its encryption keys are established and exchanged.

For secure communications, encryption must protect both the message content and the cryptographic mechanisms used to establish session keys.

If an application uses AES-256 for message encryption but relies on RSA or conventional elliptic-curve cryptography for key exchange, a sufficiently powerful quantum computer could compromise the key-establishment mechanism. The strength of AES-256 would not compensate for that weakness.

This is where post-quantum key establishment becomes important.

Troop Messenger is a secure collaboration platform supporting chat, voice and video calls, and file sharing. It can run over a post-quantum VPN, allowing network traffic to benefit from post-quantum protection at the VPN layer. The specific VPN algorithm and Troop Messenger's underlying message and file encryption implementation require confirmation before making more detailed cryptographic claims. [confirm: AES-256-GCM] [confirm: post-quantum VPN key-exchange algorithm].

For organisations evaluating post-quantum encryption for messaging, the key consideration is whether the entire communication path has been assessed, including key establishment, encryption, authentication and infrastructure.

A practical assessment should cover:

  • Message encryption: Identify the symmetric encryption algorithms and key lengths protecting message content.
  • Key establishment: Determine whether the protocol uses quantum-vulnerable or post-quantum key exchange.
  • Authentication: Review the digital signature algorithms used to verify communicating parties.
  • Network protection: Examine whether VPNs and other transport mechanisms support post-quantum key establishment.
  • Migration readiness: Maintain a cryptographic inventory and establish a process for replacing vulnerable algorithms.

The objective is not simply to select AES-256. It is to ensure that every cryptographic component protecting a communication remains appropriate for the organisation's confidentiality requirements.

Conclusion

AES-256 remains a strong choice for symmetric encryption in the post-quantum era, while RSA, DH and ECC require migration to post-quantum alternatives. For organisations protecting sensitive communications, the priority is to preserve strong message encryption while ensuring that key exchange, authentication and supporting infrastructure are also prepared for quantum attacks.

AES-256 is only as safe as the key exchange in front of it. See post-quantum encryption for messaging.

Frequently Asked Questions

1. Is AES-256 quantum safe?

Yes. AES-256 remains suitable against known quantum attacks because Grover's algorithm reduces its theoretical key-search strength from 256 bits to approximately 128 bits. NIST IR 8547, published in October 2026, assigns AES-256 to Category 5 in its post-quantum security framework, supporting its continued use for sensitive information.

2. Can quantum computers break AES-128?

Grover's algorithm theoretically reduces AES-128's effective key-search strength from 128 bits to approximately 64 bits. However, NIST IR 8547 still includes AES-128 in Category 1. Organisations protecting information requiring long-term confidentiality should consider AES-256 for a stronger security margin against quantum-assisted attacks.

3. Is RSA quantum safe?

No. RSA relies on integer factorisation, a mathematical problem that Shor's algorithm can solve efficiently on a sufficiently powerful fault-tolerant quantum computer. NIST IR 8547 identifies RSA as quantum-vulnerable and establishes a transition towards post-quantum digital signature and key-establishment mechanisms.

4. What does Shor's algorithm do?

Shor's algorithm is a quantum algorithm developed by Peter Shor in 1994. It uses quantum period finding to solve integer factorisation and discrete logarithm problems in polynomial time. These problems underpin RSA, Diffie-Hellman and elliptic-curve cryptography, making sufficiently powerful quantum computers a threat to conventional public-key cryptography.

5. What does Grover's algorithm do?

Grover's algorithm, introduced by Lov Grover in 1996, accelerates unstructured searches through a quadratic speed-up. Instead of requiring approximately N operations, a quantum search can require approximately √N operations. In cryptography, this reduces the effective security margin of symmetric encryption, making longer keys such as AES-256 important.

Recent blogs
loading
Header
loading