calculate checksums
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Stephen McQuay 627bb5a7be
Use tabs
9 months ago
check.go Added verbose mode 1 year ago
hash.go Added verbose mode 1 year ago
license updated license file 2 years ago
main.go Use tabs 9 months ago update readme 2 years 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