14

Does a .zip archive internally maintain a checksum for the files in it?

If it maintains a checksum, how can I be sure the checksum is verified during decompression? And is it possible to verify the checksum without decompressing?

4

1 回答 1

14

Yes, zip holds CRC-32 checksum for each file in archive, and it should verify it during the decompression.

于 2013-06-06T14:57:07.460 回答