LKBEN11524: Howto check the SHA256 from a file


You need to be sure you downloaded the right file and you have a SHA256 on the website. A hash value.


Can be important for security from time to time


When you download a file and the website also tells you the SHA 256 it should have, you can check it with certutil. Certutil is installed with any java SDK and widely available.

To check the file "" which is located in the c:\temp directory you can use the following command.

certutil -hashfile c:\temp\ SHA256

Your output should look like the following. (the SHA-Value will be different)

The following algorithms are available:

MD2, MD4, MD5, SHA1, SHA256, SHA384 and SHA512

To get the MD5 value for the same file as above, you can use:

certutil -hashfile c:\temp\ MD5

To ask for more information about hashfile you use:

certutil -hashfile -?

Have fun.


The information provided in this document is intended for your information only. Lubby makes no claims to the validity of this information. Use of this information is at own risk!

About the Author

Author: Wim Peeters - Keskon GmbH & Co. KG

Wim Peeters is electronics engineer with an additional master in IT and over 30 years of experience, including time spent in support, development, consulting, training and database administration. Wim has worked with SQL Server since version 6.5. He has developed in C/C++, Java and C# on Windows and Linux. He writes knowledge base articles to solve IT problems and publishes them on the Lubby Knowledge Platform.

Latest update: 08-01-2022 | Comment: