react-native-rsa-native
Advanced tools
Comparing version 1.0.20 to 1.0.21
{ | ||
"name": "react-native-rsa-native", | ||
"version": "1.0.20", | ||
"version": "1.0.21", | ||
"description": "A native implementation of RSA key generation and encryption/decryption.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -44,4 +44,10 @@ # react-native-rsa-native | ||
RSA.generate() | ||
RSA.generateKeys(4096) // set key size | ||
.then(keys => { | ||
console.log('4096 private:', keys.private) // the private key | ||
console.log('4096 public:', keys.public) // the public key | ||
}) | ||
RSA.generate() | ||
.then(keys => { | ||
console.log(keys.private) // the private key | ||
@@ -48,0 +54,0 @@ console.log(keys.public) // the public key |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
127367
118