Cryptology Engine

Checksum & Non-Crypto

CRC, Adler32, XXHash and other checksum algorithms

What is Checksum & Non-Crypto?

Checksum algorithms are fast and simple algorithms used to check data integrity. Unlike encryption or hash algorithms, checksum algorithms do not serve a security purpose - they are only used to detect whether data has been corrupted. To make a simple analogy, a checksum is like a control number on a package - it quickly checks whether the package has been damaged. Checksum algorithms are widely used in areas such as file transfer, data storage, and error detection.

Use Cases

  • File transfer verification
  • Data storage checking
  • Network packet checking
  • Error detection
  • Data compression
  • Debugging
Key Features
  • Very fast processing
  • Low memory usage
  • Simple implementation
  • Error detection
  • No security purpose
Algorithm Comparison
Algorithm
Security
Speed
Use Cases
CRC32No cryptographic security; error detection / speed onlyVery Fast
File transferNetwork protocolsFast error detection
CRC64No cryptographic security; error detection / speed onlyVery Fast
File transferNetwork protocolsFast error detection
Adler32No cryptographic security; error detection / speed onlyVery Fast
File transferData compressionFast error detection
XXHash32No cryptographic security; error detection / speed onlyVery Fast
High-performance applicationsLarge file checking
XXHash64No cryptographic security; error detection / speed onlyVery Fast
High-performance applicationsLarge file checking
XXHash128No cryptographic security; error detection / speed onlyVery Fast
High-performance applicationsLarge file checking
XXHash3No cryptographic security; error detection / speed onlyVery Fast
High-performance applicationsLarge file checking
FNV-1a 32-bitNo cryptographic security; error detection / speed onlyVery Fast
Hash tablesBloom filtersFast hashing needs
FNV-1a 64-bitNo cryptographic security; error detection / speed onlyVery Fast
Hash tablesBloom filtersFast hashing needs

* Comparisons are relative to reference/hardware acceleration on 64-bit CPU

CRC (Cyclic Redundancy Check)

Fast and widely used checksum algorithms.

XXHash and FNV

Very fast non-cryptographic hash functions.

Related Standards
  • ISO/IEC 13239 (CRC)
  • RFC 1950 (Adler32)
  • XXHash: Public domain