react-native-aes-crypto
Advanced tools
Comparing version 1.0.1 to 1.0.2
{ | ||
"name": "react-native-aes-crypto", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "AES crypto native module for react-native", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -1,4 +0,4 @@ | ||
# React Native AES | ||
# React Native Aes | ||
AES encryption/decryption for react-native | ||
AES crypto for react-native | ||
@@ -10,5 +10,5 @@ ## Installation | ||
### Installation (iOS) | ||
* Drag RCTAes.xcodeproj to your project on Xcode. | ||
* Click on your main project file (the one that represents the .xcodeproj) select Build Phases and drag libRCTAes.a from the Products folder inside the RCTAes.xcodeproj. | ||
See [Linking Libraries](http://facebook.github.io/react-native/docs/linking-libraries-ios.html) | ||
### Installation (Android) | ||
@@ -57,2 +57,3 @@ #### Untested! | ||
Aes.generateKey("Arnold", function(key) { | ||
console.log(key); | ||
Aes.encrypt("These violent delights have violent ends", key, function(base64) { | ||
@@ -67,2 +68,3 @@ console.log(base64); | ||
console.log("encrypt error"); | ||
}); | ||
}, function() { | ||
@@ -69,0 +71,0 @@ console.log("generate key error"); |
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
57547
77