UNPKG

5.76 kBMarkdownView Raw
11.0.4 / 2016-10-19
2------------------
3- mod optimization [#28]
4
51.0.3 / 2016-06-08
6------------------
7- removed testling
8- JavaScript Standard Style
9- fixed for Webpack
10
111.0.2 / 2015-08-27
12------------------
13- add license field
14- small cleanup in Point: https://github.com/cryptocoinjs/ecurve/pull/24
15
161.0.1 / 2015-02-02
17------------------
18- bugfix using bytelength in Point (https://github.com/cryptocoinjs/ecurve/commit/dd66233dac444e48ba937f1e7a91e568a67a442c)
19
201.0.0 / 2014-06-25
21------------------
22* removed curve `secp224r1` because we're using curve specific optimizations for other curves see [#21](https://github.com/cryptocoinjs/ecurve/issues/21)
23
240.10.0 / 2014-06-25
25-------------------
26* moved curves to json [Daniel Cousens](https://github.com/cryptocoinjs/ecurve/pull/18)
27* added jshint [Daniel Cousens](https://github.com/cryptocoinjs/ecurve/pull/20)
28* added NIST test vectors [Daniel Cousens](https://github.com/cryptocoinjs/ecurve/commit/a35b1e210e6da46f8823e4044c8862fa58c078d0)
29* added pointFromX() on `Curve` instance [Daniel Cousens](https://github.com/cryptocoinjs/ecurve/commit/91296c13bb1283480335264677458281f8d2a7df)
30
310.9.0 / 2014-06-12
32------------------
33* broke compatibility, simplified fields on `Curve` class. [Daniel Cousens](https://github.com/cryptocoinjs/ecurve/pull/17)
34
350.8.0 / 2014-06-10
36------------------
37* broke compatiblity, removed `Point` class from `Curve`. [Daniel Cousens](https://github.com/cryptocoinjs/ecurve/pull/16)
38
39no longer works:
40
41```js
42var Curve = require('ecurve').Curve
43var Point = Curve.Point
44```
45
46better way:
47
48```js
49var Curve = requre('ecurve').Curve
50var Point = require('ecurve').Point
51```
52
53
540.7.0 / 2014-06-10
55------------------
56* major clean up by [Daniel Cousens](https://github.com/cryptocoinjs/ecurve/pull/9)
57* removed semicolons as per http://cryptocoinjs.com/about/contributing/
58* removed `terst` and replaced with Node.js `assert` as per http://cryptocoinjs.com/about/contributing/
59* more clean up by [Daniel Cousens](https://github.com/cryptocoinjs/ecurve/pull/10)
60* `ECCurveFp` field `q` renamed to `p` / [Daniel Cousens](https://github.com/cryptocoinjs/ecurve/pull/10)
61* `ecparams` field `g` renamed to `G` / [Daniel Cousens](https://github.com/cryptocoinjs/ecurve/pull/10)
62* `ECFieldElementFp` shown unnecessary (deleted) / [Daniel Cousens](https://github.com/cryptocoinjs/ecurve/pull/11)
63* Chopped of all namespacing for function/class names. / [Daniel Cousens](https://github.com/cryptocoinjs/ecurve/pull/13)
64* Fixed validation and added method `isOnCurve()` / [Daniel Cousens](https://github.com/cryptocoinjs/ecurve/pull/12)
65* added methods `fromAffine()`, added properties `affineX` and `affineY` to `Point`. This is because
66`Point` internally stores coordinates as Jacobian. [Daniel Cousens](https://github.com/cryptocoinjs/ecurve/pull/14)
67* Renamed `getECParams()` to `getCurveByName()` [Daniel Cousens](https://github.com/cryptocoinjs/ecurve/pull/15)
68
690.6.0 / 2014-05-31
70------------------
71* broke compability to make module exporting more logical, so had to bump minor version.
72
730.5.0 / 2014-05-31
74------------------
75* added http://ci.testling.com support
76* changed `ECPointFP.decodeFrom()` to accept `Buffer` instead of `Array`. Thanks BitcoinJS devs / [Daniel Cousens](https://github.com/dcousens) :)
77* changed `ECPointFP.prototype.getEncoded()` to return a `Buffer` instead of an `Array`
78* added `compressed` property to instances of `ECPointFp`, set to `true` by default
79* `ECCurveFp.prototype.decodePointHex` removed. This change brings additonal clarity and removes untested (unused)
80portions of `decodePointHex`.
81
82Old way:
83
84```js
85var G = curve.decodePointHex("04"
86 + "79BE667EF9DCBBAC55A06295CE870B07029BFCDB2DCE28D959F2815B16F81798"
87 + "483ADA7726A3C4655DA4FBFC0E1108A8FD17B448A68554199C47D08FFB10D4B8");
88```
89
90New way:
91
92```js
93var x = BigInteger.fromHex("79BE667EF9DCBBAC55A06295CE870B07029BFCDB2DCE28D959F2815B16F81798")
94var y = BigInteger.fromHex("483ADA7726A3C4655DA4FBFC0E1108A8FD17B448A68554199C47D08FFB10D4B8")
95var G = new ECPointFp(curve, curve.fromBigInteger(x), curve.fromBigInteger(y));
96```
97
98* deleted file `util.js` which contained `integerToBytes(bigInt, sizeInBytes)`, new
99way: `[].slice.call(bigInt.toBuffer(sizeInBytes))`
100* removed unused methods: `ECPointFp.prototype.add2D`, `ECPointFp.prototype.twice2D`, and `ECPointFp.prototype.multiply2D`
101* renamed `getCurve()` to `getECParams()` to alleviate confusion:
102
103New way:
104
105```js
106var ecurve = require('ecurve')
107var ecparams = ecurve.getECParams('secp256k1')
108```
109
110* renamed result `ecparams` [names.js] object methods `getN()`, `getH()`, `getG()`, and `getCurve()` to properties `n`, `h`, `g`, `curve`. This isn't
111Java. JavaScript has excellent property support through `Object.defineProperty`.
112* renamed `ECCurveFp` methods `getQ()`, `getA()`, and `getB()` to properties. See justfication in previous change.
113
1140.4.0 / 2014-05-29
115------------------
116* moved module `ecurve-names` into this module
117* moved docs to cryptocoinjs.com
118* moved `ECFieldElementFp` to `field-element.js`
119* moved `ECPointFp` to `point.js`
120* moved `ECCurveFp` to `curve.js`
121* upgraded `bigi@0.2.x` to `bigi@^1.1.0`
122* added travis-ci and coveralls support
123
1240.3.2 / 2014-04-14
125------------------
126* bugfix: `decodeFrom` works with compressed keys, #8
127
1280.3.1 / 2014-03-13
129------------------
130* bug fix: `ECPointFp.decodeFrom` was incorrectly moved to `ECPointFp.prototype`
131
1320.3.0 / 2014-03-05
133------------------
134* Fixed point export format to adhere to SEC guidelines (Bug #2)
135* Removed AMD/Component support
136* added browser test
137
1380.2.0 / 2013-12-08
139------------------
140* changed dep to `bigi`
141
1420.1.0 / 2013-11-20
143------------------
144* changed package name
145* removed AMD support
146
1470.0.1 / 2013-11-06
148------------------
149* initial release