CRC vs checksum vs hash
CRCs, additive checksums, cryptographic hashes, and MACs all detect data changes — but only a MAC can prove authenticity, not just accidental corruption.
CRC
CRC is designed for fast detection of accidental corruption and has mathematically defined burst-error properties. It is widely used in links, storage formats, embedded systems, and industrial protocols.
Additive checksum
A simple checksum adds bytes or words, often with carry handling. It is inexpensive but generally detects fewer structured error patterns than a well-chosen CRC.
Cryptographic hash and MAC
A cryptographic hash is designed to resist deliberate collision and preimage attacks. A message authentication code additionally uses a secret key to establish integrity and authenticity. CRC provides neither property.
Apply this reference
Change CRC parameters and compare standard algorithm results using the browser-based calculator.