Steve,
If you're using MySQL, it has some built-in encryption functions that
would be slightly better than trying to implement XOR encryption in
PHP. The best solution would be to use PGP or GPG (GNU Privacy Guard) to
encrypt the credit card numbers before you put them in the
database.
Regards
Feel free (as in public domain) to use this function:
http://www.nirvani.net/software/misc/xor_string-1.0.0.inc.asc
Jeremy
Jeremy Brand :: Sr. Software Engineer :: 408-245-9058 :: [EMAIL PROTECTED]
http://www.JeremyBrand.com/Jeremy/Brand/Jeremy_Brand.html for more
- - - - - - - - - - - - - - -
I have some Delphi code that uses the XOR, if that would help.
Todd
--
Todd Cary
Ariste Software
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators
3 matches
Mail list logo