Re: Credit cards

From: Date: Fri, 06 Oct 2000 15:19:54 +0000
Subject: Re: Credit cards
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-18905@lists.php.net to get a copy of this message
If you are looking to encode and not encrypt, try just hashing them with md5. Md5 being a one-way hash would work for comparing the hash of the card to be verified with the known number. If you want encryption, crypt can be used. ---Matt On Fri, 6 Oct 2000, Steve Lawson wrote: > Hi. > > I plan to store credit card numbers in a mysql database. I would like to encode them, even if > it's just in the simplest of ways. > > Does anyone know if php or mysql has a simple encryption function? The only functions I found > require mcrypt to be installed... > > > SL. > >

« previous php.general (#18905) next »