Conversation
4fdd437 to
a32c27c
Compare
|
@axic what is the main problem with the |
Real world samples are hard to find. |
adced59 to
9b26e23
Compare
|
@axic I'll leave this here for now, please review and don't close the issue, since this can be done incrementally. For me it was a good occasion to get to know the library a bit better, but other things are more pressing right now. |
|
@axic Can we have this merged? |
test/index.js
Outdated
| var fixturePrivKeyBuffer = Buffer.from(fixturePrivKey, 'hex') | ||
|
|
||
| var fixturePubKey = '5d4392f450262b276652c1fc037606abac500f3160830ce9df53aa70d95ce7cfb8b06010b2f3691c78c65c21eb4cf3dfdbfc0745d89b664ee10435bb3a0f906c' | ||
| var fixturePubKeyStr = '0x' + fixturePubKey |
There was a problem hiding this comment.
If Buffer isn't shortened, I'd have liked PublicKey, PublicKeyString and PublicKeyBuffer and same for private.
test/index.js
Outdated
| it('should work with PBKDF2', function () { | ||
| var key = Buffer.from('efca4cdd31923b50f4214af5d2ae10e7ac45a5019e9431cc195482d707485378', 'hex') | ||
| var key = Buffer.from(fixturePrivKey, 'hex') | ||
| var wallet = Wallet.fromPrivateKey(key) |
There was a problem hiding this comment.
This has been done on a later commit, comment is outdated.
test/index.js
Outdated
| it('should work with Scrypt', function () { | ||
| var key = Buffer.from('efca4cdd31923b50f4214af5d2ae10e7ac45a5019e9431cc195482d707485378', 'hex') | ||
| var key = Buffer.from(fixturePrivKey, 'hex') | ||
| var wallet = Wallet.fromPrivateKey(key) |
9b26e23 to
caa944c
Compare
|
@axic Ok, did the renaming. This should be ready now. Will rebase/update the release commit once you approve/merge this. |
caa944c to
adfc2ac
Compare
|
@axic Have got 15 min left, if you do a speed-review, I could prepare the other PR! :-) |
adfc2ac to
18ded5b
Compare
Adresses #26