npm.io
0.0.7 • Published 8 years ago

react-native-rsa-jiuye

Licence
MIT
Version
0.0.7
Deps
0
Size
4.8 MB
Vulns
0
Weekly
0
Stars
1

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

  1. Import the RSAUtils, then use it

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

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

Keywords