GetSHA1Hash (open)
Return the SHA1 hash for a text
Syntax
LOADLIB "wh::crypto.whlib";
STRING FUNCTION GetSHA1Hash(STRING text)Parameters
STRING textText to hash
Return value
STRINGThe 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