Socket
Socket
Sign inDemoInstall

react-native-rsa-native

Package Overview
Dependencies
Maintainers
1
Versions
37
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-native-rsa-native - npm Package Compare versions

Comparing version 2.0.0 to 2.0.1

3

index.d.ts

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc