xxHash is a free and open source fast non-cryptographic hash algorithm checker for Linux and Windows. Using this you can check integrity for large amounts of data, index data, and be used in cryptographic applications like digital signatures.
The xxHash library includes these algorithms:
XXH32: Generates 32-bit hashes
XXH64: Generates 64-bit hashes
XXH3/XXH128: Generates 64 or 128-bit hashes using vectorized arithmetic
Install xxHash on Ubuntu
To install xxHash from Ubuntu’s repositories, open the terminal (Ctrl+Alt+T) and run:
sudo apt install xxhash
To install via PPA:
In the terminal, add the PPA:
sudo add-apt-repository ppa:reviczky/xxhash
Enter your password when prompted. Then run below commands.
sudo apt update
sudo apt install xxhash
Once installed, use xxh32sum, xxh64sum, xxh128sum, or xxhsum to generate hashes.
Example:
xxh128sum <filename>
xxh128sum ubuntu-23.10-desktop-legacy-amd64.iso
xxHash provides lightning-fast non-cryptographic hashing for Ubuntu. With easy installation via APT or PPA, it’s a great tool for data integrity checking and indexing.