AES Decrypt

This function decrypts an encrypted string using the Advanced Encryption Standard (AES) algorithm.

Parameters

  • key (string, mandatory): The key to use for decryption. This key must be the same as the one used for encryption.

Options

There are no additional options for this function.

Example

aes-decrypt(encryptedString, key="mySecretKey")

Return Value

This function returns the decrypted string. If decryption fails, it returns the encrypted string.