React Native 的异步存储安全吗? [英] Is React Native's Async Storage secure?
问题描述
我想将敏感数据本地存储在 React Native 应用中.
I want to store sensitive data locally in a React Native app.
数据是否只对编写它的应用程序可用?
Is the data only available to the app that wrote it?
推荐答案
AsyncStorage 不适合存储敏感信息.您可能会发现这很有用:https://github.com/oblador/react-native-keychain一个>
AsyncStorage is not suitable for storing sensitive information. You might find this useful: https://github.com/oblador/react-native-keychain
它使用 facebook hidden/android keystore 将加密数据存储到 SharedPreferences
(Android) 和 iOS 上的钥匙串.(我与他人合着了该库).请务必阅读整个自述文件以了解其提供的内容.
It uses facebook conceal/android keystore to store encrypted data to SharedPreferences
(Android) and keychain on iOS. (I co-authored the lib). Be sure to read the entire readme to understand what it offers.
这篇关于React Native 的异步存储安全吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!