[nycphp-talk] Encrypt/Decrypt without MCrypt
Jeff Siegel
jsiegel1 at optonline.net
Mon Dec 1 09:18:23 EST 2003
I may be faced with a situation where I don't have MCrypt for
encrypting/decrypting data. I need to store the PIN numbers in a
database and be able to retrieve them. Is there some other method I can
use instead? I was thinking, perhaps, something like the following:
$myPinNumber = "123DGH";
$sSecret = '7R5D1N3V5C4Y6Z2X';
$ary = array('PIN' => $myPinNumber, 'Secret' => $sSecret);
$sEncoded = base64_encode(serialize($ary));
Jeff Siegel
More information about the talk
mailing list