Right, i could encrypt/decrypt things with in the pages just fine.. everything worked great with in the pages but when i stored it into the db and then took it out to decrypt it it didn't come out right. so just use base64_encode/decode and not even attempt with the mcrypt? right now it ges like this..
$data = mcrypt_ecb(MCRYPT_LOKI97, $key, $data, MCRYPT_ENCRYPT);
the keys are identical on the other pages and all i change is the MCRYPT_ENCRYPT to MCRYPT_DECRYPT and it comes out all wrong.
this wrong or right? or other methods i should use?
Best Regards,
Zak