DecryptForThisServer (open)
Decrypt data with this server's local key
Syntax
LOADLIB "mod::system/lib/services.whlib";
VARIANT FUNCTION DecryptForThisServer(STRING scope, STRING data, RECORD options)Parameters
STRING scopeScope for encryption (must match scope used when encrypting)
STRING dataData to encrypt
RECORD optionsOptions
algorithmAlgorithm to use, defaults to 'SHA-1,BLOWFISH+CBC,8'
fallbackFallback value if decryption failed. If not specified, the function will throw on decryption failure
Return value
VARIANTDecrypted data