Your php code:




It uses mcrypt for encryption & decryption. You can build your own so easily.