Siemens Industry Online Support
Siemens AG
Entry type: FAQ Entry ID: 109483101, Entry date: 10/05/2016

How do you determine the SHA-256 or SHA-512 checksum of a file?

  • Entry
  • Associated product(s)
To check the integrity of a file you can use mathematical procedures to create a hash value (checksum) of the file.

In Siemens Industry Online Support you will find a SHA256 or SHA512 hash value for some download files. This will allow you to check if a file has been downloaded unchanged. For verification, calculate the hash value of the downloaded file and compare it to the value specified on the download page.

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


Fig. 1



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


Fig. 2


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 calculated and displayed in the Windows editor:

Fig. 3

 Registrierung notwendig  109483101_Hash_FileToTxt.zip (1 KB)
SHA256: C724B40B61DDA1B8E43D8787D3BE7C77B81FFB9E4CBF6FC4CB1CCF13E736D466


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:

Fig. 4

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.

Creation Environment
The screens in this FAQ response were created with Windows 10 Version 1607.

Additional Keywords

Security information
In order to protect technical infrastructures, systems, machines and networks against cyber threats, it is necessary to implement – and continuously maintain – a holistic, state-of-the-art IT security concept. Siemens’ products and solutions constitute one element of such a concept. For more information about cyber security, please visit
Rate entry
no rating
Requests and feedback
What do you want to do?
Note: The feedback always relates to the current entry / product. Your message will be forwarded to our technical editors working in the Online Support. In a few days, you will receive a response if your feedback requires one. If we have no further questions, you will not hear from us.