Comments (4)
This is a good idea.
I can envisage a few different approaches:
- Use a
select
tag. However, this reduces flexibility. If someone wants a 48 or 300 word mnemonic, the number of options will have to be massive. - Add a
step="3"
attribute on the input so it only changes by multiples of 3. This doesn't assist with communicating the need for multiples of three, but it does allow for much more flexible mnemonic sizes. - Add
help-text
to the form, linking to the reason for multiples of three.
I prefer the step
attribute with help-text
; let me know your thoughts.
from bip39.
I think help-text is a good idea, but the bip32 spec is pretty unfriendly, so I would pare it down to the essentials. Either put it in a tooltip/mouseover, and/or if there is an faq put it in the faq and link to the full spec from the faq.
pared down explanation:
"Q: Why are bip32 pass phrases always a multiple of 3 words long?
A: bip32 entropy seeds are sequences of 32 bits of entropy and 1 bit of checksum, for a total of 33 bits for each chunk of the sequence. So seed is always 33*x bits total. Each passphrase word codes 11 bits, so pass phrases are 3 * x words long, for 3 * 11 * x bits total. BIP32 SPEC link. PS: Use 12 words for safety. 6 might be safe for small amounts of bitcoin, and 3 is definitely not safe!" with a link at the end there. "
from bip39.
No one is going to want more than 24 words mnemonic, that's just silly
https://en.wikipedia.org/wiki/Password_strength#Required_Bits_of_Entropy
Have options for 6, 12, 18, and 24 words. Good enough.
(12 words should be default imho.)
Select tag is fine, I guess either is fine really. (I didn't understand step = 3 plan tbh.)
from bip39.
Good point about required entropy.
I've kept the default strength as 15 based on #11
Thanks for your input!
from bip39.
Related Issues (20)
- Pressing Return while cursor is in the BIP85 Index field causes the page to generate entirely new random BIP39 Mnemonic
- Is Dice6 entropy calculated wrong? HOT 1
- Sending BTC to segwit bc1 adres generated under the ETH tab HOT 7
- Derived Addresses - Show more rows starting from index - differ with Electrum wallet starting from index 20 HOT 2
- Lost crypto. No private key HOT 2
- checksum issue HOT 1
- No more hash on Twitter? HOT 2
- PBKDF2 rounds selection doesn't work on mobile or small screen width devices
- Mixed casing in address hex text HOT 1
- Add balance option HOT 3
- why changing Derivation Path changes BIP32 Root Key HOT 2
- Generate button doesnโt work on safari for iOS and iPadOS HOT 8
- Can you add The Open Network(TON)?
- Needed: help extracting the js from the html for more general usage.
- bip38 ethereum encryption
- Ian Coleman can you help? Reward offered HOT 2
- looks like the `BIP39 Seed` part displays a 128 bytes-long string, whereas it should be only 64-long
- Can't find public key or eth address from coinomi HOT 1
- CopyCat Scam Website - What to do? HOT 2
- Electrum mnemonic HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bip39.