DECODE(crypt_str,pass_str) decrypts the encrypted string crypt_str using pass_str. : DECODE : Encryption Compression Functions MySQL TUTORIALS


MySQL TUTORIALS » Encryption Compression Functions » DECODE »

 

DECODE(crypt_str,pass_str) decrypts the encrypted string crypt_str using pass_str.


crypt_str should be a string returned from ENCODE().

mysql>
mysql> select decode(encode("text","password"),"password");
+----------------------------------------------+
| decode(encode("text","password"),"password"|
+----------------------------------------------+
| text                                         |
+----------------------------------------------+
row in set (0.00 sec)

mysql>



Leave a Comment / Note


 
Verification is used to prevent unwanted posts (spam). .

Follow Navioo On Twitter

MySQL TUTORIALS

 Navioo Encryption Compression Functions
» DECODE