http://code.google.com/p/as3crypto/

And cool if you want to encrypt and send to PHP then decrypt
http://flashcodetips.blogspot.com/20...using-php.html