AesDecrypt
The AesDecrypt()
function decrypts a base64 encoded ciphertext to plaintext, using the given key and initialization vector.
This function is NOT SQL compatible. For more information about SQL compatibility, see our documentation.
Returns a plaintext.
Returns Unknown
if one of the parameter values is unknown or outside the common valid boundaries.
Syntax
Parameters
Name | Type | Required | Description |
---|---|---|---|
| text | The input base64 encoded text which was encrypted you want to decrypt. It should be encrypted with the same key and vector values and using the AES algorithm. | |
| text | Text or data field that holds the encryption key. A key can be generated using AesKey() | |
| text | Text or data field that holds the encryption vector. A proper Vector value can be generated using AesIv() | |
| yes/no | enable or disable encoding with BOM. |
Last updated