MySQL Forums
Forum List  »  Security

Re: using mySQL to store credit card info
Posted by: Carlton Dickson
Date: September 08, 2005 06:04AM

I would also like to do the same thing, I have credit card numbers in an old database (DBF) which I have migrated to an MySQL version.

With regards to Michael's question I think AES is strong enough...the MySQL reference doc (http://dev.mysql.com/doc/mysql/en/encryption-functions.html) suggests that AES was previously known as RSA and also points out..
"AES_ENCRYPT() and AES_DECRYPT() were added in MySQL 4.0.2, and can be considered the most cryptographically secure encryption functions currently available in MySQL."
and this guy (http://www.aota.net/forums/showthread.php?postid=46371#post46371) suggests that a strong RSA should be suitable for out task of storing credit card numbers.

I need to find a way of storing these numbers in encrypted form so I am trying to perform some test, i.e. use a keystring and some text to create the encrypted version of the key

e.g. SELECT AES_ENCRYPT('000102030405060708090A0B0C0D0E0F','000102030405060708090A0B0C0D0E0F')

should produce "0a940bb5416ef045f1c39458c653ea5a" but I simple get garbage on my screen, can anyone point me in the right direction to get things working or perhaps show me a tutorial that does?

Options: ReplyQuote


Subject
Views
Written By
Posted
27609
February 03, 2005 03:44PM
Re: using mySQL to store credit card info
14566
September 08, 2005 06:04AM
7412
November 21, 2005 11:09PM
6885
November 29, 2005 05:51PM
5238
February 16, 2009 07:37PM


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.