Re: AES_ENCRYPT / AES_DECRYPT key_str length question
Posted by:
Kot Demon
Date: December 14, 2010 06:53AM
mysql> select AES_ENCRYPT ('secret', 'password');
+------------------------------------+
| AES_ENCRYPT ('secret', 'password') |
+------------------------------------+
| Ç#þL¢>ä0?iêɪ |
+------------------------------------+
1 row in set (0.00 sec)
il est binaire, conserver dans une colonne BLOB.
mysql> select AES_DECRYPT(encrypted_pass, 'password');
+-------------------------------------------------------------+
| AES_DECRYPT(encrypted_pass,'password') |
+-------------------------------------------------------------+
| secret |
+-------------------------------------------------------------+
1 row in set (0.00 sec)
nom de la colonne BLOB a été "encrypted_pass"
grâce à google translate!
Subject
Views
Written By
Posted
7300
September 10, 2010 01:00AM
6950
September 13, 2010 04:50AM
3205
December 01, 2010 05:46AM
Re: AES_ENCRYPT / AES_DECRYPT key_str length question
3901
December 14, 2010 06:53AM
2868
March 14, 2011 04:28PM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.