加密/解密图片在ActionScript 3图片、ActionScript

2023-09-08 12:32:03 作者:少女の百褶裙

我开发一个移动应用程序,涉及(基本)图片信息为特征。我需要的图像进行加密/解密用一个简单的,明文密码。由于图像的性质被捕获,这是/关键/的加密和解密过程发生在设备上。

I am developing a mobile app that involves (essentially) picture messaging as a feature. I need the images to be encrypted/decrypted with a simple, plain-text password. Due to the nature of the images being captured, it is /critical/ that the encryption and decryption processes happen on the device.

坐在通过Flex中移动发展presentation后,我决定创建我的应用程序使用Flex SDK,这意味着我将实施在ActionScript 3和Flex客户端应用程序。

After sitting through a presentation on mobile development in Flex, I have decided to create my app with the Flex SDK, which means I will be implementing the client application in ActionScript 3 and Flex.

有一件事我想要做的就是展示形象的舞台上之前和之后已被加密。然而,这是一个很好的到了,没有必要对拥有。

One thing I want to do is show the image on the stage before AND after it has been encrypted. However, this is a nice-to-have, not a need-to-have.

是否有任何已知的API /算法,在那里为我所试图做的?我还要AP preciate被指向了CPU友好的加密算法。我试着周围的Googling,但它并没有受到太大的帮助我。

Are there any known APIs/algorithms out there for what I am trying to do? I would also appreciate being pointed towards CPU-friendly encryption algorithms. I've tried Googling around, but it hasn't been too much of a help for me.

推荐答案

我建议as3crypto库。它应该提供你所需要的一切。

I would suggest the as3crypto library. It should provide everything you need.

HTTP://$c$c.google.com/p/as3crypto/