Hi
Here are a couple of functions that should help to get you started, iv is
set to all 0's so it does not have to be passed around or stored in
sessions. It is base64 encoded so it can be stored or passed to the browser.
Function Code_id($id,$password){
$eid = 0;
$td =
Well now I have the Encryption problem figured out but when I try to
decrypt the information, I'm getting this error:
Warning: mcrypt module initialization failed in test.php on line 11
Here's Line 11:
$text = mcrypt_decrypt (MCRYPT_TripleDES, $key, $lockdata,
MCRPYT_MODE_ECB, $iv);
again
2 matches
Mail list logo