coinbin icon indicating copy to clipboard operation
coinbin copied to clipboard

Use HMAC SHA-256 with configurable amount of rounds to generate seed

Open ok2 opened this issue 4 years ago • 1 comments

With this change coinb.in uses the same mechanism to generate seed from a passphrase like https://bip32.org: 50000 rounds of HMAC SHA-256 encryption.

The amount of rounds is configurable and the value 0 results in the same mechanism as before for compatibility. The generated seed is also shown in WIF format, which is also with bitcoin-cli compatible. It is possible now to generate the same wallet using bitcoin-cli sethdseed true <seed_wif> command in bitcoin core.

To be really fully compatible with bitcoin-cli, the fix in #228 pull request is also required.

ok2 avatar Apr 05 '21 16:04 ok2

Nice work.

OutCast3k avatar May 04 '21 11:05 OutCast3k