Calculating file's hash value using certutil program

Starting from Windows 8 Microsoft Windows is shipped with new certification management tool called: certutil.exe. We can use this program to calculate hash values of file using different hash algorithms.
  1. 	 certutil -hashfile [filename] md5
  2. 	 certutil -hashfile [filename] sha1
    (sha1 is the default value)
  3. 	 certutil -hashfile [filename] sha512
Similarly we can calculate the file hash value of other hashing functions.