User:Closeapple/info/Comparison of ZIP file archiver support
Appearance
Archivers in the chart are chosen primarily by how widespread they have been; the chart can be used to get an idea of what features of ZIP files can be expected to be generally available. It is not intended to be a "me-too" list for every archiver available.
Version notes
[edit]- 7-Zip:
- Info-ZIP:
- Info-ZIP's Zip 1.1 was the last version to support creating Shrinking and Imploding, and is probably therefore the last easily-available program to do so.
- As of 2009[update], Info-ZIP's Zip 2.32 and UnZip 5.52 were the most widespread versions on most Linux distributions. Zip 2.32's man page explicitly says it supports only store (method 0) and deflate (method 8). Some binary distributions of UnZip 5.52 have USE_UNSHRINK (method 1) and USE_DEFLATE64 (method 9).
- Info-Zip's Zip 3.0 and UnZip 6.0 are the newest, but not as widespread yet. Both Zip 3.0 and UnZip 6.0 mention bzip2 (method 12) support in their new features lists.
- PKZIP:
- Windows Explorer:
- Windows has had native support for ZIP files since Windows Me, and support was also included in the Windows 98 Plus! pack.[2] Windows 98 Plus! and Windows Me sometimes saves ZIP passwords in the clear to the file Dynazip.log in the main Windows directory.[3][4]
- Windows 2000 does not have native support.[citation needed]
- Windows XP has support.[5]
- Windows Vista and Windows Server 2008 can compress with Deflate64.[6]
- Windows Vista and Windows 7 cannot decrypt ZIP files natively, even files encrypted with previous versions of Windows Explorer.[7]
- WinZip is the software that first introduced compression methods 96 (12.0), 97 (11.0), and 98. As of 28 October 2009[update], the latest WinZip is 14.0 and the latest with new compression methods is 12.0 with LZMA[8] and Compressed JPEG.[9] 12.1 introduced the extension .zipx for ZIP files with nontraditional compression.
Compression methods
[edit]The most important methods for widespread support are 8 then 0. As of 2009[update], far third might be 9.
- Method 0 (Store) is no compression, and is not listed in the chart; all programs can at least read it.
- Methods 2–5 (Reduce) usually only exist in files created in 1989 by PKZIP prior to 1.01. Wikipedia PKZIP article implies that Reduce became decompress-only in PKZIP 1.01.[citation needed] Info-ZIP FTP site file claims: unreduce algorithm used in some early beta versions of PKZIP 2.0 and described in PKWARE's appnote.txt ... was never used in the "real" world[10]
- Method 8 (DEFLATE) is the compression method used by every ZIP archiver since 1993; support for this method is, as a practical matter, mandatory for compatibility with other ZIP archivers and the majority of ZIP files publicly available.
- Method 9 (Deflate64) is called "enhanced deflate" by some software; PKWare claims a trademark on the name "Deflate64".
- Method 10 (DCL Imploding) is sometimes referred to as "old IBM TERSE" in documentation, in contrast to method 18.
- Method 12 (bzip2) was introducted with PKZIP and SecureZIP 6.0.[11]
- Method 18 (IBM TERSE) is sometimes referred to as "new IBM TERSE" in documentation, to distinguish from method 10.
- Method 20 (Zstandard) was added to the PKZIP APPNOTE with version 6.3.7 in 2020, but as of June 2020[update], WinZip identifies it as method 93.[12]
- Method 93: see method 20 above.
- Method 95 (XZ) is sometimes called "LZMA2". It was not supported in ZIP by 7-Zip until 15.05,[1] despite the 7-Zip author also being the inventor of LZMA2.
- Method 96 (Compressed JPEG) is a recompression method first introducted in WinZip 12.
- Method 98 (PPMd Version I revision 1) was not supported as a writable format in ZIP by 7-Zip 4.65 despite PPMd being supported in 7-Zip's native 7z format. It is supported from 9.11 on.
Older software versions in this table are those historically significant to the coverage of ZIP support, and/or were the last of their kind to support one of the old Implode or Reduce methods.
Program | Shrink (1) |
Reduce (2–5) |
Impl. (6) |
Token (7) |
Deflate (8) |
Def64 (9) |
DCL (10) |
bzip2 (12) |
LZMA (14) |
TERSE (18) |
LZ77 (19) |
zstd (20) |
XZ (95) |
CJPEG (96) |
WavPack (97) |
PPMd (98) |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
7-Zip 4.61 | Read | ? | ? | ? | Yes | Yes | ? | Yes | Yes | ? | ? | No | No | ? | ? | ? |
7-Zip 9.07 | Read | ? | Read | ? | Yes | Yes | ? | Yes | Yes | ? | ? | No | No | ? | ? | No |
7-Zip 9.11 | Read | No | Read | ? | Yes | Yes | ? | Yes | Yes | ? | ? | No | No | ? | ? | Yes |
7-Zip 15.05 | Read | No | Read | ? | Yes | Yes | ? | Yes | Yes | ? | ? | No | Yes | ? | ? | Yes |
Info-UnZip 5.52u | Read | Non-free Patch[10] | Read | No | Read | Read | No | No | No | No | No | No | No | No | No | No |
Info-UnZip 6.0u | Read | Non-free Patch[10] | Read | No | Read | Read | No | Read | No | No | No | No | No | No | No | No |
Info-Zip 1.1az | Write | No | Write | No | No | No | No | No | No | No | No | No | No | No | No | No |
Info-Zip 2.32z | No | No | No | No | Write | No | No | No | No | No | No | No | No | No | No | No |
Info-Zip 3.0z | No | No | No | No | Write | No | No | Write | No | No | No | No | No | No | No | No |
Info-Zip 3.1dz | No[13] | No[13] | No[13] | No[13] | Write[13] | No[13] | No[13] | Write[13] | Write[13] | No[13] | No[13] | No | No[13] | No[13] | No[13] | Write[13] |
PKZIP 0.92a | Yes | Yes | No | No | No | No | No | No | No | No | No | No | No | No | No | No |
PKZIP 1.1a | Yes | Read | Yes | No | No | No | No | No | No | No | No | No | No | No | No | No |
PKZIP 2.04ga | Read | Read | Read | No | Yes | No | ? | No | No | No | No | No | No | No | No | No |
PKZIP 2.50D | Read | No | Read | No | Yes | Yes | Some? | No | No | No | No | No | No | No | No | No |
SecureZIP 12.3 | ? | ? | ? | ? | Yes | Yes | Yes | Yes | Yes | ? | ? | ? | No | ? | ? | Yes |
WinZip 12.1–17.5 | ? | ? | ? | ? | Yes[14] | Yes[14] | ? | Yes |
Yes |
? | ? | No[12] | No |
Yes |
Yes |
Yes |
WinZip 18.0–20.5 | ? | ? | ? | ? | Yes[14] | Yes[14] | ? | Yes |
Yes |
? | ? | No[12] | Yes |
Yes |
Yes |
Yes |
WinZip 21–23 | ? | ? | ? | ? | Yes[14] | Yes[14] | ? | Yes |
Yes |
? | ? | No[12] | Yes |
Yes |
Yes |
Yes |
WinZip 24 | ? | ? | ? | ? | Yes | Yes | ? | Yes[12] | Yes[12] | ? | ? | Yes[12] | Yes[12] | Yes[12] | Yes[12] | Yes[12] |
Windows 98 Plus! | ||||||||||||||||
Windows Me | ||||||||||||||||
Windows XP/2003 | Read | Read | Read | ? | Yes | No[6] | No | No | No | No | No | No | No | No | No | No |
Windows Vista | ? | ? | ? | ? | ? | Yes[6] | No | No | No | No | No | No | No | No | No | No |
Windows 7 |
Security features
[edit]- "Old" is the traditional ZIP password encryption from PKZIP 1 and 2; it is now considered easy to crack.
- "WZ-AE" is AE-1 and AE-2, the secure AES encryption method introduced in WinZip 9.0
- "SES-AES" is AES with the secure encryption method introduced in PKZIP/SecureZIP
- "Directory encryption" indicates Central Directory Encryption — the ability to encrypt the headers and directory information itself
Program | Old | WZ-AE | SES-AES | Directory encryption |
---|---|---|---|---|
7-Zip 4.64 | Yes[1] | Yes[1] | Read[1] | ? |
Info-UnZip 5.52u | Read | No | No | No |
Info-Zip 2.32z | Write | No | No | No |
Info-Zip 3.1dz | Write[15] | Write[15] | No | ? |
PKZIP 0.92a | No | No | No | No |
PKZIP 1.1a | 1.x[16] | No | No | No |
PKZIP 2.04ga | Yes | No | No | No |
WinZip 9.0 Beta 3 | Yes | Yes | Read[17] | ? |
Windows 98 Plus! | Yes[3] | No | No | ? |
Windows Me | Yes[3] | No | No | ? |
Windows XP | Yes | No | No | ? |
Windows Vista/7 | No | No | No | ? |
Program | AV |
---|---|
PKZIP 0.92 | No |
PKZIP 1.1 | 1.x |
PKZIP 2.04g | 2.x |
PKZIP 2.50 | 2.x |
Other features
[edit]Program | split (.z01) | volume labels |
---|---|---|
7-Zip 2–16.01 | No[1] | ? |
7-Zip 16.02 | Yes[1] | ? |
Info-UnZip 6.0u | Partial[18] | Read[19] |
Info-Zip 3.0z | Yes[20] | Yes[20] |
PKZIP 0.92 | ? | No |
PKZIP 1.1–2.06 | ? | Yes |
PKZIP 2.50 | ? | Yes |
Notes
[edit]
- ^a Ancient legacy version, but notable because of old features or effect on the ZIP format
- ^D Last version of this program available for MS-DOS
- ^u Unzips only: extracts files from ZIP archives only; does not modify.
- ^z Zips only: modifies ZIP archives only; does not extract.
References
[edit]- ^ a b c d e f g Pavlov, Igor (2015-11-19). "History of the 7-Zip". Retrieved 2015-12-02.
- ^ "Description of Zip (.zip) Files (Q259177)" (1.3 ed.). Microsoft. 2007-01-27. Retrieved 2009-10-28.
- ^ a b c "Microsoft Security Bulletin (MS01-019): Passwords for Compressed Folders are Recoverable". Microsoft TechNet. Microsoft Corporation. 2003-06-23. Retrieved 2010-11-12.
- ^ "Encrypted Compressed Folder Password Saved to Local File (Q265131)" (1.2 ed.). Microsoft. 2007-01-27. Retrieved 2009-10-28.
- ^ "How to create and use compressed (zipped) folders in Windows XP (Q306531)" (2.1 ed.). Microsoft. 2008-11-06. Retrieved 2009-10-28.
- ^ a b c "Compressed folder becomes corrupted when larger than 2 gigabytes (Q301325)". Microsoft Knowledge Base (3.0 ed.). Microsoft Corporation. May 14, 2009. Retrieved 2010-11-10.
In Windows Vista and in Windows Server 2008, compressed folders can be larger than 2 GB. The folders are compressed by the DEFLATE64 algorithm. However, the DEFLATE64 algorithm is not backward compatible with earlier versions of Microsoft Windows.
- ^ GBorn (2010-02-01). "Password Protecting a zip folder in Windows 7". Microsoft Answers. Retrieved 2010-11-10.
- ^ http://www.winzip.com/whatsnew120.htm
- ^ http://www.winzip.com/comp_info.htm
- ^ a b c Info-ZIP un-reduce support requires a source code file that prohibits commercial use. See README.unreduce, dated 2001-01-13, in src/unred550.zip on the Info-ZIP FTP site. Retrieved 2009-10-28.
- ^ "PKWare adds RSA Cryptography across Zip line" (Press release). PKWare. ComputerWire. 2003-01-26. Retrieved 2010-12-17.
- ^ a b c d e f g h i j k l m n o p q r s t u v w x y z aa ab ac "Unsupported Zip Format". Ottawa: WinZip Computing. Retrieved 2020-06-06.
- ^ a b c d e f g h i j k l m n o zip31d/WHATSNEW file in zip31d.zip, InfoZip 3.1d (beta). Retrieved 2016-01-02. "All compression methods (store, deflate, bzip2, LZMA and PPMd) are now included and enabled by default. Other compression methods, in particular enhanced deflate and XZ, may be added in the future."
- ^ a b c d e f g h i j k l m n o p q r s t u v w x "WinZip Feature History". Ottawa, Ontario: WinZip Computing. 15 Jun 2017. Archived from the original on 2017-08-19. Retrieved 2020-06-06.
- ^ a b WHATSNEW file in zip31d.zip, InfoZip 3.1d (beta). Retrieved 2016-01-02. "Zip 3.1 now supports the WinZip implementation of AES. You can now choose between TRADITIONAL (ZipCrypto), AES-128 (128-bit), AES-192 (192-bit), and AES-256 (256-bit) AES encryption."
- ^ Encryption in PKZIP 1.x can be decrypted by later versions, but encryption by later versions cannot be decrypted by 1.x. In addition, later ZIP programs set the version field in ZIP files to "20" when encrypting, causing 1.1 to emit "PKUNZIP: Warning! I don't know how to handle" instead of attempting decryption. (If this is changed by modifying the ZIP data in place, 1.1 still claims the password is wrong on the file even when it is right.)
- ^ Leyden, John (2004-01-21). "Zip file encryption compromise thrashed out". The Register. Retrieved 2010-12-17.
The latest beta of WinZip's software is able to read files wrapped up and encrypted using PKWare's PKZip.
{{cite news}}
: External link in
(help) Links to whatsnew90.htm#beta3 (now dead link) as its own reference.|quote=
- ^ Roelofs, Greg (2008-10-04). "Frequently Asked Questions". Retrieved 2016-09-24.
Extraction is currently supported, however, albeit in a crude manner. First concatenate all of the pieces together (in order!), using whatever command is appropriate for your system
- ^ "UNZIP(1)". Info-ZIP. 2011-03-19. Retrieved 2016-09-24.
- ^ a b "ZIP(1)". Info-ZIP. 2011-03-22. Retrieved 2016-09-24.
zip version 3.0 and later can create split archives. ... In contrast, spanned archives are the original multi-disk archive generally requiring floppy disks and using volume labels to store disk numbers. zip supports split archives but not spanned archives ... Though zip does not update split archives, zip provides the new option -O (--output-file or --out) to allow split archives to be updated and saved in a new archive.
External links
[edit]- "History of the 7-Zip" — 7-Zip history through current stable
- APPNOTE.TXT - .ZIP File Format Specification — PKWARE official ZIP specification
- Info-ZIP APPNOTE-IZ (ZIP format) — Info-ZIP official version ZIP specification, based on PKWARE APPNOTE 6.2.0 with extra commentary and edits
- APPNOTE.TXT 6.2.0 — version referenced by Microsoft Office Open XML Open Packaging Conventions (ECMA-376-2), but ECMA-376 does not support any compression method but 0 (Store) and 8 (Deflate), and does not support any encryption.