Skip to content

47-Day Certificates Are Coming. Are You Ready?

Act Now →

Why 3DES or Triple DES Is Officially Being Retired

why 3des is disallowed

Quick answer: 3DES (Triple DES) is disallowed for new encryption under NIST SP 800-131A Rev. 2 as of December 31, 2023, and NIST formally withdrew SP 800-67 Rev. 2 on January 1, 2024. The Sweet32 attack (CVE-2016-2183) breaks 3DES’s 64-bit block after roughly 32GB of data on one key, so new systems should use AES-256.

Key takeaways:

  • NIST disallowed new 3DES encryption after December 31, 2023 (SP 800-131A Rev. 2); SP 800-67 Rev. 2 was formally withdrawn on January 1, 2024.
  • The Sweet32 birthday bound attack (CVE-2016-2183 for TLS, CVE-2016-6329 for OpenVPN) breaks 64-bit block ciphers like 3DES and Blowfish once roughly 32GB of data is encrypted under one key.
  • Decrypting data already protected with 3DES is still permitted; only new encryption with 3DES is disallowed.
  • AES-256 is the direct replacement (GCM mode for data in transit, XTS mode for data at rest), with ChaCha20-Poly1305 as a software-only alternative where AES-NI hardware acceleration is unavailable.
  • Migrating legacy payment terminals, mainframes, and HSM-backed systems off 3DES is primarily a key-management project, not a simple algorithm swap.

Published: March 2022. Updated: August 2026. Reviewed by Encryption Consulting’s Encryption Advisory team.

3DES, also called Triple DES or TDEA (Triple Data Encryption Algorithm), is a symmetric block cipher built by running the original DES algorithm three times per data block with either two or three keys. NIST introduced it in the 1990s as a stopgap after DES’s 56-bit key proved too short, and banks, payment networks, and government systems adopted it widely for data at rest and data in transit. That stopgap is now over. NIST’s own published guidance disallows 3DES for any new encryption, and independent cryptanalysis gave the industry a concrete, practical reason to stop using it years before the compliance deadline arrived.

Why Is 3DES Being Retired?

3DES is being retired because its 64-bit block size no longer provides an adequate security margin at modern data volumes, and NIST has said so in writing. NIST SP 800-131A Revision 2 states that encryption using three-key TDEA is deprecated through December 31, 2023, and disallowed for new applications after that date. Two-key TDEA encryption was disallowed earlier still. NIST reinforced the point in 2023 with a formal notice that it would withdraw SP 800-67 Revision 2, the specification defining TDEA itself, effective January 1, 2024. After that date, TDEA is no longer an approved block cipher for protecting new data. It remains permitted only for decrypting, key unwrapping, and MAC verification of data that was already protected before the cutoff.

The withdrawal was not a surprise decision. NIST first signaled the retirement in draft guidance published July 19, 2018, giving vendors and enterprises roughly five years of public notice before the disallowance took effect. The gap between the 2018 draft and the 2023 to 2024 enforcement gave the industry time to migrate, though as the deployment examples below show, plenty of legacy systems missed that window.

How Does 3DES Differ From the Original DES?

DES is a symmetric-key algorithm with a single 56-bit key, which brute-force hardware overtook decades ago. 3DES was designed to extend DES’s useful life without changing its hardware, by chaining the same DES algorithm through three passes, typically encrypt with key 1, decrypt with key 2, then encrypt again with key 3 (the “EDE” construction). Used with three genuinely independent keys, this gives an effective key strength of about 112 bits rather than the theoretical 168 bits, because of a known meet-in-the-middle reduction against triple encryption. That extra key strength bought 3DES another two decades of service, but it never changed the underlying 64-bit block size, and that block size is the property that eventually caught up with it.

What Is the Sweet32 Vulnerability?

Sweet32 is a birthday bound collision attack, tracked as CVE-2016-2183 for TLS and CVE-2016-6329 for OpenVPN, that lets an attacker recover plaintext from any 64-bit block cipher, including 3DES and Blowfish, once enough data has been encrypted under a single key. Researchers Karthikeyan Bhargavan and Gaetan Leurent of INRIA published the attack at ACM CCS 2016 and documented it at sweet32.info.

The mechanism is a straightforward application of the birthday problem to block cipher output. With a 64-bit block, an attacker who can observe roughly 2^32 blocks (about 32GB) of ciphertext encrypted under one key starts to see block collisions, and those collisions leak information about the underlying plaintext through an XOR relationship between colliding blocks. In the researchers’ proof-of-concept against HTTPS, an attacker who could inject malicious JavaScript into a victim’s browser to generate long-lived encrypted traffic recovered a 16-byte authentication cookie after collecting around 785GB of data, a feasible amount over a long-lived connection kept open for under two days. AES’s 128-bit block gives a birthday bound so far beyond practical reach (around 2^64 blocks) that the same attack does not apply.

