加密/解密图片在ActionScript 3 [英] Encrypt/Decrypt Image in ActionScript 3

查看:121
本文介绍了加密/解密图片在ActionScript 3的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

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

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/

这篇关于加密/解密图片在ActionScript 3的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