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

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

问题描述

我正在开发一个移动应用程序,该应用程序(基本上)将图片消息作为一项功能.我需要使用简单的纯文本密码对图像进行加密/解密.由于所捕获图像的性质,加密和解密过程发生在设备上是/关键/.

在听完关于 Flex 移动开发的演示后,我决定使用 Flex SDK 创建我的应用程序,这意味着我将在 ActionScript 3 和 Flex 中实现客户端应用程序.

我想做的一件事是在加密之前和之后在舞台上显示图像.然而,这是一个很好的拥有,而不是必须拥有.

是否有任何已知的 API/算法可用于我正在尝试做的事情?我也很感激被指出对 CPU 友好的加密算法.我试过谷歌搜索,但对我没有太大帮助.

解决方案

我建议使用 as3crypto 库.它应该提供您需要的一切.

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

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.

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.

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.

解决方案

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

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

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

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