dougu4448 2011-08-31 18:35
浏览 48

ActionScript 3 - PHP通过AMF(或其他)加密发送数据

I need help with two things:

  1. Advice on an encryption algorithm that I can use to encode data on the server, send it to AS3 client and decode it there. From what I read, Public - Private Key sound good.

  2. An AS3 library that can encode and decode that is compatible with PHP's bcrypt (again, I read bcrypt is best for this kind of data transmission).

I'm not a security expert, I hope the question is clear and not clumsy.

EDIT: As suggested SSL is a great option, but at the moment I am looking for non-SSL ones.

Thank you.

  • 写回答

3条回答 默认 最新

  • dow72046 2011-08-31 19:03
    关注

    What's your threat model? If you're only worried about people sniffing the data while it's on the wire, then use SSL. It'll be transparent to your app, and generally you only have to install a cert and change your URLs from http:// to https://

    If your major threat is someone running a debugger on the app to catch the data, then you've got a massively bigger problem and will be highly unlikely to ever stop someone from "stealing" the data.

    评论

报告相同问题?

悬赏问题

  • ¥100 支付宝批量检测实名工具
  • ¥15 基于单片机的靶位控制系统
  • ¥15 AT89C51控制8位八段数码管显示时钟。
  • ¥15 真我手机蓝牙传输进度消息被关闭了,怎么打开?(关键词-消息通知)
  • ¥15 下图接收小电路,谁知道原理
  • ¥15 装 pytorch 的时候出了好多问题,遇到这种情况怎么处理?
  • ¥20 IOS游览器某宝手机网页版自动立即购买JavaScript脚本
  • ¥15 手机接入宽带网线,如何释放宽带全部速度
  • ¥30 关于#r语言#的问题:如何对R语言中mfgarch包中构建的garch-midas模型进行样本内长期波动率预测和样本外长期波动率预测
  • ¥15 ETLCloud 处理json多层级问题