fix: private key strength should be 256 bits. #429

Closed
susumuota wants to merge 1 commits from fix-private-key-strength into main
susumuota commented 2023-03-11 15:02:03 +00:00 (Migrated from github.com)

Hi! Thank you for creating a great client!

I think I found an issue about NIP-06 PR #425.

bip39.generateMnemonic(wordlist) generates 128 bit strength private keys.
In my opinion, it should be 256 bit if you replace secp.utils.randomPrivateKey() which generates 32 byte (256bit) private keys.

Hi! Thank you for creating a great client! I think I found an issue about NIP-06 PR #425. `bip39.generateMnemonic(wordlist)` generates 128 bit strength private keys. In my opinion, it should be 256 bit if you replace `secp.utils.randomPrivateKey()` which generates 32 byte (256bit) private keys.
v0l (Migrated from github.com) approved these changes 2023-03-11 16:43:34 +00:00

Pull request closed

Sign in to join this conversation.
No description provided.