Commit Graph

8 Commits

Author SHA1 Message Date
Ryan X. Charles 343a6af7c3 add seed function to generate master privkey
This follows the spec of BIP32. With tests for main test vectors.
2014-03-28 18:46:09 -04:00
Ryan X. Charles 0eedeed449 add remaining public key derivation test vectors
...all pass in node and the browser.
2014-03-28 16:29:12 -04:00
Ryan X. Charles c03d3c5818 get BIP32 working in the browser by exposing more crypto 2014-03-27 23:34:17 -04:00
Ryan X. Charles 63ce079f2b change from under_scores to camelCase
camelCase is the bitcore way
2014-03-27 19:19:29 -04:00
Ryan X. Charles a4393c0657 update BIP32 to be able to derive pubkeys
...using the new addCompressed interface in Key.js
2014-03-23 15:12:52 -07:00
Ryan X. Charles b7550fc862 add convenience constructor for making new bip32s
Added the ability to create a new master bip32 with new private key and chain code. The way this works is like this:

var bip32 = new BIP32('mainnet');

or:

var bip32 = new BIP32('testnet');
2014-03-22 16:16:58 -07:00
Ryan X. Charles 47fe12ea19 all vector 2 tests work 2014-03-22 16:16:58 -07:00
Ryan X. Charles 22b57feb7b Get test vector 1 working in node 2014-03-22 16:16:22 -07:00