UNPKG

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