AES-128 vs AES-256: which key length applies to your system under quantum attack
A vendor document, standard or audit request may name AES-128 or AES-256 next to post-quantum algorithms such as ML-KEM or ML-DSA. AES is a symmetric block cipher, and the number refers to the length of its key: 128 bits or 256 bits. The distinction the sources raise is that key length is the setting that differs between the two. The algorithm itself is the same, so when a document lists one key length and not the other, the question for your team is which key length the system actually runs.
You will meet this question during inventory work, when security or compliance teams record where symmetric encryption is used and at what key length, and during vendor reviews, when a supplier states which key length its product uses for data at rest or in transit. Post-quantum guidance covers public-key algorithms such as ML-KEM, ML-DSA and SLH-DSA, defined in FIPS 203, FIPS 204 and FIPS 205. The sources listed on this page do not say how AES key length should be chosen in response to quantum attack, so do not treat either key length as established as safe or compliant on the strength of this page.
Start by listing every place your system uses AES and recording the key length in each place, including configuration files, vendor settings and any fixed defaults. Then ask each vendor, in writing, which key length its product enforces and whether that setting can be changed. For the current wording of federal transition expectations, check NIST IR 8547 directly at NIST IR 8547 final record rather than relying on secondary summaries.
AES-128 and AES-256 side by side: what the sources give for each attribute
This table sets out what the listed sources give for AES-128 and AES-256, row by row, and marks where they are silent. The listed sources do not define AES key sizes, do not state a quantum security level for either key length, and do not name AES in the post-quantum standards they cover. Use the table to see which points are sourced and which need confirmation from the AES specification or your own environment.
| Attribute | AES-128 | AES-256 |
|---|---|---|
| What it is | The sources on this page do not describe AES-128 as a construct. Confirm the definition in the AES specification. | The sources on this page do not describe AES-256 as a construct. Confirm the definition in the AES specification. |
| Key size | The sources on this page do not state the key size for AES-128. Confirm in the AES specification. | The sources on this page do not state the key size for AES-256. Confirm in the AES specification. |
| Defining document | The sources on this page do not name the document that defines AES-128. Confirm with the AES specification. | The sources on this page do not name the document that defines AES-256. Confirm with the AES specification. |
| Role in the listed post-quantum guidance | The listed sources (FIPS 203, FIPS 204, FIPS 205, NIST IR 8547, RFC 9794, RFC 10024) do not mention AES-128. | The listed sources (FIPS 203, FIPS 204, FIPS 205, NIST IR 8547, RFC 9794, RFC 10024) do not mention AES-256. |
| Quantum security level | The sources on this page do not give a post-quantum security level for AES-128. | The sources on this page do not give a post-quantum security level for AES-256. |
| Where it is supported | The sources on this page do not say where AES-128 is supported. Check your platform and library documentation. | The sources on this page do not say where AES-256 is supported. Check your platform and library documentation. |
What AES-128 is and what AES-256 is, and where practitioners meet each
AES-128 is the Advanced Encryption Standard used with a 128-bit key. Practitioners meet it as a named cipher suite, an algorithm identifier, or a configuration value that selects the key length for bulk encryption of data at rest or in transit. The sources supplied for this topic do not restate the AES specification, so the authoritative definition sits in the FIPS publication for AES, which you should retrieve from NIST directly. Teams usually find AES-128 in TLS cipher suite lists, disk and database encryption settings, and backup tool options.
- Cipher suite names: TLS suites often embed the key length in the name, so a suite string containing AES_128 signals the 128-bit key.
- Storage and backup settings: Encryption options in storage platforms and backup tools may default to one length, so check the explicit value rather than assuming it.
- Vendor documents: Product security guides and data sheets list supported key lengths, and tenders often ask for the length by name.
- Application configuration: Libraries and frameworks expose a key-size parameter that must match the length in the design.
- Inventory records: A cryptographic inventory should record the key length per system, since the same product may run different lengths in different modes.
When you review a system, confirm the exact key length in the running configuration, not only in the vendor's marketing or the design document.
AES-256 is the Advanced Encryption Standard used with a 256-bit key. Practitioners meet it under the same kinds of names and settings as AES-128, but with the longer key length selected. Vendor documents and procurement requirements often name AES-256 explicitly, and national and sector guidance may reference it when describing symmetric encryption choices. The supplied sources do not compare the two lengths against quantum attacks, so any statement about relative strength must come from the NIST and CNSA documents that address it directly.
- Named configuration values: Settings that read AES-256 or the 256-bit key size mark the longer length, and these are common in tender responses.
- Cipher suite strings: TLS and SSH suite names carry the length, so AES_256 entries show where the longer key appears.
- Certificates and key stores: Key stores and hardware security modules report the symmetric key size, which auditors may request as evidence.
- Documented profiles: Security baselines and procurement profiles may specify the length, so read the exact requirement in each.
- Mixed estates: Many organizations run both lengths, so inventory each system rather than treating the estate as uniform.
Before relying on a length in a review, confirm the value in the product's own documentation and in the live configuration.
How the key lengths differ in practice for systems, configurations and decisions
The two AES key lengths are both symmetric ciphers, so the same question comes up for each: what a larger key changes in a system you already run and what it changes in the answers you give to a vendor or tender. The cards below cover each difference as a consequence to check, using only what the listed sources state.
The key size itself
AES-128 uses a 128-bit key and AES-256 uses a 256-bit key. The key length is a configuration value that is set where encryption is initialized, so it must be checked in each product's settings rather than assumed from the algorithm name. Confirm the key length each component actually negotiates or stores, because a product may offer AES-256 as an option while still defaulting to a shorter key.
How the sources describe each under quantum attack
The sources listed on this page do not set out a quantum-attack comparison between AES-128 and AES-256 in terms of key length. Their guidance concerns the public-key algorithms that protect key exchange and signatures, including the FIPS 203, FIPS 204 and FIPS 205 standards published August 13, 2024. Read any statement about symmetric key strength against the standard it cites, and confirm the claim before using it in a design or vendor answer.
NIST IR 8547Effect on existing deployments
Systems already using AES-128 or AES-256 do not change key length by being in a post-quantum inventory. A migration plan should record the symmetric key length in use alongside the public-key algorithms, so reviewers can tell which items need a change and which only need a documented decision. Changing a key length in a running system is an upgrade and retest task, so it should be scoped separately from key exchange changes.
Effect on vendor and tender answers
A vendor or tender answer about symmetric encryption should state the key length, the mode and the component where it is set, not only the algorithm family. Ask the vendor to name the version and configuration option that applies, and to say whether AES-256 is the default or an optional setting. Compare these answers with the migration evidence the buyer requires, so that a claim about key length is backed by a checkable setting.
Where AES-128 and AES-256 appear: protocols, products, vendor documents and audit requests
The practical question for most teams is not whether AES-128 or AES-256 is stronger in the abstract, but where each key length is named in the systems they run and in the paperwork they must answer. Start by searching your inventory for the cipher name together with its key length, for example AES-128-GCM or AES-256-GCM, across TLS configurations, disk and database encryption settings, backup tools, VPN and SSH configurations, and application libraries. The same product often offers several key lengths, and the default is not always the one you expect, so record the setting that is actually in effect rather than the one listed in the marketing material. The sources supplied for this topic do not list specific products, protocol versions or default key lengths, so confirm each one against the vendor's current documentation and your own configuration.
Vendor documents, tenders and audit requests use the key length as a shorthand for a security level, so a single answer like "AES-256 encryption" can be read in more than one way. Ask vendors to state the key length, the mode of operation and the component that performs the encryption, and to identify which parts of the product use symmetric encryption and which use public-key algorithms such as ML-KEM or ML-DSA, which the NIST standards FIPS 203 and FIPS 204 define. Keep those two categories separate in your answers, because the post-quantum migration work described in NIST IR 8547 concerns the public-key algorithms first. Any statement that a product is quantum safe or meets a particular security level should be checked against the specific standard and version the vendor cites, and the sources supplied here do not establish that any product has been validated for either key length.
How to work out which AES key length applies to your system
This sequence gives you a sourced, checkable answer to the question of which AES key length your system uses and what your requirements expect. You finish with a documented answer you can give in a tender response or audit reply, backed by the configuration you confirmed.
Identify the requirements that name a key length
Start by collecting the requirements, contracts, internal policies and customer security terms that name an AES key length, such as AES-128 or AES-256. Record the exact clause, the document version and the party that set it, so you know whether the requirement is a mandate, a recommendation or a contractual term. If no document names a key length, write that down, since the answer then depends on your own risk decisions and the standards you choose to follow. Done when every named key length has a source reference in your working file.
Inventory where AES is used
Build a list of every system, service, protocol and data store in your environment that uses AES, including TLS sessions, VPNs, disk and database encryption, backup tooling and application-level encryption. Your security, platform and network teams should each contribute their area, because AES is often used inside products you did not configure yourself. Record the component name, its version and the place where the encryption is applied. Done when each entry on the list names a component and an owner who can confirm its settings.
Record the key length configured for each use
For each entry in the inventory, note the AES key length the component is configured to use, along with the mode of operation the sources report for it. Where a setting is a default, record that fact separately, because defaults can differ between versions and editions. Compare the configured length with the requirement you recorded in the first step and flag any mismatch. Done when every inventory entry has a recorded key length or a flagged gap.
Check vendor documentation for the configured version
For each component, read the vendor's documentation for the exact version and edition you run, and confirm which AES key lengths it supports and which one it uses by default. Vendor documentation for one major version may not describe the behavior of another, so match the document to your deployed version rather than to the latest release. Note the document title, version and section you relied on. Done when each entry on your list is backed by a documentation reference for its version.
Confirm the settings in your own environment
Verify the key length in each live environment using the component's own configuration or status commands, or a test connection where the product allows one, rather than relying on documentation alone. Settings can be overridden by configuration files, policy objects or deployment templates, so check what is actually in effect. Capture the command output or configuration excerpt as evidence and note the date you checked. Done when each configured key length has been observed in the running environment and the evidence is stored with the inventory.
Prepare the answer for the tender or audit question
Write a short statement for each system that gives the key length in use, the requirement it meets or departs from, the version it was checked against, and the date and method of your confirmation. Where a requirement is not met, state the gap and the planned remediation without claiming compliance you have not verified. Have the owner of each system review its entry before submission. Done when every question in the tender or audit request maps to a checked entry.
Common mix-ups between AES-128, AES-256 and related names
AES-128 and AES-256 are symmetric ciphers, while ML-KEM, ML-DSA and SLH-DSA are post-quantum asymmetric algorithms, a separate category. Teams often mix these up when reading vendor claims, standard numbers and older names, so each card below gives a correction to check against the sources.
Key length is not the cipher name
The number in AES-128 or AES-256 names the key length, and the cipher is AES in both cases. Reading the number as a separate algorithm or as a different family leads to wrong conclusions about which systems are affected. When reviewing a design, confirm the cipher name and the key length as two separate fields in the configuration. The sources listed on this page do not say how each key length performs under a quantum attack, so confirm that point against the cryptographic guidance you rely on.
A vendor's AES claim is not a product claim
A statement that a product uses AES covers only the encryption step the vendor names, such as data at rest or a specific transport. It says nothing about key exchange, signatures, certificates or other components of the same product. Ask the vendor which operations use AES, which use asymmetric algorithms, and which version and configuration the claim applies to. Treat a broad AES statement as incomplete until each component is named.
Keep symmetric and asymmetric answers apart
AES-128 and AES-256 protect bulk data once keys are in place, but they do not establish those keys. ML-KEM is a key-establishment mechanism, ML-DSA and SLH-DSA are signature algorithms, and all three are asymmetric. A single answer that combines AES key length with a post-quantum key exchange or signature scheme is usually answering two separate questions. Split the answer so each algorithm is matched to its own role in the protocol.
FIPS 203 textStandard numbers identify distinct documents
FIPS 203, FIPS 204 and FIPS 205 are separate NIST standards, published together on August 13, 2024. FIPS 203 covers ML-KEM, FIPS 204 covers ML-DSA, and FIPS 205 covers SLH-DSA. NIST IR 8547 is a transition document, not a replacement for any of them. When a request cites a standard, match the number to the algorithm it defines before accepting it as evidence for a design choice.
NIST IR 8547 recordEarlier names may point to a different algorithm
The standard now called ML-KEM was published in draft under an earlier name, and the same is true of other post-quantum schemes. SLH-DSA is based on SPHINCS+, but the two names refer to a standard and a scheme it came from, not identical specifications. Older documents, product labels and vendor roadmaps may still use the earlier names. When a document uses an older name, confirm which final standard it maps to and which version the product implements.
FIPS 205 textIs AES-128 the same as AES-256, and which one do regulators or customers ask for?
Is AES-128 the same thing as AES-256?
No. AES-128 and AES-256 are both members of the Advanced Encryption Standard family, but they use different key lengths: 128 bits and 256 bits. The two are not interchangeable, and a system configured for one does not automatically provide the other's properties. The sources listed on this page do not supply a full specification of the two variants. Read the AES specification for the block cipher's round structure and key schedule, and confirm which key length your product and each of its components actually uses. The same name can appear on both, so check the key length in configuration, not only the algorithm name.
Which is the larger key, AES-128 or AES-256?
AES-256 uses the larger key, at 256 bits, while AES-128 uses 128 bits. A larger key is the usual reason engineers select the longer variant, but the length alone does not tell you how a given deployment behaves under attack. The sources listed on this page do not give a numeric comparison of how much harder each key is to attack under quantum computing, so this page does not state one. If you need that figure for a risk assessment, take it from the specific standard or guidance your reviewer cites, and record the source. Keep the key length as a configuration fact you can verify in your own environment.
Does a regulation or customer contract name AES-128 or AES-256?
The sources listed on this page do not show a specific regulation or customer requirement that names AES-128 or AES-256. Guidance in this area is mostly organized around the post-quantum public-key standards, such as FIPS 203, FIPS 204 and FIPS 205, and the transition work described in NIST IR 8547. Before you assume a requirement exists, check your own contracts, your procurement questionnaire and the compliance framework your auditor uses. If a customer asks for a particular symmetric key length, ask them to point to the clause, so you can answer against the actual requirement rather than a guess.
Do I need both AES-128 and AES-256, or only one?
The sources listed on this page do not say that both must be deployed, or that one replaces the other. Whether you run one variant, both, or a mix depends on what each system supports and what your own requirements state. In practice, a platform may use one key length for one function and another for a different function, and the inventory of your cryptography should record each use. Start by listing where symmetric encryption appears in your stack, then record the key length for each entry. The inventory is what lets you answer the question for your environment instead of applying a blanket rule.
Is AES-128 quantum safe?
The sources listed on this page do not support describing AES-128, or any other single algorithm or product, as quantum safe. That term is a marketing phrase and not a standard claim, so this page does not use it as a conclusion about AES-128. What the sources do cover is the post-quantum public-key standards and the transition guidance around them. If a vendor tells you a product is quantum safe, ask which algorithm, which key length, which standard and which version the claim applies to, and ask for the documentation that supports it. Treat an unsupported claim as an open question.
What should I ask a vendor about AES key length?
Ask the vendor to state, in writing, the key length used for each symmetric encryption function in the product, and which configuration setting controls it. Ask which version and edition the answer applies to, since behavior can differ between releases. Ask whether the default key length can be changed, and whether the change applies to data already stored or only to new data. Ask where the key length appears in the vendor's documentation, so you can check it against the product you actually run. Finally, ask for the vendor's stated plan for the post-quantum transition, and whether that plan touches the symmetric components or only the public-key ones.
How do I check which AES key length my own system uses?
Start with the configuration of each component that encrypts data: the application, the database, the storage layer and any transport that wraps it. Look for a key length setting, and confirm it in the running system rather than only in the documentation. Record the result in your cryptography inventory alongside the version, since a default can change between releases. Where a component has no visible setting, note that and ask the vendor. The sources listed on this page do not give a checklist for this step, so use the component's own documentation as the authority and keep the evidence you collect.
How the symmetric key length sits within a migration and hybrid sequence
The sequence starts with an inventory of where AES-128 and AES-256 are used, since symmetric key length is a separate item from the public-key algorithms being replaced. Next comes key establishment, where a post-quantum KEM such as ML-KEM, often combined with a traditional exchange in a hybrid scheme as RFC 10024 describes for TLS 1.3, sets up the session. The symmetric key length is then checked against the traffic it protects. Signatures from ML-DSA, SLH-DSA or related standards are handled in their own step. The sources listed on this page do not say how symmetric key length should be weighed against these steps in every deployment, so confirm that choice for your environment.
Where symmetric key length is inventoried and checked relative to key establishment and signatures.
How DeployOpen works on this
DeployOpen helps teams that run self-hosted platforms in their own infrastructure work through how AES-128 and AES-256 fit into their post-quantum migration. The work covers the systems that use symmetric keys, the decisions about key length, and the records that a security or compliance reviewer will ask to see.
How we scope
- We list the platforms and components in your environment that use AES, and which key lengths each one is configured to use.
- The written scope states which systems are covered, which key length decisions we document, and which decisions stay with your team.
- Engagements are fixed-scope, with deliverables and timelines agreed in writing before work begins.
How we build
- We configure self-hosted platforms in your infrastructure to use the AES key lengths your written scope has agreed.
- We test the configured systems to confirm the chosen key lengths are in effect and that related settings match the documented decision.
- Where a component cannot be configured to the agreed key length, we record the limitation and the options for your review.
How we hand over
- You receive documentation that records each AES key length decision, the reasoning as the cited standards describe it, and the systems affected.
- The handover includes configuration records and test results that your security and compliance teams can review directly.
- We identify the points where a decision should be revisited, such as a new standard revision or a change in a platform's supported options.
How we support
- Ongoing support and continuous testing are available as retainers, for teams that need the key length records kept current.
- Retainer support covers upgrades to platforms that change their supported AES options or default settings.
- Questions from auditors or assessors about key length choices can be answered from the documented records and test results.

