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

ecurve

Package Overview
Dependencies
Maintainers
5
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ecurve - npm Package Compare versions

Comparing version 0.8.0 to 0.9.0

4

CHANGELOG.md

@@ -0,1 +1,5 @@

0.9.0 / 2014-06-12
------------------
* broke compatibility, simplified fields on `Curve` class. [Daniel Cousens](https://github.com/cryptocoinjs/ecurve/pull/17)
0.8.0 / 2014-06-10

@@ -2,0 +6,0 @@ ------------------

12

lib/curve.js

@@ -12,9 +12,7 @@ var assert = require('assert')

this.b = b
this.G = Point.fromAffine(this, Gx, Gy),
this.n = n
this.h = h
this.infinity = new Point(this, null, null, BigInteger.ZERO)
this.params = {
G: Point.fromAffine(this, Gx, Gy),
h: h,
n: n
}
}

@@ -58,3 +56,3 @@

// Check nQ = O (where Q is a scalar multiple of G)
var nQ = Q.multiply(this.params.n)
var nQ = Q.multiply(this.n)
assert(this.isInfinity(nQ), 'Point is not a scalar multiple of G')

@@ -61,0 +59,0 @@

{
"name": "ecurve",
"version": "0.8.0",
"version": "0.9.0",
"description": "Elliptic curve cryptography",

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

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