Is React Native's Async Storage secure?

前端 未结 8 545
Happy的楠姐
Happy的楠姐 2020-12-01 08:53

I want to store sensitive data locally in a React Native app.

Is the data only available to the app that wrote it?

相关标签:
8条回答
  • 2020-12-01 09:41

    I have created a secure storage module for redux-persist that uses react-native-keychain to store an encryption key and uses CryptoJS to encrypt the redux-store at rest in AsyncStorage. You can find the module at:

    redux-persist-encrypted-async-storage

    Its usage is discussed in the readme at the link.

    0 讨论(0)
  • 2020-12-01 09:44

    I've faced the same problem on a project I was working on, we were using a custom wrapper for AsyncStorage, stored some amount of data and then we tried to retrieve the same data... and it was so easy.

    We get over that problem by using Realm with the encryption option and it was a easier, faster and better solution than AsyncStorage.

    0 讨论(0)
提交回复
热议问题