Sweet32 matters for the deprecation timeline because it turned an abstract, long-range cryptographic weakness into a demonstrated, reproducible attack against real protocols. It is the practical evidence behind NIST’s compliance deadline, not a separate, unrelated finding.

How Do You Choose a Replacement Algorithm?

For nearly every use case that currently runs 3DES, the direct replacement is AES-256, selected by data state and protocol rather than by habit.

  • Data in transit (TLS, VPN tunnels, messaging): use AES-256-GCM, an authenticated encryption mode that provides confidentiality and integrity together. It is the default recommendation in TLS 1.2 and the only general-purpose AEAD family carried forward into TLS 1.3.
  • Data at rest (disks, databases, backups): use AES-256 in XTS mode, purpose-built for block storage encryption, or AES-256-GCM where authenticated encryption of discrete records is required.
  • Software-only environments without AES-NI: use ChaCha20-Poly1305, an AEAD cipher that performs well in pure software and needs no dedicated hardware instruction set, making it a reasonable alternative on older or constrained CPUs.
  • Payment card and tokenization systems that must preserve a fixed field length or format: evaluate NIST-approved format-preserving encryption (FF1 or FF3-1) rather than assuming 3DES’s block behavior can be swapped out for AES without touching the surrounding data format.

Avoid picking a mode by default. AES in ECB mode leaks patterns in the plaintext and should never be used; AES-CBC needs a separate message authentication code layered on top to avoid the padding oracle class of attacks (Lucky 13, POODLE) that hit CBC-based TLS ciphers in the past. GCM and XTS exist specifically so implementers do not have to assemble that protection by hand.

What Is the Real-World Threat Model for 3DES Today?

The practical risk from continued 3DES use depends heavily on how the cipher is deployed, not just on the fact that it is deprecated.

  • High-volume, long-lived, network-observable connections (a TLS session or VPN tunnel that stays open and carries tens of gigabytes under one key) are the scenario Sweet32 actually targets, and the one where 3DES presents a demonstrated, exploitable risk today.
  • Low-volume, offline, or air-gapped uses (a single encrypted file, a batch export, an isolated legacy interface with no attacker-controlled traffic generation) fall well short of the birthday bound in practice, which is why NIST still permits legacy decryption rather than mandating immediate re-encryption of every historical 3DES artifact.
  • Compliance risk applies regardless of traffic volume. Auditors checking against PCI DSS, FIPS 140-3 validation, or NIST-aligned internal policy will flag any 3DES encryption of new data as non-compliant after December 31, 2023, independent of whether Sweet32 is practically exploitable in that specific deployment.

The honest threat model, then, has two distinct drivers that point to the same conclusion: a cryptanalytic one (Sweet32, worst in high-volume network protocols) and a compliance one (the NIST disallowance, which applies uniformly). Either driver alone justifies migration; together they remove any case for keeping 3DES in new designs.

How Do You Migrate From 3DES to AES?

A 3DES to AES migration is a sequencing problem more than a coding problem. The steps below are the order that avoids breaking interoperability mid-project.

  1. Inventory every 3DES use. Locate 3DES in TLS cipher suite configuration, VPN policies, database and file encryption settings, HSM key ceremonies, and application code, including vendor and firmware components that may hardcode it. A cryptographic discovery tool such as CBOM Secure finds these instances across code, certificates, and key stores instead of relying on manual audits.
  2. Classify each use by data sensitivity, protocol, and counterparty. A TLS listener you control end to end migrates differently than a payment network interface where the counterparty also has to move.
  3. Select the AES mode and key size for each use using the guidance above (GCM for transit, XTS for at rest, ChaCha20-Poly1305 where AES-NI is absent).
  4. Test interoperability against every counterparty and client that must also support the new cipher, including older TLS clients, legacy HSM firmware, and third-party integrations that may need their own upgrade first.
  5. Stage a dual-support cutover window where both 3DES and AES are offered, defaulting to AES, so that unmigrated counterparties are visible in logs before you force the cutover.
  6. Re-key downstream systems and generate new AES keys under proper key-management controls rather than deriving them from the old 3DES key material.
  7. Decommission 3DES for new encryption once the dual-support window shows no remaining AES-incapable clients, while retaining the ability to decrypt legacy 3DES-protected data as NIST guidance still allows.
  8. Document the change for compliance evidence, since auditors will want dated proof that new encryption stopped using 3DES by the applicable deadline.

Performance and Interoperability Trade-offs With Legacy Systems

