calculate checksums

Stephen McQuay 691d096a39 default to sha256 3 days ago
check.go 7f3fe3ce4e allow for spaces in filenames 5 months ago
hash.go 20485be72e advertise supported algo on failure 4 months ago
license d01b28973b updated license file 6 months ago
main.go 691d096a39 default to sha256 3 days ago
readme.md 9e4d6b8f9e update readme 6 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