#checksum #hashing

bin+lib checkasum

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

8 releases (stable)

2.2.0 Jun 20, 2022
2.1.0 Jun 20, 2022
1.1.1 Jun 18, 2022
1.1.0 Jul 6, 2021
0.1.1 Jun 11, 2020

#1948 in Command line utilities

24 downloads per month

MIT license

13KB
221 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

~2–2.8MB
~57K SLoC