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
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.
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.
Last updated