EncryptForThisServer (open)
Encrypt data with this server's local key
Syntax
LOADLIB "mod::system/lib/services.whlib";
STRING FUNCTION EncryptForThisServer(STRING scope, VARIANT data, RECORD options)
Parameters
STRING scope
Scope for encryption (must be unique for each Encrypt usage so you can't accidentally mix up calls)
VARIANT data
Data to sign and encrypt. Will be encoded as necessary
RECORD options
Options
algorithm
Algorithm to use, defaults to 'SHA-1,BLOWFISH+CBC,8'
Return value
STRING
UFS encoded encrypted and signed data