I quickly compiled this to a dll on request (copyright is all theirs, read their license).
It allows you to calculate the 32-Byte (256 Bit) SHA-2 hash of a file.
I included an example that shows how to convert the raw bytes to hex characters. Requires GM DLL.
Verify the results with e.g. http://hash.online-c...ha256-generator
Be sure to only use the hex string version of the hash (output second in the demo) when comparing and saving to a file, as the raw bytes are not well understood as text.
I hope you'll find it useful.
Edited by Master Xilo, 23 August 2015 - 02:05 PM.