#checksum #hashing

bin+lib checkasum

A small utility to verify the data integrity of a downloaded file with its expected checksum

4 releases (2 stable)

1.1.0 Jul 6, 2021
1.0.0 Jun 25, 2020
0.1.1 Jun 11, 2020
0.1.0 Jun 11, 2020

#783 in Command line utilities

MIT license

8KB
121 lines

checkasum

checkasum is a simple tool for hashing a file, and comparing the result with a known 'checksum' value. This allows the user to confirm the integrity of a file downloaded from the internet. If the value returned from hashing a file matches the given checksum, then chances are that the file has not been tampered with.

Examples

  • checkasum -m sha256 -p /path/to/file -e somechecksum
  • checkasum --method sha256 --path /path/to/file --expected somechecksum

Dependencies

~6โ€“8.5MB
~217K SLoC

’ยใ`