I've been accustomed to using sha1sum or md5sum when I've embarked on a journey of using Ubuntu. Now I'm back in using Windows, specifically Win10, I'm in a situation where I need to hash some files.
In my search of built-in alternatives just like in Ubuntu, I've stumbled upon a solution from Stackoverflow where it suggest to use certutil.exe. This is how you use the tool to extract the file's md5 hash:
certutil -hashfile setup.exe md5
This is how you use the tool to extract the sha1:
certutil -hashfile setup.exe sha1
This is their respective output for the same file I've used:
The certutil.exe tool comes handy when you don't want to install app that you won't be using very often. Now back to coding.