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 | |
|---|---|
| xxHash | Non-cryptographic hash algorithm |
| b3sum | Implementation of the BLAKE3 hash function |
| RHash | Calculate and verify magnet links and various message digests |
| md5sum | Compute and check MD5 message digest; part of GNU Coreutils |
| cfv | Test and create checksum files |
| Jacksum | Work with checksums, CRCs, and message digests |
| md5 | Generate / check MD5 message digest |
| digup | Update md5sum or shasum digest files |
| cksum | Compute and verify file checksums |
| Hashrat | Hash-generation utility |
| Directory Checksum | Recursively calculate checksums for directory contents |
| paq | Fast BLAKE3 hashing tool for files and directories |
| ddgst | Hashing and checksum utility |
| QCalcFileHash | Hash calculator |
| hashdir | Checksum directories and files |
| Hash Calculator | Calculates around 50 cryptographic hashes of strings and files |
| dano | Hashdeep/md5tree for media files |
| sha3sum | Keccak, SHA-3, SHAKE, and RawSHAKE checksum utilities |
| luha | Simple file checksum tool |
| filepack | File hashing and verification |
| bitrat | Fast file checksum tool supporting multiple hash algorithms |
| b2sum | Calculate BLAKE2 checksums |
| Additional tools: | |
| hashit | Generate file hashes quickly |
| hashdeep | Generate and verify file hashes |
| cksfv | Create and check sfv listings using CRC32 checksums |
| cksfv.rs | Reimplements the classic cksfv tool |
Read our verdict in the software roundup.
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. |


Please read our Comment Policy before commenting.