User:Closeapple/info/Comparison of ZIP file archiver support

From Wikipedia, the free encyclopedia
Jump to: navigation, search

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:
    • As of 19 November 2015, 15.12 was the current stable version, and has had the same compression support since 15.05 beta.[1]
  • 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, 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:
    • 2.04g was the classic version used in DOS for years, and is the reason for method 8 becoming the practical baseline standard for ZIP support.
    • 2.50 was the last version for MS-DOS.
    • SecureZIP is a brand name for new versions of PKZIP.
  • Windows Explorer:
  • WinZip is the software that first introduced compression methods 96 (12.0), 97 (11.0), and 98. As of 28 October 2009, 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, 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 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.

ZIP compression method support
Program Shrink
(1)
Reduce
(2–5)
Impl.
(6)
Token
(7)
Deflate
(8)
Def64
(9)
DCL
(10)
bzip2
(12)
LZMA
(14)
TERSE
(18)
LZ77
(19)
XZ
(95)
CJPEG
(96)
Wav­Pack
(97)
PPMd
(98)
7-Zip 4.61 Read ? ? ? Yes Yes ? Yes Yes ? ? No ? ? ?
7-Zip 9.07 Read ? Read ? Yes Yes ? Yes Yes ? ? No ? ? No
7-Zip 9.11 Read No Read ? Yes Yes ? Yes Yes ? ? No ? ? Yes
7-Zip 15.05 Read No Read ? Yes Yes ? Yes Yes ? ? Yes ? ? Yes
Info-UnZip 5.52u Read Non-free Patch[10] Read No Read Read 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
Info-Zip 1.1az Write No Write 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
Info-Zip 3.0z No No No No Write No No Write No No No No No No No
Info-Zip 3.1dz No[12] No[12] No[12] No[12] Write[12] No[12] No[12] Write[12] Write[12] No[12] No[12] No[12] No[12] No[12] Write[12]
PKZIP 0.92a Yes Yes 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
PKZIP 2.04ga Read Read Read No Yes 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
SecureZIP 12.3 ? ? ? ? Yes Yes Yes Yes Yes ? ? No ? ? Yes
WinZip 12.1–17.5 ? ? ? ? Yes[13] Yes[13] ? Yes[13] Yes[13] ? ? No[13] Yes[13] Yes[13] Yes[13]
WinZip 18.0 ? ? ? ? Yes[13] Yes[13] ? Yes[13] Yes[13] ? ? Yes[13] Yes[13] Yes[13] Yes[13]
Windows 98 Plus!
Windows Me
Windows XP/2003 Read Read Read ? Yes No[6] No No No No No No No No No
Windows Vista ? ? ? ? ? Yes[6] 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
ZIP encryption method support by program
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[14] Write[14] No ?
PKZIP 0.92a No No No No
PKZIP 1.1a 1.x[15] No No No
PKZIP 2.04ga Yes No No No
WinZip 9.0 Beta 3 Yes Yes Read[16] ?
Windows 98 Plus! Yes[3] No No ?
Windows Me Yes[3] No No ?
Windows XP Yes No No ?
Windows Vista/7 No No No ?
ZIP authentication methods by program
Program AV
PKZIP 0.92 No
PKZIP 1.1 1.x
PKZIP 2.04g 2.x
PKZIP 2.50 2.x

Other features[edit]

miscellaneous ZIP file features by program
Program split (.z01) volume labels
7-Zip 2–16.01 No[1] ?
7-Zip 16.02 Yes[1] ?
Info-UnZip 6.0u Partial[17] Read[18]
Info-Zip 3.0z Yes[19] Yes[19]
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]

  1. ^ a b c d e f g Pavlov, Igor (2015-11-19). "History of the 7-Zip". Retrieved 2015-12-02. 
  2. ^ "Description of Zip (.zip) Files (Q259177)" (1.3 ed.). Microsoft. 2007-01-27. Retrieved 2009-10-28. 
  3. ^ 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. 
  4. ^ "Encrypted Compressed Folder Password Saved to Local File (Q265131)" (1.2 ed.). Microsoft. 2007-01-27. Retrieved 2009-10-28. 
  5. ^ "How to create and use compressed (zipped) folders in Windows XP (Q306531)" (2.1 ed.). Microsoft. 2008-11-06. Retrieved 2009-10-28. 
  6. ^ 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. 
  7. ^ GBorn (2010-02-01). "Password Protecting a zip folder in Windows 7". Microsoft Answers. Retrieved 2010-11-10. 
  8. ^ http://www.winzip.com/whatsnew120.htm
  9. ^ http://www.winzip.com/comp_info.htm
  10. ^ 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.
  11. ^ "PKWare adds RSA Cryptography across Zip line" (Press release). PKWare. ComputerWire. 2003-01-26. Retrieved 2010-12-17. 
  12. ^ 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."
  13. ^ a b c d e f g h i j k l m n o p "WinZip Feature History". Ottawa, Ontario: WinZip Computing. 27 Oct 2015. Retrieved 2015-12-05. 
  14. ^ 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."
  15. ^ 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.)
  16. ^ 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.  Links to whatsnew90.htm#beta3 (now dead link) as its own reference.
  17. ^ 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 
  18. ^ "UNZIP(1)". Info-ZIP. 2011-03-19. Retrieved 2016-09-24. 
  19. ^ 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]