RSA native module for Android
Usage:
- Install the module from github
npm install --save git+https://github.com/stefli/react-native-rsa-jiuye.git
- 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); });