utilities

Checksum For Your Protection

I've just started playing with Python again.  Figured I update all my tools, including PyCharm which happens to be an excellent IDE BTW.  I noticed the checksum for the PyCharm executable but never knew of any Windows program to generate checksums.  I did some Googling and found out that Windows already has a tool built-in: certutil.  Wonderful.

To generate a SHA256 checksum for a file, all you need to do is is use -hashfile give it the file name and then specify the hash scheme.  For example:  

d:\certutil -hashfile pycharm-community-2016.1.exe SHA256
SHA256 hashof file pycharm-community-2016.1.exe:
3c b3 39 66 02 aa 0c 57 06 48 9e af 16 6b 4f 52 be 78 5b d7 17 da d5 49 21 20 f3 e4 de 25 91 cb
CertUtil: -hashfile command completed successfully.