EncryptedLocalStore not supported

2019-05-27 16:34发布

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.

2条回答
别忘想泡老子
2楼-- · 2019-05-27 17:16
我欲成王,谁敢阻挡
3楼-- · 2019-05-27 17:20

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.

查看更多
登录 后发表回答