Main | DelTree | ExtractResources | Hash | IntegrityCheck | Jigoku Sudoku | Rays | Rubik's cube About

Hash



This command-line application allows you to determine the hash of files.


Download

Hash v1.40 (32-bit)
Size = 93098 bytes
CRC-32 = c7783c5f
MD5 = 21d2c1b8101f1c4dfee64fc142410105
SHA2-256 = 7eb48503b96c1ef378e88a98b8282628bf7377714d3d4013a7f25b5737e55c54

Hash v1.40 (64-bit)
Size = 92617 bytes
CRC-32 = e0c8dfa5
MD5 = 4c034732c82a964d79d7aee350381603
SHA2-256 = 1f6e3277e0d2500243e85733e378de72136041b8d320c164d14a36f177f5fa99


Version history

v1.40 (07-May-2017)
- Blake2-128 has been added as hasing function.
- Blake2-160 has been added as hasing function.
- Blake2-224 has been added as hasing function.
- Blake2-256 has been added as hasing function.
- Blake2-384 has been added as hasing function.
- Blake2-512 has been added as hasing function.

v1.31 (26-Feb-2017)
- MD6-160 has been added as hasing function.
- MD6-224 has been added as hasing function.
- MD6-384 has been added as hasing function.

v1.30 (22-Feb-2017)
- MD6-128 has been added as hasing function.
- MD6-256 has been added as hasing function.
- MD6-512 has been added as hasing function.

v1.21 (21-Jul-2015)
- The KECCAK hash functions didn't work if you specified them uniquely (using -hash=ALL did work).

v1.20 (05-Jun-2015)
- NIST made a change to the padding of SHA-3. The hash calculations have been updated.
- The hash how it was before the NIST change is also still available under the name KECCAK.

v1.14 (06-Jun-2013)
- MD4 has been added as hashing function.
- Added test vectors on the web page to allow verifying the Hash application works correctly.

v1.13 (21-Feb-2013)
- SHA3-224 has been added as hashing function.
- SHA3-384 has been added as hashing function.

v1.12 (12-Feb-2013)
- SHA3-512 has been added as hashing function.

v1.11 (10-Feb-2013)
- SHA3-256 fully implemented (including salt).

v1.10 (9-Feb-2013)
- The SHA hash names changed a little bit (e.g., SHA-256 is now SHA2-256).
- Preliminary support for SHA3-256 added. Note: salt doesn't work yet for SHA3-256.

v1.09 (20-Nov-2012)
- No longer dependant on Microsoft's Visual C++ run-time libraries (they are now statically linked).

v1.08 (12-Apr-2012)
- Reworked the command-line parameters.
- Added the option to salt the hashes.

v1.07 (28-Jul-2011)
- Whirlpool has been added as hashing function.

v1.06 (21-Jul-2011)
- Initial public version.


Usage

Hash <-hash> [-salt] [-salttype] [-subdirs] [-verbosity] [-rename] <[FILE]> <[DIR]>


Parameters

-hash
The hash function. This parameter can be used multiple times.
Must be one of the following:
ALL various Do all the hash functions
BLAKE2-128 128-bit Blake 2
BLAKE2-160 160-bit Blake 2
BLAKE2-224 224-bit Blake 2
BLAKE2-256 256-bit Blake 2
BLAKE2-384 384-bit Blake 2
BLAKE2-512 512-bit Blake 2
CRC-16 16-bit Cyclic Redundancy Check
CRC-32 32-bit Cyclic Redundancy Check
CRC-64 64-bit Cyclic Redundancy Check
KECCAK-224 224-bit Keccak (SHA-3 with alternate padding)
KECCAK-256 256-bit Keccak (SHA-3 with alternate padding)
KECCAK-384 384-bit Keccak (SHA-3 with alternate padding)
KECCAK-512 512-bit Keccak (SHA-3 with alternate padding)
MD4 128-bit Message Digest v4
MD5 128-bit Message Digest v5
MD6-128 128-bit Message Digest v6
MD6-160 160-bit Message Digest v6
MD6-224 224-bit Message Digest v6
MD6-256 256-bit Message Digest v6
MD6-384 384-bit Message Digest v6
MD6-512 512-bit Message Digest v6
SHA1 160-bit Secure Hash Algorithm v1
SHA2-256 256-bit Secure Hash Algorithm v2
SHA2-512 512-bit Secure Hash Algorithm v2
SHA3-224 224-bit Secure Hash Algorithm v3
SHA3-256 256-bit Secure Hash Algorithm v3
SHA3-384 384-bit Secure Hash Algorithm v3
SHA3-512 512-bit Secure Hash Algorithm v3
Whirlpool 512-bit Whirlpool Algorithm

