MySQL Forums
Forum List  »  Security

Re: AES_DECRYPT Weirdness
Posted by: Carlton Dickson
Date: September 13, 2005 02:54AM

Apparently you should store anything that is to be AES_ENCRYPTED in blob format (http://forums.devshed.com/showpost.php?p=1239639&postcount=3) or Base64 encode it (more info here http://forums.devshed.com/t265325/s.html&highlight=aes).
I think it is because a varchar field can't handle certain characters that are produced from the encryption.

Options: ReplyQuote


Subject
Views
Written By
Posted
15284
August 29, 2005 02:30PM
5786
September 09, 2005 02:07PM
Re: AES_DECRYPT Weirdness
6128
September 13, 2005 02:54AM
5610
May 08, 2006 09:52AM
5283
May 09, 2006 06:39AM
4814
March 25, 2008 08:29PM


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.