The AES_DECRYPT() function decrypts a "Binary string" with the given "Key" using the AES algorithm.
The return is a decrypted string or NULL if an error occurs.
If "Key" contains a numeric value, it is interpreted as a character string.
If "Binary string" contains no characters, NULL is returned.
If the value of the "Binary string" or "Key" argument is NULL, the AES_DECRYPT() function returns NULL.
The function AES_ENCRYPT() can be used for encryption. |