MySQL Forums
Forum List  »  Security

Re: aes_encrypt?
Posted by: Ryan Smith
Date: August 23, 2005 11:26AM

str is the string that you want to encrypt. str_key is the password to retieve the value later so:

to encode:
AES_ENCRYPT("My Encrypted Data", "MyPassword")

to decode:
AES_DECRYPT(encrypted_data_field, "MyPassword")

Options: ReplyQuote


Subject
Views
Written By
Posted
17695
August 12, 2005 03:47PM
8418
August 12, 2005 03:49PM
Re: aes_encrypt?
7197
August 23, 2005 11:26AM
6534
September 09, 2005 03:00AM
5932
September 09, 2005 10:51AM
4577
January 30, 2008 04:16AM


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.