Tech
CRC32 vs SHA-256 vs XXHash: Which Checksum Should You Use?
If you've ever needed to verify a download, find duplicate files, or prove a folder hasn't changed, you've met checksums. But which one should you actually use? The answer changes completely depending on what you're doing.
The three contenders
CRC32 — the old workhorse. Fast, tiny (32 bits), supported everywhere. Built for detecting accidental corruption: bit flips during transfer, truncated downloads. It was never designed to be collision-resistant — two different files can ...
Read the full discussion on Dev.to
This article was aggregated from Dev.to. Click to join the conversation.
View on Dev.to