react-native-rsa-jiuye
v0.0.7
Published
RSA native module for Android and IOS
Downloads
4
Readme
react-native-rsa-jiuye
RSA native module for Android and IOS
Usage:
- Install the module from github
npm install --save git+https://github.com/stefli/react-native-rsa-jiuye.git or Install from NPM npm install --save react-native-rsa-jiuye
- Link the project
react-native link react-native-rsa-jiuye
- Import the RSAUtils, then use it
import RSAUtils from 'react-native-rsa-jiuye'
RSAUtils.encrypt(plainText, modulus, exponent).then(data => { console.log('Data->', data); });