GetSHA1Hash (open)
Return the SHA1 hash for a text
Syntax
LOADLIB "wh::crypto.whlib";
STRING FUNCTION GetSHA1Hash(STRING text)
Parameters
STRING text
Text to hash
Return value
STRING
The SHA1 hash, as binary data (you probably want to use EncodeBase16 on the result)
Description
This function calculates a standard 160-bit SHA-1 file hash for the specified text