status-go/extkeys
Andrea Franz 52cdcf8f0f
wallet compatibility (#858)
* update master key generations using "Bitcoin seed" as hmac key following BIP32

* use `"mnemonic" + passphrase` as salt for pbkdf2 following BIP39

* test generated addresses and compatibility with BIP44

* check generated public keys

* test children private keys

* update MasterKey to be a constant

* don't export salt and masterKey constants

* use `crypto.FromECDSA` to get the hex representation of the priv key

* use empty pwd for the generation of the BIP39 seed, keeping pwd to encrypt keys

* add comment before the seed generation with empty passphrase
2018-05-14 19:13:56 +02:00
..
hdkey.go wallet compatibility (#858) 2018-05-14 19:13:56 +02:00
hdkey_test.go wallet compatibility (#858) 2018-05-14 19:13:56 +02:00
mnemonic.go wallet compatibility (#858) 2018-05-14 19:13:56 +02:00
mnemonic_test.go wallet compatibility (#858) 2018-05-14 19:13:56 +02:00
mnemonic_vectors.json wallet compatibility (#858) 2018-05-14 19:13:56 +02:00
utils.go Fix make lint warnings (#417) 2017-10-20 12:06:22 +03:00