Encryption and Decryption

Source: http://www.zedia.net/2009/as3crypto-and-php-what-a-fun-ride/