UNPKG

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