如何散列和加密存储在AS3中的SharedObjects中的密码?

时间:2015-06-17 20:58:38

标签: actionscript-3 flash encryption hash cryptography

在AS3中,如何将hash和salt密码存储在SharedObject类中?

var sharedObject:SharedObject = SharedObject.getLocal("usernameInfo");

sharedObject.data.userName = "randomusername";
sharedObject.data.password= "randompassword";
sharedObject.flush();

1 个答案:

答案 0 :(得分:1)

As3crypto库有几个散列函数:

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