0.0.7 • Published 6 years ago

react-native-rsa-jiuye v0.0.7

Weekly downloads
3
License
MIT
Repository
github
Last release
6 years ago

react-native-rsa-jiuye

RSA native module for Android and IOS

Usage: 1. 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

  1. Link the project

    react-native link react-native-rsa-jiuye

  2. Import the RSAUtils, then use it

    import RSAUtils from 'react-native-rsa-jiuye'

    RSAUtils.encrypt(plainText, modulus, exponent).then(data => { console.log('Data->', data); });