swirl
Home Software Blog Wallpapers Webtools
Hash Calculator

homeHome
Software listSoftware List

Delicious Bookmark this on Delicious

Hash Calculator

zip file Download file (86 KB) [Downloaded 4 times]

Features

  • Calculate hashes for files or plain text.
  • Supports MD5, SHA1, SHA256, SHA384, SHA512
  • Runs on Windows, Linux and MacOS using .NET Core 3.1
  • MIT license, freeware

Usage help

syntax:
hash -t "any text" -a [MD5|SHA1|SHA256|SHA384|SHA512] -o [base64|hex]
hash -f "path to a file" -a [MD5|SHA1|SHA256|SHA384|SHA512] -o [base64|hex]

-t Specifies any arbitrary text whose hash is to be computed.
-f Path to a file whose content's hash is to be computed.
-a Specifies the hashing algorithm:
  • md5
  • sha1
  • sha256
  • sha384
  • sha512
-o Speficies the output format, this is optional. Following values are permitted:
  • base64
  • hex
Hexadecimal notation is used by default.

E.g.1 - Calculate sha1 hash of the sentence hello world:

hash -t "hello world" -a sha1

E.g.2 - Calculate md5 hash of license.txt:

hash -file license.txt -alg md5

Pre-requisite software

Download and install .NET Core 3.1 runtime for your operating system