Hash Calculator – versatile hashing utility

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 options

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

Read our verdict in the software roundup.


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