hash a string that can be un-hashed.
Posted on 2012-09-19
I need an effective and fast way to be able to hash and un-hash a string to be stored in a cookie. The site that I am going to use it for is not a high security site so I do not want to compromise the speed.
The site uses PHP 5.3
Would be grateful for suggestions on the best way to hash and un-hash the string without compromising the speed of the site to much.
Many thanks for your help.