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@latestTo 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
validateandhashis SHA-256
To read more check the full documentation.