Hash Calculator is a command-line utility for calculating and examining hash values associated with files and text strings. It supports a broad selection of cryptographic and non-cryptographic algorithms and provides additional functions for searching files by their hashes and examining portions of larger files.
The software can calculate a digest for a complete file or restrict the calculation to a selected byte range. This is useful when comparing particular regions of large files or checking data where only part of the content is relevant. Directory processing allows checksums to be calculated for collections of files, with filters used to select the material to examine.
Hash Calculator also provides dictionary-based searches for candidate input strings that match a known digest. These operations can use multiple CPU threads and, for supported algorithms, GPU acceleration. The software estimates the work required for such searches, helping users assess their computational cost. A separate query interface provides a structured way to express operations involving files, directories, metadata, and hashes.
This is free and open source software.
Key Features
- Supports approximately 70 hashing and checksum algorithms.
- Calculates digests of text strings and complete files.
- Hashes selected portions of files using configurable offsets and lengths.
- Recursive directory hashing with filename filtering.
- Verifies file contents against expected hash values.
- Searches directories for files matching known complete or partial digests.
- Dictionary-based search for candidate strings matching specified hashes.
- Multithreaded processing for dictionary searches.
- GPU-assisted searches using supported CUDA and OpenCL devices.
- Configurable digest output using hexadecimal or Base64.
- SFV-compatible output for CRC checksums.
- LINQ-style hash query language for structured file and digest operations.
- Performance estimation for hash search operations.
Website: github.com/aegoroff/hc
Support:
Developer: Alexander Egorov
License: GNU Lesser General Public License v3.0

Hash Calculator is written in C and Assembly. Learn C with our recommended free books and free tutorials. Learn Assembly 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.