react-native-rsa-native
Advanced tools
Comparing version 2.0.0 to 2.0.1
@@ -13,2 +13,3 @@ declare module 'react-native-rsa-native' { | ||
} | ||
type TypeCrypto = | ||
@@ -75,3 +76,3 @@ 'SHA256withRSA'| | ||
export { RSA, RSAKeychain }; | ||
export { RSA, RSAKeychain, KeyPair, CSRKey }; | ||
} |
{ | ||
"name": "react-native-rsa-native", | ||
"version": "2.0.0", | ||
"version": "2.0.1", | ||
"description": "A native implementation of RSA key generation and encryption/decryption.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -150,3 +150,3 @@ # react-native-rsa-native | ||
#### generateKeys | ||
`static generateKeys(keySize : number, keyTag : string) : Promise<PublicKey>` | ||
`static generateKeys(keyTag : string, keySize : number) : Promise<PublicKey>` | ||
@@ -159,3 +159,3 @@ Generate a public/private key pair of the given key size, | ||
Equivalent to `generateKeys(2048, keyTag)` | ||
Equivalent to `generateKeys(keyTag, 2048)` | ||
@@ -162,0 +162,0 @@ #### encrypt |
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
11022005