Encrypt / Decrypt an Image in ActionScript 3

I am developing a mobile application that includes (essentially) transferring images as a function. I need the images to be encrypted / decrypted with a simple plain text password. Due to the nature of the captured images, it is / critical / that encryption and decryption processes occur on the device.

After a presentation on mobile development in Flex, I decided to create my application using the Flex SDK, which means that I will be implementing the client application in ActionScript 3 and Flex.

One thing I want to do is to show the image on stage before AND after it has been encrypted. However, this is good, but not necessary.

Are there any known APIs / algorithms for what I'm trying to do? I would also like to draw attention to CPU compatible encryption algorithms. I tried Googling, but that didn't help me too much.

+3
source share
1 answer

I would suggest the as3crypto library. He must provide everything you need.

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

0
source

Source: https://habr.com/ru/post/1733722/


All Articles