Wednesday, July 6, 2022

Windows: MD5, SHA1, SHA256 checksum check without third party utilities

The checksum for any file in Windows OS can be calculated using the built-in "certutil" utility for working with certificates.

To calculate MD5:
certutil -hashfile path to file MD5

To calculate SHA1:
certutil -hashfile path to file SHA1

To calculate SHA256:
certutil -hashfile path to file SHA256

No comments:

Post a Comment