Network Security

xxHash – fast non-cryptographic hashing

xxHash is a family of high-performance, non-cryptographic hash algorithms designed to process data at speeds approaching memory bandwidth. It is used in applications where rapid hashing and good statistical distribution are important, including hash tables, data indexing, duplicate detection, and integrity checking.

Unlike cryptographic hash functions, xxHash is optimised for speed rather than resistance to deliberate attacks. Its algorithms produce deterministic results that remain consistent across supported platforms, including systems with different byte orders. This makes the software useful when applications need to generate reproducible identifiers or compare data efficiently.

The project provides both a hashing library and the xxhsum command-line utility. The library supports processing complete memory buffers or calculating hashes incrementally as data arrives. The command-line utility makes the algorithms available for hashing files, checking previously generated checksums, and benchmarking performance. The XXH3 family is designed to perform particularly well with both short inputs and large blocks of data.

This is free and open source software.

Key Features

  • XXH32 algorithm producing 32-bit hash values.
  • XXH64 algorithm producing 64-bit hash values.
  • XXH3 algorithm supporting 64-bit and 128-bit hash values.
  • Vectorised processing using supported CPU instruction sets.
  • Streaming API for hashing data incrementally.
  • Deterministic hash results across different processor architectures and byte orders.
  • xxhsum command-line utility for calculating and verifying file checksums.
  • Benchmarking facilities for evaluating hashing performance.
  • Statistical quality testing through SMHasher and additional collision tests.
  • Library interfaces for incorporating hashing into other applications.
  • Cross-platform support – runs on Linux, macOS, and Windows.

Website: github.com/Cyan4973/xxHash
Support:
Developer: Yann Collet
License: BSD 2-Clause ‘Simplified’ License

xxHash is written in C. Learn C with our recommended free books and free tutorials.


Related Software

CLI Data Hashing Tools
xxHashNon-cryptographic hash algorithm
b3sumImplementation of the BLAKE3 hash function
RHashCalculate and verify magnet links and various message digests
md5sumCompute and check MD5 message digest; part of GNU Coreutils
cfvTest and create checksum files
JacksumWork with checksums, CRCs, and message digests
md5Generate / check MD5 message digest
digupUpdate md5sum or shasum digest files
cksumCompute and verify file checksums
HashratHash-generation utility
Directory ChecksumRecursively calculate checksums for directory contents
paqFast BLAKE3 hashing tool for files and directories
ddgstHashing and checksum utility
QCalcFileHashHash calculator
hashdirChecksum directories and files
Hash CalculatorCalculates around 50 cryptographic hashes of strings and files
danoHashdeep/md5tree for media files
sha3sumKeccak, SHA-3, SHAKE, and RawSHAKE checksum utilities
luhaSimple file checksum tool
filepackFile hashing and verification
bitratFast file checksum tool supporting multiple hash algorithms
b2sumCalculate BLAKE2 checksums
Additional tools:
hashitGenerate file hashes quickly
hashdeepGenerate and verify file hashes
cksfvCreate and check sfv listings using CRC32 checksums
cksfv.rsReimplements the classic cksfv tool

Read our verdict in the software roundup.


Best Free and Open Source Software LinuxLinks helps you discover the best free and open source software for Linux. Explore our extensive collection of recommended applications, including alternatives to popular proprietary software.

We also publish software reviews, Linux tutorials, hardware reviews, free programming books and articles covering the wider open source community. Browse our Linux resources to discover more.

Know a useful free and open source Linux application we haven't covered? Suggest a program for inclusion.

Has your software been featured on LinuxLinks? Display one of our Featured on LinuxLinks badges on your website or GitHub README.
Subscribe

Please read our Comment Policy before commenting.

Notify of
guest
0 Comments
Oldest
Newest Most Voted