This is a simple class that can be used to encode and decode session values to make it harder to obtain private session values for people with access to session data.
It uses base64 encoding and mcrypt_encrypt encryption to set the values of one or more session variables values.
The class may also retrieve the value of an encoded session variable and decode it.
It can be easley modified to work with other varibles.
Scramble and descramble any values with fake text and numbers patterns,
this is a good alternative to encryption. Can be used to disguise GET, POST and SESSION values.
In what could be the largest data security breach to date, MasterCard International on Friday said information on more than 40 million credit cards may have been stolen.