DES_ENCRYPT()
This page is part of MariaDB's Documentation.
The parent of this page is: Functions for MariaDB Enterprise Server
Topics on this page:
Overview
Encrypts a string using the DES algorithm with the given key.
EXAMPLES
SELECT HEX(DES_ENCRYPT('mariadb',
SUBSTRING_INDEX('1.2','.', 0))) AS des_encrypt;
+--------------------+
| des_encrypt |
+--------------------+
| FF109FED7A7E85AC43 |
+--------------------+
CHANGE HISTORY
EXTERNAL REFERENCES
Additional information on this topic may be found in the MariaDB Public Knowledge Base.