MySQL Tutorial/Encryption Compression Functions/DES DECRYPT
Версия от 13:44, 26 мая 2010; (обсуждение)
DES_DECRYPT(crypt_str[,key_str]) (Decrypts a string encrypted with DES_ENCRYPT().)
mysql>
mysql> select DES_DECRYPT(DES_ENCRYPT("credit_card_number"));
+------------------------------------------------+
| DES_DECRYPT(DES_ENCRYPT("credit_card_number")) |
+------------------------------------------------+
| credit_card_number |
+------------------------------------------------+
1 row in set (0.00 sec)
mysql>