我正在尝试使用as3corelib EncryptionKeyGenerator
包来创建一个移动应用的安全数据库https://github.com/mikechambers/as3corelib/blob/master/src/com/adobe/air/crypto/EncryptionKeyGenerator.as
但是当我运行它时,我收到以下错误:
Error: EncryptedLocalStore is not supported on the current platform
at flash.data::EncryptedLocalStore$/setItem()
谷歌搜索我发现这是因为手机不支持ELS。有谁知道这个问题的最佳解决方案?我想我可以使用持久性管理器来存储信息,但我不确定这是最安全的方法。
答案 0 :(得分:3)
我认为您最好的选择是使用加密的SQLite数据库进行调查。以下是一些信息:
http://cookbooks.adobe.com/post_AIR_Encrypted_SQLite_Database-16250.html
http://www.adobe.com/devnet/air/flex/quickstart/articles/encrypted_database.html
答案 1 :(得分:1)
EncryptedLocalStore
,因此您现在应该可以在移动设备上使用它了。请参阅http://devgirl.org/2011/09/22/flex-mobile-development-encrypting-data/以获取示例。