Socket
Socket
Sign inDemoInstall

rsa

Package Overview
Dependencies
0
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.0.2 to 0.0.3

test/getters.js

2

package.json
{
"name" : "rsa",
"version" : "v0.0.2",
"version" : "v0.0.3",
"description" : "OpenSSL's RSA encrypt/decrypt routines",

@@ -5,0 +5,0 @@ "keywords" : ["openssl", "crypto", "rsa"],

@@ -10,3 +10,3 @@ # node-rsa

See test/test.js.
See test/test.js and test/getters.js.

@@ -13,0 +13,0 @@ ## Node Versions

@@ -12,4 +12,5 @@ var

var rsaPrivate = fs.readFileSync("rsa.private", 'ascii');
var passphrase = "foobar";
var params = { publicKey: rsaPublic, privateKey: rsaPrivate, passphrase: "foobar" };
var params = { publicKey: rsaPublic, privateKey: rsaPrivate, passphrase: passphrase };
var keypair = rsa.createRsaKeypair(params);

@@ -37,2 +38,5 @@

// Check getters.
require("./getters").test(rsaPublic, rsaPrivate, passphrase);
console.log("done");

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

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