-
Notifications
You must be signed in to change notification settings - Fork 1
Hash
nhash hash
is a command-line utility for calculating hash and checksum fingerprints. It supports a variety of hashing and checksum algorithms, including MD5, SHA-1, SHA-256, SHA-384, SHA-512, CRC32, CRC8, Adler-32, Blake, and SHA-3. The command provides two sub-commands to perform the following operations:
-
nhash hash calc
: This sub-command is used to calculate the hash fingerprint of a given text. You can specify the hash algorithm to use and the text to hash as an argument. The resulting hash fingerprint will be printed to the console. If you want to save the output to a file, you can use the--output
option. -
nhash hash checksum
: This sub-command is used to calculate the checksum fingerprint of a given text. You can specify the checksum algorithm to use and the text to checksum as an argument. The resulting checksum fingerprint will be printed to the console. If you want to save the output to a file, you can use the--output
option.
The nhash hash
command has two sub-commands. Here is the general usage of the command:
nhash hash [command] [options]
To get help on the command and its sub-commands, you can use the --help option:
nhash hash --help
nhash hash calc --help
nhash hash checksum --help
The calc
sub-command is used to calculate the hash fingerprint of a given text. Here is the general usage of the sub-command:
nhash hash calc <text> [options]
The checksum
sub-command is used to calculate the checksum fingerprint of a given text. Here is the general usage of the sub-command:
nhash hash checksum <text> [options]