calculate checksums

Stephen McQuay 691d096a39
default to sha256
4 months ago
check.go allow for spaces in filenames 9 months ago
hash.go advertise supported algo on failure 8 months ago
license updated license file 10 months ago
main.go default to sha256 4 months ago
readme.md update readme 10 months ago

readme.md

cs

concurrently calculate/verify checksums (cs)

It's a simpler version of shasum + md5sum, but concurrently and only with support for md5, sha1, sha256, and sha512.

usage

# create checksums
cs -a 256 < foo.txt
cs foo.txt
cs -a sha1 foo.txt foo.txt foo.txt > checksums.sha1

# verify
cat checksums.sha1 | cs -c 
cs -c checksums.sha1

# both
cs $(find ~/src/mcquay.me | grep  '\.go$') | cs -c