-salt
The file that contains the salt.

-salttype
Where to apply the salt:
none don't use salt (default)
before add the salt before the data
after add the salt after the data
both add the salt both before and after the data

-subdirs
Go into sub-directories and do all the files and (sub-)directories

-verbosity
The output verbosity:
1 Compact Show the hash
2 Normal Show the hash and the file name (default)
3 Verbose show the hash and the full qualified path

-rename
Rename the file(s) from "filename.ext" to "<HASH>.ext"
If the file already exists, it will be renamed to "<HASH>_<COUNT>.ext"
<COUNT> is a number in the range [00,99]

FILE
One (or multiple) file name(s) for which to calculate the hash

DIR
One (or multiple) directories for which to calculate the hash


Examples

hash -hash=ALL -subdirs "C:\Temp" "D:\My Files\File 1.txt"

hash -verbosity=3 -hash=CRC-32 -hash=Whirlpool "C:\Temp\*.jpg" "C:\My Files\File 1.txt"

hash -hash=SHA1 -hash=SHA2-512 -hash=SHA3-256 -salt="C:\Salt.hex" -salttype=before *.exe


Test vectors

vector of length 0 = ""

BLAKE2-128
  cae66941d9efbd404e4d88758ea67670
BLAKE2-160
  3345524abf6bbe1809449224b5972c41790b6cf2
BLAKE2-224
  836cc68931c2e4e3e838602eca1902591d216837bafddfe6f0c8cb07
BLAKE2-256
  0e5751c026e543b2e8ab2eb06099daa1d1e5df47778f7787faab45cdf12fe3a8
BLAKE2-384
  b32811423377f52d7862286ee1a72ee540524380fda1724a6f25d7978c6fd324
  4a6caf0498812673c5e05ef583825100
BLAKE2-512
  786a02f742015903c6c6fd852552d272912f4740e15847618a86e217f71f5419
  d25e1031afee585313896444934eb04b903a685b1448b755d56f701afe9be2ce
CRC-16
  0000
CRC-32
  00000000
CRC-64
  0000000000000000
KECCAK-224
  f71837502ba8e10837bdd8d365adb85591895602fc552b48b7390abd
KECCAK-256
  c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470
KECCAK-384
  2c23146a63a29acf99e73b88f8c24eaa7dc60aa771780ccc006afbfa8fe2479b
  2dd2b21362337441ac12b515911957ff
KECCAK-512
  0eab42de4c3ceb9235fc91acffe746b29c29a8c366b7c60e4e67c466f36a4304
  c00fa9caf9d87976ba469bcbe06713b435f091ef2769fb160cdab33d3670680e
MD4
  31d6cfe0d16ae931b73c59d7e0c089c0
MD5
  d41d8cd98f00b204e9800998ecf8427e
MD6-128
  032f75b3ca02a393196a818328bd32e8
MD6-160
  f325ee93c54cfaacd7b9007e1cf8904680993b18
MD6-224
  d2091aa2ad17f38c51ade2697f24cafc3894c617c77ffe10fdc7abcb
MD6-256
  bca38b24a804aa37d821d31af00f5598230122c5bbfc4c4ad5ed40e4258f04ca
MD6-384
  b0bafffceebe856c1eff7e1ba2f539693f828b532ebf60ae9c16cbc349902040
  1b942ac25b310b2227b2954ccacc2f1f
MD6-512
  6b7f33821a2c060ecdd81aefddea2fd3c4720270e18654f4cb08ece49ccb469f
  8beeee7c831206bd577f9f2630d9177979203a9489e47e04df4e6deaa0f8e0c0
SHA1
  da39a3ee5e6b4b0d3255bfef95601890afd80709
SHA2-256
  e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
SHA2-512
  cf83e1357eefb8bdf1542850d66d8007d620e4050b5715dc83f4a921d36ce9ce
  47d0d13c5d85f2b0ff8318d2877eec2f63b931bd47417a81a538327af927da3e
SHA3-224
  6b4e03423667dbb73b6e15454f0eb1abd4597f9a1b078e3f5b5a6bc7
