Calculate and compare hash values quickly and easily.
Verifying the integrity of files is somewhat tedious, as be default,
one has to calculate the file hash and then compare it to whatever they expected
it to be manually.
This tool makes this comparison a little more comfortable by automatically calculating
the hash value of a file, comparing it with the expected value and highlighting the differences in color.
Additionally, the tool supports multiple different hash functions.
It will detect which hash method was used to create the expected hash value and decide
on the correct value to calculate autonomously.
- Sha224
- Sha256
- Sha384
- Sha512
./hash-cmp -h
./hash-cmp [optional: -q (quiet mode)] <file path> <expected hash>
- 0: Hashes are equal
- 300: Failed to detect hash method
- 400: Hashes are not equal
- a AUR package