Hi,
I have a website that uses cookie to store some information on the users' hard disk, I want to encrypt this cookie info as a string, then store the encrypted string to the cookie. Next time when user login, the script reads the encrypted string from cookie, then decrypt it and I can use the decrypted string.
Is there a simple built-in PHP function that does this? I don't need it to store password level security material, just so that user can't peek in the cookie data.
Thanks