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 scope

Scope for encryption (must match scope used when encrypting)

STRING data

Data to encrypt

RECORD options

Options

algorithm

Algorithm to use, defaults to 'SHA-1,BLOWFISH+CBC,8'

fallback

Fallback value if decryption failed. If not specified, the function will throw on decryption failure

Return value

VARIANT

Decrypted data