简体   繁体   English

Flex SQLite本地数据库加密-SimpleEncryptionKeyGenerator.as

[英]Flex SQLite Local database encryption - SimpleEncryptionKeyGenerator.as

I'm trying to use the Simple Encryption Key Generator Class found here - http://www.dehats.com/drupal/?q=node/62 我正在尝试使用在此处找到的简单加密密钥生成器类-http: //www.dehats.com/drupal/? q=node/ 62

Everything seems to working properly except the hash encryption key that is returned is the same string every time (as mentioned in the the comments of the link above). 除了返回的哈希加密密钥每次都是相同的字符串外,其他所有东西似乎都正常运行(如上面链接的注释中所述)。 I haven't been able to fix the issue or locate an updated version of this class and was hoping someone might know of a solution. 我无法解决问题或找到此类的更新版本,希望有人可能知道解决方案。

Thanks 谢谢

The SHA Algorithm would throw the different hash value each time for different text, the mx.utils.SHA256 has been computed based on this Standard . SHA算法每次针对不同的文本都会抛出不同的哈希值,已经基于此Standard计算了mx.utils.SHA256

You Can Find out the Cryptography algorithms in the Following Tour de Flex Link under the 您可以在以下的Tour de Flex Link中找到密码算法,该链接位于
Other Components -> Ecrypt -> AS3 cryptography . 其他组件->加密-> AS3加密 where you can find the SHA256 algorithm under the HASH tab. 在“哈希”选项卡下可以找到SHA256算法。

I think It might Help You. 我认为这可能对您有帮助。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM