DecryptSignedData (open)
Decrypt a string encrypted by EncryptAndSignData
Syntax
LOADLIB "wh::crypto.whlib";
STRING FUNCTION DecryptSignedData(STRING data, STRING algorithm, STRING encryptkey)Parameters
STRING dataSigned data (generated by EncryptAndSignData)
STRING algorithmAlgorithm to use (currently only supported: SHA-1,BLOWFISH+ECB,8). Must be the same as used to sign the data.
STRING encryptkeyKey to use with the algorithm. Must be the same as the key used to sign the data.
Return value
STRINGThe original data, or an empty string if hash verification failed