SHA3-256
  a7ffc6f8bf1ed76651c14756a061d662f580ff4de43b49fa82d80a4b80f8434a
SHA3-384
  0c63a75b845e4f7d01107d852e4c2485c51a50aaaa94fc61995e71bbee983a2ac
  3713831264adb47fb6bd1e058d5f004
SHA3-512
  a69f73cca23a9ac5c8b567dc185a756e97c982164fe25859e0d1dcc1475c80a6
  15b2123af1f5f94c11e3e9402c3ac558f500199d95b6d3e301758586281dcd26
WHIRLPOOL
  19fa61d75522a4669b44e39c1d2e1726c530232130d407f89afee0964997f7a7
  3e83be698b288febcf88e3e03c4f0757ea8964e59b63d93708b138cc42a66eb3


vector of length 26 = "abcdefghijklmnopqrstuvwxyz"

BLAKE2-128
  82a82a043c4946fa81b9a598a3e8d35b
BLAKE2-160
  fc6b0c4258618654d35aacfc5f863f58140e799b
BLAKE2-224
  7a04e26d7180b9c5e494558dab986f7e8243891a4bb50c45201a16c9
BLAKE2-256
  117ad6b940f5e8292c007d9c7e7350cd33cf85b5887e8da71c7957830f536e7c
BLAKE2-384
  5cad60ce23b9dc62eabdd149a16307ef916e0637506fa10cf8c688430da6c978
  a0cb7857fd138977bd281e8cfd5bfd1f
BLAKE2-512
  c68ede143e416eb7b4aaae0d8e48e55dd529eafed10b1df1a61416953a2b0a56
  66c761e7d412e6709e31ffe221b7a7a73908cb95a4d120b8b090a87d1fbedb4c
CRC-16
  8580
CRC-32
  4c2750bd
CRC-64
  bd64d1afb74aff20
KECCAK-224
  162bab64dc3ba594bd3b43fd8abec4aa03b36c2784cac53a58f9b076
KECCAK-256
  9230175b13981da14d2f3334f321eb78fa0473133f6da3de896feb22fb258936
KECCAK-384
  c5a708ec2178d8c398461547435e482cee0d85de3d75ddbff54e6606a7e9f994
  f023a6033b2bf4c516a5f71fc7470d1a
KECCAK-512
  e55bdca64dfe33f36ae3153c727833f9947d92958073f4dd02e38a82d8acb282
  b1ee1330a68252a54c6d3d27306508ca765acd45606caeaf51d6bdc459f551f1
MD4
  d79e1c308aa5bbcdeea8ed63df412da9
MD5
  c3fcd3d76192e4007dfb496cca67e13b
MD6-128
  4b0f5b70222fcb8e732dfa77f6e9dd59
MD6-160
  140b399a12ff92870627b2f69bb086e74eb1542b
MD6-224
  15566420252c9c71647018f24dc24298568e0f49ea2e3c2d3d8e5660
MD6-256
  1650a8bcf2c9900da8677430c24c42a9d50b8ef001446cee704f05c89f6a840f
MD6-384
  67855e8dfabf29882767505a45176684cf983e70dfc852eb34c5d00529cd4699
  5067a1b3ac7afb2795279779f65a8c51
MD6-512
  65e3f5f92067c92df921c948a32cafadd4e8d06a6da766f45c2f1e5505715248
  f31fd65e38774bac8ca0477dbaccd44f7751df4222a4ce0b5a928e7da1dc4155
SHA1
  32d10c7b8cf96570ca04ce37f2a19d84240d3a89
SHA2-256
  71c480df93d6ae2f1efad1447c66c9525e316218cf51fc8d9ed832f2daf18b73
SHA2-512
  4dbff86cc2ca1bae1e16468a05cb9881c97f1753bce3619034898faa1aabe429
  955a1bf8ec483d7421fe3c1646613a59ed5441fb0f321389f77f48a879c7b1f1
SHA3-224
  5cdeca81e123f87cad96b9cba999f16f6d41549608d4e0f4681b8239
SHA3-256
  7cab2dc765e21b241dbc1c255ce620b29f527c6d5e7f5f843e56288f0d707521
SHA3-384
  fed399d2217aaf4c717ad0c5102c15589e1c990cc2b9a5029056a7f7485888d6
  ab65db2370077a5cadb53fc9280d278f
