Why a reader starts at the end
The last 22 bytes of a zip are the end-of-central-directory record: the number of entries, the size of the central directory and its offset. A reader scans backwards for the signature 50 4B 05 06, jumps to the directory, and only then learns where each file's local header sits. That design is why listing a 4 GB archive is instant: the index is at the end, and no file data is touched.
It also explains the two ways an archive goes wrong in practice. A truncated download loses the end record, so the reader finds nothing even though most of the file is present. A file appended after the end record breaks the offset, so the directory points into the middle of something else. Both are reported here as a specific failure rather than as "invalid zip".
CRC32 is cheap, and that is the point
Every entry stores a 32-bit CRC of its uncompressed bytes, computed with the reflected polynomial 0xEDB88320. It is fast enough to compute while writing and while reading, it detects the kind of damage that a network or a truncated file produces, and it costs four bytes per entry. It is not a security check: a CRC is linear, so a deliberate change can be arranged to keep the same value, and anyone modifying an archive can update both the data and the check.
For integrity against a deliberate change you need a digest, which is why a download page publishes a SHA-256 beside the file. The CRC in the zip is for the archive's own consistency; the digest is for trust.
Deflate, and when storing wins
Method 8 is deflate: a 32 KB sliding window, Huffman codes and a stream of length and distance pairs. The browser exposes the raw stream through CompressionStream("deflate-raw"), which is the same algorithm a native zipper uses and runs at native speed. For a file smaller than a few hundred bytes the header overhead can exceed the saving, and for an already compressed file there is no saving at all, so this writer keeps the smaller of the two and records which method won.
The ratio in the inspector is computed from the sizes in the central directory, not from the bytes on disk, so it reflects what the archive claims. That is what an unzip will act on, and a claim that disagrees with the data is exactly what the CRC check catches.
zip slip, and why this page cannot catch it for you
Entry names are paths as far as some tools are concerned. An archive with an entry named ../../etc/cron.d/job can, on a naive extractor, write outside the folder it was told to use. This is zip slip, and it is a property of the extractor, not of the format: this page never writes an entry to a path, so it cannot be exploited that way, and a server that unpacks uploads must reject any name with .., an absolute path or a backslash before it writes anything.
The names here are written as UTF-8 with the general purpose bit 11 set, which is how every current tool reads a Korean file name correctly. An older extractor that ignores the flag may show mojibake; that is a limitation of the reader, and converting the name to ASCII would hide the file instead of fixing it.
zip64, encryption and the honest refusal
An archive over four gigabytes, or with more than 65,535 entries, uses zip64: the counts and offsets are replaced by a marker and the real values move into extra fields. Reading that correctly is a different code path, so this reader detects the marker and says it does not support zip64 rather than reading half the directory and reporting the rest as damage. Encrypted entries are refused the same way: the flag is visible, and a guess would be worse than a message.
When a binary has to travel through a channel that only carries text, Pikkola Base64 makes the trip. When the question is whether a file is the one you meant, Pikkola Hash answers it.