EncryptAndSignData (open)

Salt, eencrypt and sign a string

Syntax

LOADLIB "wh::crypto.whlib";

STRING FUNCTION EncryptAndSignData(STRING data, STRING algorithm, STRING encryptkey)

Parameters

STRING data

Data to sign

STRING algorithm

Algorithm to use. <SHA-1|SHA-256>,BLOWFISH+<CBC|ECB>,[,ZLIB] eg SHA-256,BLOWFISH+CBC,8

STRING encryptkey

Key to use with the algorithm

Return value

STRING

UFS encoded encrypted data