lmchecksum
is a small and simple CLI tool for computing hashes and checking the validity of a checksum.
You can install lmchecksum
using go install
:
go install go.lorenzomilicia.dev/lmchecksum/v2@latest
To check the validity of a checksum run the command:
lmchecksum validate <file name> <checksum>
To generate the hash of a given file, use:
lmchecksum hash <file name>
The default hashing function used for both
validate
andhash
is SHA-256
To read more check the full documentation.