Network Security

19 Best Free and Open Source CLI Data Hashing Tools

Hashing is the process of passing data through a formula that produces a condensed fixed-value representation, called a hash value. That hash is typically a string of characters and the hashes generated by a formula are always the same length, regardless of how much data fed into it. For example, the MD5 formula produces 128-bit checksums. It converts data into blocks of specific sizes and manipulates that data a number of times.

For data security applications this requires that the hash function is collision-resistant, which means that it is very hard to find data that will generate the same hash value. Hashing is an important method used for creating a digital signature and for encrypting data.

When you download a file from the internet, it is a good safety practice to check whether you received the original version. Comparing checksums you received from the file creator with the ones you obtain by checking the file yourself is a reliable way to confirm your download’s integrity.

This article represents the best CLI tools for data hashing. We only feature free and open source software. Here’s our verdict.

Ratings chart

Let’s explore the data hashing tools. For each program we have compiled its own portal page, a full description with an in-depth analysis of its features, together with links to relevant resources.

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
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
b2sumCalculate BLAKE2 checksums
cksfvCreate and check sfv listings using CRC32 checksums
cksfv.rsReimplements the classic cksfv tool
hashdeepGenerate and verify file hashes
hashitGenerate file hashes quickly

This article has been updated to reflect the changes outlined in our recent announcement.

Best Free and Open Source Software Explore our comprehensive directory of recommended free and open source software. Our carefully curated collection spans every major software category.

This directory is part of our ongoing series of informative articles for Linux enthusiasts. It features hundreds of detailed reviews, along with open source alternatives to proprietary solutions from major corporations such as Google, Microsoft, Apple, Adobe, IBM, Cisco, Oracle, and Autodesk.

You’ll also find interesting projects to try, hardware coverage, free programming books and tutorials, and much more.

Know a useful open source Linux program that we haven’t covered yet? Let us know by completing this form.
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments