#hashing #checksum #file-checksum #data-integrity #sha-256 #downloaded #comparing

bin+lib checkasum

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

9 releases (stable)

3.0.0 Apr 7, 2024
2.2.0 Jun 20, 2022
1.1.1 Jun 18, 2022
1.1.0 Jul 6, 2021
0.1.1 Jun 11, 2020

#5 in #comparing

Download history 2/week @ 2024-02-17 4/week @ 2024-02-24 2/week @ 2024-03-02 7/week @ 2024-03-30 128/week @ 2024-04-06

135 downloads per month

MIT license

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

~1.8–2.6MB
~52K SLoC