How to check or generate a hash using the Windows Certutil command on Windows

Hashing is the process of converting data — whether it’s text, numbers, files, or anything else into a fixed-length string of letters and numbers. This transformation is achieved using a special algorithm called a hash function.

Hashing is used for data authentication, security, and database management. It ensures the integrity of messages and secures information.

You can use the existing cerutil program in Windows to help you generate a Hash:
To verify the MD5 checksum, run:
certutil -hashfile <file> MD5
Replace <file> with the actual filename.

To check the SHA256 checksum, replace MD5 with SHA256 in the command.

Compare the Result:

Compare it with the expected checksum provided by the source or website.

Remember, if the hash matches, your file is intact and hasn’t been altered. This method helps ensure the integrity of downloaded files.