Sometimes you need to store or send text in encrypted manner.  Here is a simple way how to encrypt and decyrpt text using actionscript. The example uses XOR cipher, which is easy to use but also “easy” to break.

You can download the Flex project here: Crypto.zip