EncryptedLocalStore not supported

℡╲_俬逩灬. 提交于 2019-12-10 11:25:20

问题


I am trying to create a secure database for a mobile app using the as3corelib EncryptionKeyGenerator package from here https://github.com/mikechambers/as3corelib/blob/master/src/com/adobe/air/crypto/EncryptionKeyGenerator.as

but when I run it I get the following error:

Error: EncryptedLocalStore is not supported on the current platform
    at flash.data::EncryptedLocalStore$/setItem()

Googling around I see it is becaue the ELS is not supported for mobiles. Does anyone know of the best solution to this problem? I guess I could use the persistence manager to store the information but I am not sure this is the most secure method.


回答1:


I think your best bet is to investigate using an encrypted SQLLite Database. Here is some info on this:

http://cookbooks.adobe.com/post_AIR_Encrypted_SQLite_Database-16250.html

http://www.adobe.com/devnet/air/flex/quickstart/articles/encrypted_database.html




回答2:


EncryptedLocalStore is available on AIR on the Android platform only since 3.0, so you should now be able to use it on your mobile device; see http://devgirl.org/2011/09/22/flex-mobile-development-encrypting-data/ for an example.



来源:https://stackoverflow.com/questions/7065547/encryptedlocalstore-not-supported

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!