Encrypt your text using a super crazy encryption algorithm.

Then, create a swc that contains the key and algorithm to decrypt the text.

Then, encrypt that swc using another super crazy encryption algorithm.

Load the swc at runtime as raw bytes, decrypt it in memory, and then instantiate it as the class you need.

Decrypt the text.

Null out the swf instance and the bytes.

Force the gc to run.

That's about as protected as you can get. Obviously, you'll need a pretty strong challenge response system in place to get the shared key to decrypt the swc in memory.

Don't know how to do this?

Watch this:  http://onflash.org/ted/2008/10/360flex-sj-2008-encrypting-flex.php
_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to