The Secret:: class provides an API for encrypting and decrypting small pieces of data with the use of a shared key.
Generate a secret key (for encryption), either using a random md5 string and storing it in a cookie if the user has cookies enabled, or munging some known values if they don't.