If you need two way encryption for storing sensitive data or something of the sorts, you could always use the OpenSSL support in php. http://php.net/openssl

This site has a lot of different examples of the usage:
http://www.mobilefish.com/developer/...e_openssl.html...