$cipher.decrypt

Decrypts data.
Syntax
    $cipher{decrypt}{data}
    $cipher.decrypt{data}
DocumentationDecrypts data.

    Parameters:
      decrypt, a flag to indicate that the given data are to be decrypted.
      data, the data to be decrypted.
    Returns:
      the decrypted data.
Examples
    $cipher{setKey}{myKey}
    $set{decriptedData}{$cipher{decrypt}{$get{encryptedData}}}

    Note: if the key named 'myKey' was not the key used for encryption,
    the call to $cipher{decrypt}{XXX} will throw an Exception.
GroupSpecial
Minimum required transaction-mode:NONE
Required scripting permission of the developerPERMISSION_FL_BASIC
Minimum parameters1
Maximum parameters 1