Validate downloads with MD5 or SHA1 keys

Started by
6 comments, last by Glass_Knife 12 years, 6 months ago
I was downloading a file today, and I noticed they provide an MD5 and SHA1 key to validate the download. A while ago I tried to figure out how to do this on Windows, but I gave up. I never did find a simple explanation of how to verify the integrity of the file.

Does anyone actually do this? If you want to do this on Windows 7, is there some software that everyone used that I'm not aware of?

Sometimes I think I am the king of asking the simplest questions.

Thanks for you time,

I think, therefore I am. I think? - "George Carlin"
My Website: Indie Game Programming

My Twitter: https://twitter.com/indieprogram

My Book: http://amzn.com/1305076532

Advertisement
A simple google search on either 'windows md5' or 'windows sha1' would have provided a plethora of open source or otherwise utilities and software.

This one in particular looks handy for you as it does both md5 and sha1 and can be invoked from file context menu: http://www.nirsoft.net/utils/hash_my_files.html (download near bottom of the page after explanation of use and adding to context menu of all files)
FCIV.

I'm not exactly sure about availability, but it may save an extra download. Leave it to MS to make the most cryptic unintuitive name.
Vista and 7 come with it built in from the command line:


C:\Windows\system32>certutil -hashfile d:\myfile.txt MD5
MD5 hash of file d:\myfile.txt:
db 49 0c 01 12 0a 5e ae a3 66 ee a6 b7 27 9c c3
CertUtil: -hashfile command completed successfully.


There doesn't seem to be a list in the help of which algorithms can be specified but all of MD2, MD4, MD5, SHA1, SHA256, SHA384 and SHA512 produce output.
I normally use this one, "HashMyFiles" it gives you an option in the context menu when right-clicking it, you can immediately see the hashes.

http://www.nirsoft.net/utils/hash_my_files.html
If I've helped you in any way please push the reputation button, thanks!

Abstraction is my choice of words.
Portfolio: http://www.0x3a.com/
Blog: http://blog.0x3a.com/
Total Commander does it too.
Latest project: Sideways Racing on the iPad

I normally use this one, "HashMyFiles" it gives you an option in the context menu when right-clicking it, you can immediately see the hashes.

http://www.nirsoft.n...h_my_files.html


Already linked it ;)
Thanks Guys. That gives me somewhere to start!

Happy coding...

I think, therefore I am. I think? - "George Carlin"
My Website: Indie Game Programming

My Twitter: https://twitter.com/indieprogram

My Book: http://amzn.com/1305076532

This topic is closed to new replies.

Advertisement