Categories: Cryptography
AES_DECRYPT
Decrypts a string produced by AES encryption.
Syntax
AES_DECRYPT(ciphertext varchar, key varchar) → varchar
- ciphertext: The string to be decrypted.
- key: The key to use to decrypt the ciphertext. Must be 16, 24, or 32 characters.
Examples
AES_DECRYPT exampleSELECT AES_DECRYPT(UNBASE64('UvicDn/xiUDmfSE+KYjjyw=='), 'mypassword123456')
-- Dremio