New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

cryptotranny

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cryptotranny - npm Package Compare versions

Comparing version 1.0.5 to 1.0.6

25

index.js

@@ -36,2 +36,6 @@ // Always use strict mode

});
this._socket.on ('close', () => {
this.emit ('disconnected');
});
}

@@ -44,2 +48,7 @@

}
// Destroy underlying sock connection
destroy () {
this._socket.destroy ();
}
}

@@ -53,3 +62,6 @@

// Private variables
// Public properties
this.pk = theirPk;
// Private properties
this._netConn = netConn;

@@ -69,2 +81,6 @@

});
this._netConn.on ('disconnected', () => {
this.emit ('disconnected');
});
}

@@ -109,2 +125,7 @@

}
// Destroy underlying netconn
destroy () {
this._netConn.destroy ();
}
}

@@ -156,4 +177,6 @@

function genKeyPair () {
// Generate keys using nacl
let naclKeyPair = nacl.box.keyPair ();
// Return in cryptotranny formatting
return {

@@ -160,0 +183,0 @@ pk : Buffer.from (naclKeyPair.publicKey),

2

package.json
{
"name": "cryptotranny",
"version": "1.0.5",
"version": "1.0.6",
"description": "Simple Cryptographic Transport",

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

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