3DES was already the slower option even before it was deprecated, because it runs the DES algorithm three full times per block. AES is faster on nearly all modern hardware, particularly with AES-NI, the dedicated CPU instruction set present in virtually every server and desktop processor shipped since the early 2010s, which accelerates AES encryption and decryption in hardware. Where AES-NI is unavailable, such as some embedded controllers and older microcontrollers, ChaCha20-Poly1305 is typically the faster software-only alternative to either cipher.

Performance is rarely the hard part of a 3DES migration; interoperability with legacy hardware is. Point-of-sale terminals and ATM networks are frequently certified against a specific cipher list, sometimes tied to a PCI PTS device approval that explicitly names 3DES DUKPT (Derived Unique Key Per Transaction). Mainframe applications and older HSM firmware may not expose AES modes through their existing API without a firmware or software upgrade that the vendor no longer prioritizes for end-of-life hardware. Field-deployed devices, industrial control systems, and some IoT hardware were built with 3DES baked into firmware that cannot be remotely updated at all. In each of these cases, the algorithm decision is downstream of a hardware and vendor-support decision, which is why migration timelines for legacy estates typically run in years, not weeks.

What Are the Key-Management Dependencies During Migration?

Retiring 3DES touches key management more than it touches the cipher itself, and this is usually the part organizations underestimate.

  • Key hierarchy redesign: 3DES deployments, especially in payment networks, commonly use double-length or triple-length key bundles with key check values (KCVs) for verification. AES keys are single, fixed-length values, so the surrounding key hierarchy, storage format, and verification tooling built around 3DES key bundles need to be redesigned, not just re-populated.
  • HSM key ceremonies: where 3DES keys were generated and injected through formal, witnessed key ceremonies, the AES replacement keys typically need an equivalent ceremony, especially under PCI or FIPS 140-3 governed environments where key custody evidence is an audit requirement.
  • PIN block and card-data formats: payment systems using ISO 9564 PIN block formats built around DES/3DES operations (including PIN translation between acquirer and issuer) require careful format mapping when the underlying cipher changes, since the PIN block format itself, not only the cipher, is part of the interoperability contract between parties.
  • Key custody continuity: decommissioning old 3DES keys must not happen before every system that still needs to decrypt legacy 3DES-protected data has a documented, tested path to do so. NIST’s continued allowance for legacy decryption exists precisely because historical data does not disappear on the disallowance date.
  • Crypto-agility for the next transition: organizations that treat this as a one-time 3DES-to-AES swap often rebuild the same rigidity that made the 3DES migration painful. Building the new key architecture with the current and future post-quantum transition in mind avoids repeating this project again in a few years.

3DES vs. AES-256: Side-by-Side Comparison

Property3DES (Three-Key TDEA)AES-256
Key size168 bits nominal, about 112 bits effective256 bits
Block size64 bits128 bits
Security marginVulnerable to birthday bound collisions (Sweet32) around 2^32 blocks (about 32GB) under one keyBirthday bound around 2^64 blocks; not practically reachable
PerformanceSlow; three sequential DES passes per block, no dedicated hardware accelerationFast; hardware-accelerated via AES-NI on modern CPUs
Current NIST statusDisallowed for new encryption after December 31, 2023 (SP 800-131A Rev. 2); SP 800-67 Rev. 2 withdrawn January 1, 2024; legacy decryption still permittedApproved (FIPS 197); the standard recommendation for new symmetric encryption

Where Is 3DES Still Deployed Today?

3DES has not disappeared from production environments just because it was disallowed. The most common places it still turns up:

  • Payment terminals and ATM networks using 3DES DUKPT for PIN encryption, often because the physical terminal hardware was certified years ago against a fixed cipher list and has not been replaced.
  • Mainframe applications where 3DES was hardcoded into COBOL or similar legacy application code decades ago and has never been revisited because the application still functions.
  • Older HSMs and key management appliances running firmware versions that predate AES support in the specific API the integrating application calls, even when the HSM hardware itself supports AES.
  • Legacy VPN and IPsec gateways configured with 3DES cipher suites that were never updated after initial deployment, frequently discovered only when a security assessment or penetration test flags the configuration.
  • Embedded and industrial control system devices with firmware that cannot be remotely updated, where replacing the cipher means replacing the physical device.

Each of these categories shares a common trait: the barrier to migration is rarely the AES algorithm itself, but the hardware, firmware, or vendor-support constraints wrapped around it.

Tailored Encryption Services

We assess, strategize & implement encryption strategies and solutions.

Limitations

