chocolatey / checksum

Validates MD5/SHA1 CheckSums on the command line.
Apache License 2.0
14 stars 13 forks source link

Add SHA256 and SHA512 #2

Closed StefanScherer closed 8 years ago

StefanScherer commented 8 years ago

I apologize, my C# really isn't perfect, so I just appended the checksum types in a similar way as SHA1. You may find it useful ;-)

StefanScherer commented 8 years ago

Just tried it with a sample.

.\build.bat
curl -k -o o64 https://dl.bintray.com/mitchellh/otto/otto_0.1.0_windows_amd64.zip
.\build_output\checksum\checksum.exe -t sha256 -c 8aa135bd40db9211015626a618b8aaae5487b28eb5fba04a04d5eedfa14fd177 o64
Hashes match.

Got the SHA256 from https://dl.bintray.com/mitchellh/otto/otto_0.1.0_SHA256SUMS

ferventcoder commented 8 years ago

Add the changes to the nuspec as well?

ferventcoder commented 8 years ago

I'll handle those.

StefanScherer commented 8 years ago

@ferventcoder ok, I've pushed a little too slow ;-)

StefanScherer commented 8 years ago

That was my last commit https://github.com/StefanScherer/checksum/commit/a452c2a7b1a3aadec24c44983a00614517715fdb

ferventcoder commented 8 years ago

grabbed it

ferventcoder commented 8 years ago

https://chocolatey.org/packages/checksum/0.0.3