Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

elliptic

Package Overview
Dependencies
Maintainers
1
Versions
85
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

elliptic - npm Package Compare versions

Comparing version 0.10.1 to 0.10.2

6

lib/elliptic/curve.js

@@ -136,3 +136,3 @@ var assert = require('assert');

this.precomputed = null;
};
}

@@ -323,3 +323,3 @@ Point.prototype.validate = function validate() {

this.precomputed = null;
};
}

@@ -356,3 +356,3 @@ JPoint.prototype.toP = function toP() {

// Use .dbl() explicitly
assert(this !== p)
assert(this !== p);

@@ -359,0 +359,0 @@ var pz2 = p.z.montSqr();

@@ -41,3 +41,3 @@ var assert = require('assert');

return crypto.randomBytes(n);
}
};
}

@@ -24,3 +24,3 @@ var assert = require('assert');

msg = msg.replace(/[^a-z0-9]+/ig, '');
if (msg.length % 2 != 0)
if (msg.length % 2 !== 0)
msg = '0' + msg;

@@ -27,0 +27,0 @@ for (var i = 0; i < msg.length; i += 2)

{
"name": "elliptic",
"version": "0.10.1",
"version": "0.10.2",
"description": "EC cryptography",

@@ -5,0 +5,0 @@ "main": "lib/elliptic.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