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

@noble/secp256k1

Package Overview
Dependencies
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@noble/secp256k1 - npm Package Compare versions

Comparing version 1.6.1 to 1.6.2

5

lib/esm/index.js

@@ -113,6 +113,3 @@ /*! noble-secp256k1 - MIT License (c) 2019 Paul Miller (paulmillr.com) */

let n = normalizeScalar(scalar);
const G = JacobianPoint.BASE;
const P0 = JacobianPoint.ZERO;
if (n === _0n)
return P0;
if (n === _1n)

@@ -890,2 +887,4 @@ return this;

const u2 = mod(r * sinv, n);
if (u1 === _0n)
return false;
const R = Point.BASE.multiplyAndAddUnsafe(P, u1, u2);

@@ -892,0 +891,0 @@ if (!R)

@@ -116,6 +116,3 @@ "use strict";

let n = normalizeScalar(scalar);
const G = JacobianPoint.BASE;
const P0 = JacobianPoint.ZERO;
if (n === _0n)
return P0;
if (n === _1n)

@@ -899,2 +896,4 @@ return this;

const u2 = mod(r * sinv, n);
if (u1 === _0n)
return false;
const R = Point.BASE.multiplyAndAddUnsafe(P, u1, u2);

@@ -901,0 +900,0 @@ if (!R)

2

package.json
{
"name": "@noble/secp256k1",
"version": "1.6.1",
"version": "1.6.2",
"description": "Fastest JS implementation of secp256k1. Independently audited, high-security, 0-dependency ECDSA & Schnorr signatures",

@@ -5,0 +5,0 @@ "files": [

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