Network Security

RHash – file hashing and verification utility

RHash is a command-line utility for calculating and verifying file checksums using a wide selection of cryptographic and non-cryptographic hash algorithms. It is designed for users who need to compare files, validate downloads, maintain checksum records, or generate identifiers used by file-sharing applications.

The software brings several hashing functions together in one program, avoiding the need to invoke a separate command for each algorithm. Multiple hashes can be calculated during a single pass over a file, reducing unnecessary disk reads when several digest values are required. RHash also supports recursive directory processing, making it practical for checking collections of files rather than individual documents.

RHash provides flexible output formatting. Checksums can be written in familiar formats or arranged using custom templates, allowing the results to be consumed by other applications and scripts. Its support for magnet links and file-sharing hashes distinguishes it from general-purpose checksum utilities. The project also supplies the LibRHash library, which exposes its hashing functionality to other software.

This is free and open source software.

Key Features

  • Supports CRC32, CRC32C, MD5, SHA-1, SHA-2, SHA-3, Tiger, Whirlpool, RIPEMD-160, and other digest algorithms.
  • Calculates several hash values during a single pass over file contents.
  • Verifies files against previously generated checksum records.
  • Recursively processes directory trees.
  • Generates magnet links for supported file-sharing protocols.
  • Supports ED2K, AICH, BitTorrent BTIH, and DC++ Tiger Tree Hash values.
  • Predefined checksum output formats including SFV and BSD-style records.
  • Custom output formatting for integration with scripts and other tools.
  • Updates checksum files with digests for files not already recorded.
  • LibRHash programming library for using the hashing algorithms in other applications.
  • Cross-platform support – runs on Linux, macOS, and Windows.

Website: github.com/rhash/RHash
Support:
Developer: Aleksey Kravchenko
License: BSD Zero Clause License

RHash help

RHash 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

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