I've asked this before, and I've not been able to find an answer.
I'll post it for 1 final time:
Is there a script or an example of a script which does the following:
Takes $data and encrypts it into $encryted_data.
I will add $encrypted_data into a database as a varchar.
I will later call up $encrypted_data and would like to decrypt it.
I'd like to echo $data.
So:
I'd like to encrypt a string.
Enter it into database.
Decrypt it and be able to see what was typed in initially as $data.
Thanks,