Socket
Socket
Sign inDemoInstall

elliptic

Package Overview
Dependencies
Maintainers
1
Versions
84
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 5.2.1 to 6.0.0

12

lib/elliptic/curve/short.js

@@ -154,7 +154,7 @@ 'use strict';

// Normalize signs
if (a1.sign) {
if (a1.negative) {
a1 = a1.neg();
b1 = b1.neg();
}
if (a2.sign) {
if (a2.negative) {
a2 = a2.neg();

@@ -227,8 +227,8 @@ b2 = b2.neg();

if (split.k1.sign) {
split.k1.sign = !split.k1.sign;
if (split.k1.negative) {
split.k1.ineg();
p = p.neg(true);
}
if (split.k2.sign) {
split.k2.sign = !split.k2.sign;
if (split.k2.negative) {
split.k2.ineg();
beta = beta.neg(true);

@@ -235,0 +235,0 @@ }

{
"name": "elliptic",
"version": "5.2.1",
"version": "6.0.0",
"description": "EC cryptography",

@@ -36,3 +36,3 @@ "main": "lib/elliptic.js",

"dependencies": {
"bn.js": "^3.1.1",
"bn.js": "^4.0.0",
"brorand": "^1.0.1",

@@ -39,0 +39,0 @@ "hash.js": "^1.0.0",

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