How do you determine the SHA-256 or SHA-512 checksum of a file?
A hash value is shown in hexadecimal format, which means that spaces and the case of the letters are not relevant and serve only for easier reading.
You can find, download and use any program in the internet for calculating an SHA256 or SHA512 hash value.
Windows (version 7 SP1 and higher) also provides the possibility of determining the hash value; for this you need the Windows Powershell V4.0 or higher (see Notes).
To calculate the SHA256 hash value of a file you enter the following command in a Windows Powershell window:
get-filehash -algorithm sha256 'filename' | Format-List
To calculate the SHA512 hash value of a file you enter the following command in a Windows Powershell window:
get-filehash -algorithm sha512 'filename' | Format-List
In order to make it easier to calculate the hash value you can download the following batch file. You you can use drag-and-drop in the Windows Explorer. Just drop the file to be checked to this batch file. The hash values (SHA256 and SHA512) are is calculated and displayed in the Windows editor:
109483101_Hash_FileToTxt.zip (1 KB)
Opening a Windows Powershell Window
Press the key combination <Win><R> and enter Powershell
Determining the installed Powershell version
Enter $PSVersionTable in a Windows Powershell window:
Under "PSVersion" you can read the version of the installed Powershell.
You need at least version V4.0 for calculating the SHA256 hash value.
Updating the Powershell
The Windows Powershell is included in the Windows Management Framework (WMF) which you can download directly from Microsoft.
Search for wmf on the Microsoft website.
The screens in this FAQ response were created with Windows 10 Version 1607.
- You have a technical question / problem: Ask the Technical Support
- You want to discuss in our forum and exchange experiences with other users
- You want to create CAx data for one or more products
- You would like to send us feedback on this Entry