bengirl / react-native-rsa-jiuye

RSA native module for Android

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

react-native-rsa-jiuye

RSA native module for Android

Usage:

  1. Install the module from github

npm install --save git+https://github.com/stefli/react-native-rsa-jiuye.git

  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); });

About

RSA native module for Android

License:The Unlicense


Languages

Language:Java 97.3%Language:JavaScript 2.7%