SHA3-512
  af328d17fa28753a3c9f5cb72e376b90440b96f0289e5703b729324a975ab384
  eda565fc92aaded143669900d761861687acdc0a5ffa358bd0571aaad80aca68
WHIRLPOOL
  f1d754662636ffe92c82ebb9212a484a8d38631ead4238f5442ee13b8054e41b
  08bf2a9251c30b6a0b8aae86177ab4a6f68f673e7207865d5d9819a3dba4eb3b


vector of length 43 = "The quick brown fox jumps over the lazy dog"

BLAKE2-128
  249df9a49f517ddcd37f5c897620ec73
BLAKE2-160
  3c523ed102ab45a37d54f5610d5a983162fde84f
BLAKE2-224
  477c3985751dd4d1b8c93827ea5310b33bb02a26463a050dffd3e857
BLAKE2-256
  01718cec35cd3d796dd00020e0bfecb473ad23457d063b75eff29c0ffa2e58a9
BLAKE2-384
  b7c81b228b6bd912930e8f0b5387989691c1cee1e65aade4da3b86a3c9f678fc
  8018f6ed9e2906720c8d2a3aeda9c03d
BLAKE2-512
  a8add4bdddfd93e4877d2746e62817b116364a1fa7bc148d95090bc7333b3673
  f82401cf7aa2e4cb1ecd90296e3f14cb5413f8ed77be73045b13914cdcd6a918
CRC-16
  5763
CRC-32
  414fa339
CRC-64
  bdfdb17ffd56e217
KECCAK-224
  310aee6b30c47350576ac2873fa89fd190cdc488442f3ef654cf23fe
KECCAK-256
  4d741b6f1eb29cb2a9b9911c82f56fa8d73b04959d3d9d222895df6c0b28aa15
KECCAK-384
  283990fa9d5fb731d786c5bbee94ea4db4910f18c62c03d173fc0a5e494422e8
  a0b3da7574dae7fa0baf005e504063b3
KECCAK-512
  d135bb84d0439dbac432247ee573a23ea7d3c9deb2a968eb31d47c4fb45f1ef4
  422d6c531b5b9bd6f449ebcc449ea94d0a8f05f62130fda612da53c79659f609
MD4
  1bee69a46ba811185c194762abaeae90
MD5
  9e107d9d372bb6826bd81d3542a419d6
MD6-128
  7b428f5ec47e0174faf31dc7c89590c6
MD6-160
  89c6f1da416b8a09a3fd670f091aeddb7c7c8af6
MD6-224
  188528b2add27528c514474ce6150a44df9498f8845a620fdf177295
MD6-256
  977592608c45c9923340338450fdcccc21a68888e1e6350e133c5186cd9736ee
MD6-384
  d850fdde986e16df19d65c50788afd0a8953914a4bc65831f5283c3016b79ddf
  a4a0bc00694e472f4a0bed7da601bb90
MD6-512
  dcba0c6593fbd83a0f5f148588baa79530579c1f5e7f19d500fe282d137bff46
  5106f25c9f0619b4082a730683d5f58311c0c1913068e91b0ebdf9ace3ff5b9e
SHA1
  2fd4e1c67a2d28fced849ee1bb76e7391b93eb12
SHA2-256
  d7a8fbb307d7809469ca9abcb0082e4f8d5651e46d3cdb762d02d0bf37c9e592
SHA2-512
  07e547d9586f6a73f73fbac0435ed76951218fb7d0c8d788a309d785436bbb64
  2e93a252a954f23912547d1e8a3b5ed6e1bfd7097821233fa0538f3db854fee6
SHA3-224
  d15dadceaa4d5d7bb3b48f446421d542e08ad8887305e28d58335795
SHA3-256
  69070dda01975c8c120c3aada1b282394e7f032fa9cf32f4cb2259a0897dfc04
SHA3-384
  7063465e08a93bce31cd89d2e3ca8f602498696e253592ed26f07bf7e703cf32
  8581e1471a7ba7ab119b1a9ebdf8be41
SHA3-512
  01dedd5de4ef14642445ba5f5b97c15e47b9ad931326e4b0727cd94cefc44fff
  23f07bf543139939b49128caf436dc1bdee54fcb24023a08d9403f9b4bf0d450
WHIRLPOOL
  b97de512e91e3828b40d2b0fdce9ceb3c4a71f9bea8d88e75c4fa854df36725f
  d2b52eb6544edcacd6f8beddfea403cb55ae31f03ad62a5ef54e42ee82c3fb35