UNPKG

2.81 kBMarkdownView Raw
10.6.0 / 2014-09-30
2------------------
3- dropped alternative curve support, only `secp256k1` for now; if we find we need others in the future we can just grab
4them from Git history
5- upgraded from `"ecurve": "^0.6.0"`to `"ecurve": "^1.0.0"`
6
7
80.5.3 / 2014-07-04
9------------------
10* bugfix: verify() should treat `hash` as a Buffer and as not a byte array, see #14
11
120.5.2 / 2014-07-03
13------------------
14* bugfix: `deterministicGenerateK()` now works with BigInteger instances of other `bigi` installations
15
160.5.1 / 2014-06-03
17------------------
18* mistakenly left `secure-random` as a production dependency, moved it to development dep
19
200.5.0 / 2014-06-02
21------------------
22* added Travis CI support
23* added Coveralls support
24* upgraded `~ecurve@0.3.2` to `^ecurve@0.6.0`
25* removed `ecurve-names` from dev deps
26* upgraded `~bigi@0.2.0` to `^bigi@1.1.0`
27* removed `sha256` from dev deps
28* changed the way the module should be used, old way was very cumbersome
29
30New Way:
31
32```js
33var ecdsa = require('ecdsa') //defaults to secp256k1 curve
34```
35
36if you want another curve:
37
38```js
39var ecdsa = require('ecdsa')('secp256r1')
40```
41
42* added `deterministicGenerateK()`, RFC 6979. See: https://github.com/cryptocoinjs/ecdsa/issues/4.
43* added `recoverPubKey()` from BitcoinJS / [Daniel Cousens](https://github.com/dcousens)
44* added `serializeSigCompact()` from BitcoinJS / [Daniel Cousens](https://github.com/dcousens)
45* changed method signature of `sign(hash, privateKeyBigInteger)` to sign(hash, privateKeyBuffer)`
46* `sign()` method now uses low `s` value: See: https://github.com/cryptocoinjs/ecdsa/issues/10
47* renamed `calcPubkeyRecoveryParam()` to `calcPubKeyRecoveryParam()`, changed signature
48* added Testling support
49
50
510.4.1 / 2014-04-14
52------------------
53* bugfix: `parseSigCompact()` referencing invalid `ecparams` #6
54* bugfix: `verify()` works with compressed keys #9
55* add browser tests
56
570.4.0 / 2014-03-13
58------------------
59* removed bower / component stuff. Still works with browser, just use `browserify`. Closes #3
60* moved from 4 spaces to 2 spaces (Node style)
61* made class based so that multiple instantiations can be made with different curves, i.e. not just tied to `secp256k1`. Closes #2
62 BREAKING CHANGE. Set `ECDSA.ecparams` before using `ECDSA`.
63
64* made class level methods so that existing code should work with very little modification
65* removed dependency upon `ecurve-names`
66* update deps: `secure-random` and `ecurve`. (will eventually removed secure-random)
67
680.3.0 / 2013-12-08
69------------------
70* upgraded deps (for `bigi`)
71
720.2.0 / 2013-12-07
73------------------
74* moved `recoverPubKey()` to package `eckey`
75* added test for `verify()` and `sign()`
76
770.1.0 / 2013-11-20
78------------------
79* changed package name
80* removed AMD support
81
82
830.0.1 / 2013-11-12
84------------------
85* initial release