calculate checksums

Stephen McQuay 691d096a39 default to sha256 2 months ago
check.go 7f3fe3ce4e allow for spaces in filenames 7 months ago
hash.go 20485be72e advertise supported algo on failure 6 months ago
license d01b28973b updated license file 8 months ago
main.go 691d096a39 default to sha256 2 months ago 9e4d6b8f9e update readme 8 months ago


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.


# 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/ | grep  '\.go$') | cs -c