Added deterministic signing and added a public key class. Note that getPub should now be replaced with getPub().export('bytes')

This commit is contained in:
Vitalik Buterin 2014-01-04 13:26:03 -05:00
parent 02a8db111b
commit 30e8b572d6
7 changed files with 130 additions and 120 deletions

View file

@ -22,9 +22,13 @@ var endian = function (n) {
return n;
}
var Key = require('./eckey');
module.exports = {
Address: require('./address'),
Key: require('./eckey'),
Key: Key.ECKey,
ECKey: Key.ECKey,
ECPubKey: Key.ECPubKey,
Message: require('./message'),
BigInteger: require('./jsbn/jsbn'),
Crypto: require('./crypto-js/crypto'),