Encryption and Compression Functions
TiDB supports most of the encryption and compression functions available in MySQL 5.7.
Supported functions
Related system variables
The block_encryption_mode variable sets the encryption mode that is used for AES_ENCRYPT() and AES_DECRYPT().
Unsupported functions
DES_DECRYPT(),DES_ENCRYPT(),OLD_PASSWORD(),ENCRYPT(): these functions were deprecated in MySQL 5.7 and removed in 8.0.- Functions only available in MySQL Enterprise Issue #2632.