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

elliptic

Package Overview
Dependencies
Maintainers
1
Versions
86
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.15.12 to 0.15.13

2

lib/elliptic/curve/short.js

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

step: pre.doubles.step,
step: pre.doubles.points.map(negate)
points: pre.doubles.points.map(negate)
}

@@ -468,0 +468,0 @@ };

{
"name": "elliptic",
"version": "0.15.12",
"version": "0.15.13",
"description": "EC cryptography",

@@ -5,0 +5,0 @@ "main": "lib/elliptic.js",

@@ -100,2 +100,11 @@ var assert = require('assert');

});
it('should store precomputed values correctly on negation', function() {
var curve = elliptic.curves.secp256k1.curve;
var p = curve.g.mul('2');
p.precompute();
var neg = p.neg(true);
var neg2 = neg.neg(true);
assert(p.eq(neg2));
});
});
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