MySQL Forums
Forum List  »  Newbie

Re: Using AES_DECRYPT displays NULL
Posted by: Peter Kaye
Date: July 29, 2014 03:16PM

Some wise person from the Utter Access forum pointed out that the data for decrypting is binary not string. Therefore no single quotes.

This works as it should...

SELECT CAST(AES_DECRYPT(e570ca3c339299069727ba6d33fec255, 'y') AS CHAR);

Options: ReplyQuote


Subject
Written By
Posted
Re: Using AES_DECRYPT displays NULL
July 29, 2014 03:16PM


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.