Bug #20451 AES Encrypt Decrypt Bug
| Submitted: | 14 Jun 2006 8:56 | Modified: | 14 Jun 2006 9:33 |
|---|---|---|---|
| Reporter: | Lee Harrison | Email Updates: | |
| Status: | Not a Bug | Impact on me: | |
| Category: | MySQL Server | Severity: | S2 (Serious) |
| Version: | 5 | OS: | Windows (Windows Any) |
| Assigned to: | CPU Architecture: | Any |
[14 Jun 2006 9:33]
Sveta Smirnova
Thank you for taking the time to write to us, but this is not a bug. Please double-check the documentation available at http://www.mysql.com/documentation/ and the instructions on how to report a bug at http://bugs.mysql.com/how-to-report.php
[14 Jun 2006 9:36]
Sveta Smirnova
Binary strings not always can be input in command line correctly.
Use SELECT AES_ENCRYPT('01','$%^&*()!1709748H1gHT3nS10n'), AES_DECRYPT(AES_ENCRYPT('01','$%^&*()!1709748H1gHT3nS10n'),'$%^&*()!1709748H1gHT3nS10n'); instead.
Portions of this website are copyright © 2001, 2002 The PHP Group
Page generated in 0.059 sec. using MySQL 8.4.7-u6-cloud
Timestamp references displayed by the system are UTC.
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.
Description: When encrypting and decrypting a particular string I get a null value. If I change the string or the encryption password it works fine. This is used in a live system so I cannot change the encryption password used. How to repeat: select AES_ENCRYPT('01','$%^&*()!1709748H1gHT3nS10n'), AES_DECRYPT('¶áEo … ñ”‘½4ö¹', '$%^&*()!1709748H1gHT3nS10n'); Suggested fix: No idea.