AesDecrypt
Last updated
Last updated
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.
Name | Type | Required | Description |
---|---|---|---|
ciphertext
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.
key
text
Text or data field that holds the encryption key. A key can be generated using AesKey()
vector
text
Text or data field that holds the encryption vector. A proper Vector value can be generated using AesIv()
encoding with BOM
yes/no
enable or disable encoding with BOM.