在 React Native 和 Expo 中加密敏感数据 [英] Encrypting sensivite data in React Native and Expo

查看:40
本文介绍了在 React Native 和 Expo 中加密敏感数据的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用 React Native 和 Expo 开发移动应用程序,提供安全解决方案.项目所有者希望在应用程序中存储敏感的授权密钥,用于与 REST 服务器联系并访问受保护的数据.他要求至少对这些密钥进行加密,并且尽可能地难以从外部读取.

I`m working on mobile app with React Native and Expo, providing security solutions. Project owner want to store in app sensitive authorization keys, used to contact with REST server and access to secured data. He demand to have this keys at least encrypted, and hard to read from outside as much as possible.

我知道topis:

在 React Native 中保存敏感数据

React Native 的异步存储安全吗?

关于KeyChain,但它们不包括加密和展览问题.

and about KeyChain, but they dont cover encyption and expo issues.

那么,在 React Native Expo 应用程序中尽可能保存这些数据的最佳和通用解决方案是什么?

So with is the best and common solution for making this data save as possible in React Native Expo app?

推荐答案

Expo 现在有了 SecureStore,用于存储加密数据.

Expo now has SecureStore, which stores encrypted data.

详情:https://docs.expo.io/versions/latest/sdk/安全存储

这篇关于在 React Native 和 Expo 中加密敏感数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