简体   繁体   English

在 React Native 中加密,在 node.js 中解密

[英]Encrypt in React Native and decrypt in node.js

I have an http request in which I want to pass some sensitive data so I'm trying to encrypt these data.我有一个 http 请求,我想在其中传递一些敏感数据,所以我试图加密这些数据。 Does someone have two modules, one in react-native and the other one in node.js?有人有两个模块,一个在 react-native 中,另一个在 node.js 中吗? I tried to use react-native-rsa and Crypto but I get a lot of errors, and I don't know if it's possible to use both together.我尝试使用 react-native-rsa 和 Crypto 但我遇到了很多错误,我不知道是否可以同时使用两者。

I think you must try Hybrid Crypto once.我认为您必须尝试一次Hybrid Crypto

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM