Wiki source code of How to determine the SHA-256 Hash of a file
Last modified by SuperUwe Trueggelmann on 2022-07-02
Show last authors
author | version | line-number | content |
---|---|---|---|
1 | ==Option 1 - Using File Explorer:== | ||
2 | In Windows 10, open File Explorer and proceed as follows: | ||
3 | |||
4 | |Move into the directory containing the .xlsm file. | ||
5 | |Right click the .xlsm file and in the upper part of the menu you should see an option "CRC SHA". | ||
6 | |Move the cursor onto the "CRC SHA" option and a sub-menu should open, allowing you to select "SHA-256". | ||
7 | |Click on "SHA-256" and a window should open showing you the calculated SHA-256 Hash of the .xlsm file. | ||
8 | |The Hash value shown should be the same as the one shown on the Download page. | ||
9 | |||
10 | Note: For the CQM AP Tools the Hash has been calculated on the .xlsm file, not on the .zip archive you have downloaded. | ||
11 | |||
12 | ==Option 2 - Using PowerShell:== | ||
13 | If for some reason your version of Windows does not have the above function, then you can follow this alternative procedure: | ||
14 | |||
15 | Open the PowerShell, and then proceed as follows: | ||
16 | |||
17 | |Assuming the file is stored in the directory:|C:\Users\Roger\Documents | ||
18 | |and the file name is|CQMAPTools.xlsm | ||
19 | |then the PowerShell command is:|Get-FileHash C:\Users\Roger\Documents\CQMAPTools.xlsm -Algorithm SHA256 | ||
20 | |||
21 | You should see a result similar to the following: | ||
22 | |||
23 | Note: For the CQM AP Tools the Hash has been calculated on the .xlsm file, not on the .zip archive you have downloaded. |