Skip to content
Aback ZIP

Privacy & security · 9 min read · Updated

AES-256 ZIP Encryption, Explained

What AES-256 actually protects in a password-protected ZIP, how it differs from ZipCrypto, and what the archive still reveals without the password.

AES-256 in a ZIP protects file contents against someone who does not have the password. It does not hide the existence of the archive, its entry names or its approximate size, and it cannot compensate for a weak password. The details of which scheme you use matter more than the number 256.

What AES-256 means in a ZIP

AES is a symmetric block cipher standardised by NIST in FIPS 197. A 256-bit key is a key size, not a measure of how well the archive was put together. In the ZIP world, AES arrives through the WinZip AES extension documented alongside PKWARE's APPNOTE rather than the original ZIP specification. That extension defines how a password becomes a key, how file data is encrypted, and how the result is authenticated.

Two variants are commonly discussed: AE-1 and AE-2. They differ in how the stored size fields are presented. From a security standpoint the important part is that both use a password-based key derivation step and AES encryption, with an authentication code so a wrong password or altered data can be detected.

AES-256 is not the same as PKWARE's strong encryption. Those are different schemes. Aback ZIP supports WinZip AES and ZipCrypto; it does not support PKWARE strong encryption.

ZipCrypto versus WinZip AES

PropertyZipCryptoWinZip AES
Design ageLegacy ZIP encryptionModern extension with key derivation and authentication
Resistance to attackKnown weaknesses; not suitable for sensitive dataDesigned to resist password-guessing when the password is strong
Integrity checkNo cryptographically strong authenticationIncludes an authentication code
Windows Explorer supportGenerally yesGenerally no; use 7-Zip, WinZip, Keka or a similar tool
Best useCompatibility with an old tool that cannot do betterProtecting files you actually care about

The AES versus ZipCrypto guide covers the compatibility trade-off in more detail. In short, choose AES unless you know the recipient can only open legacy ZIP encryption. If you inherit a ZipCrypto archive, treat the protection as weak rather than assuming that the password makes it safe.

What stays visible without the password

This is the point most often missed. An encrypted ZIP is still a ZIP. Its central directory lists entries, and those entries carry names, sizes, timestamps and flags. Encryption applies to file data, not to the archive's table of contents.

  • Entry names and folder paths are visible. A file called Layoffs-2026-Q4.xlsx reveals its subject before anyone decrypts it.
  • Sizes are visible, including approximate compressed sizes. That can hint at the kind of content.
  • Timestamps and entry counts are visible, which can leak timing information.
  • The presence of encryption is obvious from the flags and the extra field, so an attacker knows exactly what they are dealing with.

If names are sensitive, use neutral names before archiving or put files inside a folder with a generic name. Do not rely on the password to hide structure. You can check what an archive exposes by looking at it with a ZIP viewer, which reads metadata without decrypting contents.

Authentication: knowing whether the data changed

Encryption alone does not prove that data was not modified. The WinZip AES extension stores an authentication code derived from the encrypted data. When a tool decrypts an entry, it can compare the result and tell whether the password was wrong or the bytes were altered. That is a different guarantee from the CRC-32 stored in an ordinary ZIP, which is a checksum against accidental corruption and not a defence against deliberate tampering.

For a workflow that needs both confidentiality and integrity, encrypt the archive with AES, keep a separate SHA-256 hash of the finished file, and verify the hash after transfer. A checksum tool can produce hashes for the archive and for each entry without extracting everything to disk.

A CRC match does not prove that a file is authentic. CRC-32 is designed to catch accidental changes, not a determined attacker who can recompute it.

Compatibility before you send

AES-protected ZIPs are widely supported by dedicated applications such as 7-Zip, WinZip and Keka, but not by every built-in file manager. Windows Explorer is the common stumbling block. Before you rely on an encrypted archive, confirm that the recipient can open that specific scheme.

  1. Ask what application the recipient will use, rather than assuming.
  2. Create a small test archive with the same settings and ask them to open it.
  3. Send the password separately, and confirm receipt through a second channel.
  4. If compatibility is impossible, consider a different sharing mechanism rather than falling back to weak encryption.

If you need to produce a protected archive without installing software, the password-protected ZIP walkthrough shows the steps. Once it is created, use Test ZIP Integrity to check that the archive still verifies after transfer.

Putting it in context

Encryption is one control in a chain. It protects stored data, not a compromised endpoint, a phished password or a recipient who forwards the file. It also does nothing about the moment before encryption: if the archive contains files you did not mean to include, the password will not correct that. Review the file list before you protect it. It does nothing about the moment after decryption either: once the recipient opens the files, they can copy them without any restriction the archive might have carried. Think of the encrypted ZIP as a sealed envelope, not as a control over what happens to the letter later. That framing keeps the expectations realistic and helps you decide when a different sharing mechanism, such as a short-lived download link with its own access controls, would fit the job better. Aback ZIP's ZIP security checklist for IT teams places archive encryption alongside the other checks that matter when files arrive from outside your organisation.

Tools for this

Frequently asked questions

No scheme is unbreakable in practice. AES-256 with a strong, unique password is considered strong, but weak or reused passwords, compromised devices and phishing bypass the cryptography entirely.

More posts