AES_DECRYPT()
This page is part of MariaDB's Documentation.
The parent of this page is: Functions for MariaDB Enterprise Server
Topics on this page:
Overview
Decrypts data using the AES algorithm with the given key.
EXAMPLES
SET @key_str = SHA2('passphrase',512);
SET @enc_str = UNHEX('09F25245882D04F8AE24FDD5D887B157');
SELECT AES_DECRYPT(@enc_str, @key_str) AS Decoded;
+---------+
| Decoded |
+---------+
| text |
+---------+
CHANGE HISTORY
EXTERNAL REFERENCES
Additional information on this topic may be found in the MariaDB Public Knowledge Base.