Socket
Socket
Sign inDemoInstall

react-native-rsa-native

Package Overview
Dependencies
0
Maintainers
1
Versions
37
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.1.2 to 1.1.3

2

index.d.ts

@@ -18,2 +18,3 @@ declare module 'react-native-rsa-native' {

export function verify(data: string, secretToVerify: string, key: string): Promise<boolean>;
export function verifyWithAlgorithm(data: string, secretToVerify: string, key: string, signature?: 'SHA256withRSA' | 'SHA512withRSA'): Promise<boolean>;
export const SHA256withRSA: string;

@@ -32,2 +33,3 @@ export const SHA512withRSA: string;

export function verify(data: string, secretToVerify: string, keyTag: string): Promise<boolean>;
export function verifyWithAlgorithm(data: string, secretToVerify: string, keyTag: string, signature?: 'SHA256withRSA' | 'SHA512withRSA'): Promise<boolean>;
export function getPublicKey(keyTag: string): Promise<string | undefined>;

@@ -34,0 +36,0 @@ export const SHA256withRSA: string;

2

package.json
{
"name": "react-native-rsa-native",
"version": "1.1.2",
"version": "1.1.3",
"description": "A native implementation of RSA key generation and encryption/decryption.",

@@ -5,0 +5,0 @@ "main": "index.js",

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc