Mnemonic seed words count #905
Replies: 5 comments
-
it looks like the library you are using is faulty the words count according to bip39 standard is dividable by 3 there for 22 is out of picture could you test other library like suggested in official bip39 doc |
Beta Was this translation helpful? Give feedback.
-
Number of seed words are depends of entropy bytes length. Right now the entropy length is fixed to 128 bits length which is enough secure What we can do is adding new argument to generate command. Default should be 128. User can change it within the inclusive range of {128, 256} but it should be multiple of 32: 128, 160, 192, 244, 256 |
Beta Was this translation helpful? Give feedback.
-
@b00f |
Beta Was this translation helpful? Give feedback.
-
based on my research library you have used https://github.com/tyler-smith/go-bip39 and test file: |
Beta Was this translation helpful? Give feedback.
-
@khaninejad actually bip39 is just a protocol to make encryption worthy seed based on re-callable words and as I know best wallets have their own wordlist so there is no guarantee that the words generated will result in same private key seed all over the world so I suggest you have your preference as long as the keys are retrievable on your own end everything is fine about 12 word it's bare minimum security but sure enough we need tighten it up |
Beta Was this translation helpful? Give feedback.
-
Hi,
I am implementing Mnemonic using the bip39-swift package, but when I input a private key for generating deterministic keys I have got 22 words but the Zarb-go library at validator setup and key generate gives me 12 words! How is that?
https://github.com/bitmark-inc/bip39-swift
Thank you
Beta Was this translation helpful? Give feedback.
All reactions