Flash CS6 (AS3):
This is what I am trying to accomplish...
Convert bitmapdata -> bytearray -> encode using JPEGencoder (PNGencoder, or any other alternatives) -> base64 string. Once i get hold of this base64 string, I will be able to use my string obfuscation algorithm, and send that string to php.
Now the reverse (decryption) to get back my original image. Load the obfuscated string from php into flash -> deobfuscation algorithm -> decodebase64toBytearray -> bitmapdata
The challenge for me rite now is in converting base64 to bytearray, and then to bitmapdata.
Can someone guide me on how to get back the bitmap image from base64 string?