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 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 |
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.