Hash Calculator

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:
|
-o |
Speficies the output format, this is optional. Following values are permitted:
|
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