On behalf of this thread, I wrote an encryption/decryption example. It is simple and by no means industry standard, and it will
almost certainly produce characters that are not allowed in variable names, so think about how you are going to use it. I guess it could be adapted to replace such characters with more variable-name friendly ones but I didn't have time to think about that.
Take a look at
http://skyld.vip.graal.net/wikka.php...mpleEncryption.
It was a quickly written script, and probably can be made more efficient, but I hope it demonstrates the idea.