This guidance describes what NIST publishes and what the Sweet32 research demonstrated; it does not replace a specific compliance determination for your environment. A few limits worth stating directly:

  • NIST guidance governs U.S. federal systems and is widely adopted as a private-sector benchmark, but organizations under other regulatory regimes (PCI DSS council guidance, regional data protection law, sector-specific mandates) should confirm their own applicable deadlines rather than assuming NIST’s dates apply verbatim.
  • Sweet32’s practical impact depends on traffic volume and connection lifetime, as described in the threat model section; it is not evidence that every 3DES deployment is actively being exploited today, only that the attack is demonstrated and reproducible under realistic conditions.
  • Legacy decryption of previously protected 3DES data remains allowed under current NIST guidance, but that allowance is not indefinite by design; NIST can revise this position in future publications, so organizations with large volumes of legacy 3DES-encrypted data should not treat the current exception as permanent.
  • Hardware and firmware constraints on legacy systems are highly specific to each vendor and device; the deployment examples above are common patterns, not an exhaustive list of every environment where 3DES may still be found.

What Would Encryption Consulting Recommend?

Start with discovery, not with a cipher swap. Most organizations that come to us with a 3DES question do not actually know how many systems still use it. Our cryptographic inventory work, which CBOM Secure is built to automate, scans code repositories, certificate stores, HSMs, and network configurations to produce a real, evidence-backed list of where 3DES (and every other deprecated algorithm) still lives, rather than relying on whatever the team remembers configuring five years ago.

From there, we treat the migration as a crypto-agility exercise rather than a one-off fix. The organizations that struggle most with 3DES retirement are the ones that hardcoded algorithm choices into applications, firmware, and key hierarchies with no abstraction layer to swap them out later, which is exactly the same rigidity that will make the next transition, to post-quantum algorithms, just as painful if it is not addressed now. Our crypto-agility approach and Encryption Advisory engagements are built to fix that root cause: inventory first, then a prioritized migration plan sequenced by risk (start with high-volume, network-exposed 3DES uses where Sweet32 is a live concern), then a key-management architecture that can absorb the next algorithm change without another multi-year fire drill.

Conclusion

3DES’s retirement is not a future event to plan around; it already happened. NIST disallowed new 3DES encryption after December 31, 2023, and withdrew the specification that defined it on January 1, 2024, backed by nearly a decade of cryptanalytic pressure culminating in the demonstrated Sweet32 attack. AES-256 is the direct, well-supported replacement for essentially every use case 3DES ever covered, and the real work left is not choosing an algorithm but finding every system still running the old one and untangling the key management built around it. Start with an honest inventory, sequence the migration by where Sweet32’s threat model is realistic first, and build the replacement so the next algorithm transition does not require the same scramble.

Frequently Asked Questions

When exactly did NIST disallow 3DES?
NIST SP 800-131A Revision 2 deprecated three-key TDEA (3DES) encryption for new applications through December 31, 2023, and disallowed it after that date. NIST reinforced this by formally withdrawing SP 800-67 Revision 2, the specification defining TDEA, effective January 1, 2024. After that date, 3DES is not an approved cipher for new encryption, though decrypting data that was already protected with it is still permitted.

What is Sweet32, and does it affect every 3DES use?
Sweet32 (CVE-2016-2183 for TLS, CVE-2016-6329 for OpenVPN) is a birthday bound collision attack against 64-bit block ciphers, published by Bhargavan and Leurent at ACM CCS 2016. It is most practical against high-volume, long-lived, network-observable connections that encrypt tens of gigabytes under a single key, such as a TLS session kept open long enough for an attacker to generate that much traffic. Low-volume or offline 3DES uses fall well short of the data threshold the attack needs, though NIST’s disallowance applies to new encryption regardless of traffic volume.

Can we still use 3DES to decrypt old data?
Yes. Current NIST guidance permits using 3DES for decryption, key unwrapping, and verification of message authentication codes on data that was already protected before the disallowance took effect. What is disallowed is applying new 3DES encryption going forward, not accessing historical data that was already encrypted with it.

What should replace 3DES?
AES-256 is the standard replacement: AES-256-GCM for data in transit and for records needing authenticated encryption, AES-256-XTS for block storage encryption. Where AES-NI hardware acceleration is not available, ChaCha20-Poly1305 is a strong software-only alternative. Format-preserving encryption (FF1 or FF3-1) is the option to evaluate when a payment or tokenization system must keep a fixed field length or format.

What is the hardest part of migrating legacy payment or mainframe systems off 3DES?
Key management, not the algorithm swap itself. Payment networks in particular built key hierarchies, HSM key ceremonies, and PIN block formats around 3DES’s double-length and triple-length key structures, and those need redesigning rather than simple substitution. Hardware constraints, certified point-of-sale terminals, older HSM firmware, and non-updatable embedded devices, are usually the second-hardest constraint, which is why legacy migrations typically run in years rather than a single project sprint.

References