hashdeep/md5deep (CLI hashing utilities)

Share interesting information or links related to portable apps here.
Post Reply
User avatar
Posts: 4265
Joined: Mon Dec 07, 2009 7:09 am
Location: Sol3

hashdeep/md5deep (CLI hashing utilities)

#1 Post by Midas » Sun Jun 24, 2018 1:15 pm

If you do any research into hashing tools you're bound to come across multi-platform md5deep/hashdeep (http://md5deep.sourceforge.net/), regarded as more or less the standard solution for anything related.
md5deep is a set of programs to compute MD5, SHA-1, SHA-256, Tiger, or Whirlpool message digests on an arbitrary number of files. md5deep is similar to the md5sum program found in the GNU Coreutils package, but has [...] additional features...

md5deep is FLOSS (source is on Github) with a somewhat peculiar license blurb:
At the time md5deep was originally written, Mr. Kornblum was a Special Agent with the United States Air Force Office of Special Investigations (AFOSI). As such, the program is considered to be a work of the United States Government. Under 17 USC 105, works of the United States Government are not eligible for copyright protection.

md5deep is composed of a set of 12 different command line executables, each one geared towards a different hashing method and OS bitness. Documentation is rather extensive.

Download md5deep/hashdeep v4.4, released 2014-01-29, from https://github.com/jessek/hashdeep/releases.

As a contribution for the problem I brought to a recent discussion, here's a quick'n'dirty™ script to use md5deep to hash and sidecar any file dropped on it: :wink:

Code: Select all


:: Conditional clause below is a crude detector of OS bitness
:: Allowing for running the corresponding executable
:: Made by Midas, 2018-06-24
MD5Deep%BOS% -bk "%1" > "%~n1.md5"

Post Reply