coinbin
coinbin copied to clipboard
Use HMAC SHA-256 with configurable amount of rounds to generate seed
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.
Nice work.