Great utility for computing hash sums http://rhash.sf.net
  • C 85.7%
  • Python 2.9%
  • Makefile 2.7%
  • Java 2.6%
  • Perl 1.8%
  • Other 4.2%
Find a file
2026-11-23 06:24:46 +03:00
.github Fix: UB in is_acceptable_bit_length() 2026-11-12 15:32:11 +03:00
bindings Version 1.4.6 2025-05-13 23:58:34 +03:00
build Fix #312: Don't run SSE4 code before it is detected 2026-11-19 20:42:48 +03:00
dist Manpage: Improve description of several options 2025-04-16 10:28:37 +03:00
docs Doc: Fix examples in Librhash docs 2026-04-11 11:00:13 +03:00
librhash Fix #310: Correctly use InterlockedCompareExchange() 2026-11-20 13:54:28 +03:00
po Update pt_BR.po 2025-05-16 14:14:57 +03:00
tests Refactoring: remove duplicate tests 2026-11-22 21:55:22 +03:00
.gitignore Fix #312: Don't run SSE4 code before it is detected 2026-11-19 20:42:48 +03:00
calc_sums.c Fix #314: Improve find_embedded_crc32() to avoid pointer underflow 2026-11-15 01:55:15 +03:00
calc_sums.h Librhash: Support extended hash identifiers 2024-12-23 23:39:23 +03:00
ChangeLog Fix: correct broken parsing of config strings on Windows 2026-04-06 20:37:27 +03:00
common_func.c Fix #313: Buffer underflow in str_trim() 2026-11-12 19:38:27 +03:00
common_func.h Fix #309: Ignore BOM in template file 2026-11-15 22:07:31 +03:00
configure Fix #312: Don't run SSE4 code before it is detected 2026-11-19 20:42:48 +03:00
COPYING license: change project license to BSD Zero Clause License 2019-11-28 04:07:29 +03:00
file.c Fix: Ignore path separators types in update mode 2025-05-12 03:13:09 +03:00
file.h Fix: Ignore path separators types in update mode 2025-05-12 03:13:09 +03:00
file_mask.c i18n: fix output in different encodings on win32 2019-11-24 01:45:12 +03:00
file_mask.h windows: correctly align utf8 file paths 2019-11-14 05:04:06 +03:00
file_set.c Fix: Ignore path separators types in update mode 2025-05-12 03:13:09 +03:00
file_set.h refactoring: reword 'hashes' as hash function or message digest 2020-07-10 03:18:37 +03:00
find_file.c Refactoring: Speed up build 2025-02-16 19:30:57 +03:00
find_file.h refactoring: rename call_back -> callback 2019-06-17 03:58:52 +03:00
hash_check.c Fix #318: Use bounded unsigned shifts for hash masks 2026-11-12 19:35:29 +03:00
hash_check.h Refactoring: Use 64-bit hash masks 2024-10-09 21:07:49 +03:00
hash_print.c Fix #334: Escape Unix filenames in SFV header comments 2026-11-21 11:50:03 +03:00
hash_print.h Fix #311: Accept canonical hash names in printf template 2026-10-28 14:20:34 +03:00
hash_update.c Fix #255: Do not interrupt --update on file read error 2024-03-18 01:40:39 +03:00
hash_update.h Honor hash file extension in --update mode 2022-01-03 07:44:04 +03:00
INSTALL.md docs: update installation guide 2018-02-16 23:46:58 +03:00
Makefile Refactoring: Use rhash_update_fd() to hash files 2025-04-19 01:42:32 +03:00
output.c Fix #318: Use bounded unsigned shifts for hash masks 2026-11-12 19:35:29 +03:00
output.h Refactoring: RSH_REQUIRE() macro 2024-10-10 00:46:25 +03:00
parse_cmdline.c Fix: fixes in command line parsing 2026-11-23 06:24:46 +03:00
parse_cmdline.h Fix: fixes in command line parsing 2026-11-23 06:24:46 +03:00
platform.h move file_t functions to file.c 2018-03-02 06:18:41 +03:00
README.md Update README.md - linkfix 2025-11-08 23:19:48 +03:00
rhash_main.c Fix #309: Ignore BOM in template file 2026-11-15 22:07:31 +03:00
rhash_main.h Refactoring: Use rhash_init_multi() to initialize rhash context 2024-10-09 01:33:51 +03:00
version.h Version 1.4.6 2025-05-13 23:58:34 +03:00
win_utils.c Fix: Remove static from array declaration to resolve MSVC error 2025-04-22 11:36:04 +03:00
win_utils.h i18n: fix output in different encodings on win32 2019-11-24 01:45:12 +03:00

RHash

RHash (Recursive Hasher) is a console utility for calculation and verification of magnet links and various message digests, including CRC32, CRC32C, MD4, MD5, SHA1, SHA256, SHA512, SHA3, AICH, ED2K, DC++ TTH, BitTorrent BTIH, Tiger, GOST R 34.11-94, GOST R 34.11-2012, RIPEMD-160, HAS-160, EDON-R, and Whirlpool.

Message digests are used to ensure and verify integrity of large volumes of data for a long-term storing or transferring.

Program features:

  • Ability to process directories recursively.
  • Output in a predefined (SFV, BSD-like) or a user-defined format.
  • Calculation of Magnet links.
  • Updating hash files (adding message digests of files missing in the hash file).
  • Calculates several message digests in one pass.
  • Portability: the program works the same on Linux, Unix, macOS or Windows.

Installation

./configure && make install

For more complicated cases of installation see the INSTALL.md file.

Documentation

Contribution

Please read the Contribution guidelines document.

License

The code is distributed under BSD Zero Clause License.