I am trying to encrypt a credit card number using rc4 and php and then dump it into a mySql database. Does anyone have any sample code that allows me to do this??
I found the Class.RC4Crypt algorithm and would like to use that. When I include the class.rc4crypt.php the page dies... Here is my code... // encrypt the credit card number here. include("class.rc4crypt.php"); $pass = $whatever; $data = $cardInfo['number']; $case ='de'; $rc4 = new rc4crypt; $encrypt_CC = endecrypt($pass, $data, $case); then I will send $encrypt_CC to the DB.. Any help would be greatly appreciated..thx Troy -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php