X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=bip39-standalone.html;h=8094f7c7737d147beb006a3581ad7cc5e9852df2;hb=b6dbc2a1aea8eeab2d41a4d44f9d7522ecc59a50;hp=5af997581087de8c37181ca057b1e60cca49aeb2;hpb=0515eeec0ef7b7c84d0802e29f47ef2220db8808;p=perso%2FImmae%2FProjets%2FCryptomonnaies%2FBIP39.git diff --git a/bip39-standalone.html b/bip39-standalone.html index 5af9975..8094f7c 100644 --- a/bip39-standalone.html +++ b/bip39-standalone.html @@ -47,7 +47,7 @@ .phrase { word-break: keep-all; } - .strength { + .generate-container .strength { /* override mobile width from bootstrap */ width: auto!important; display: inline-block; @@ -55,6 +55,32 @@ .languages * { padding-left: 10px; } + .monospace { + font-family: monospace; + } + .entropy-container .filtered, + .entropy-container .binary { + word-wrap: break-word; + } + .entropy-container li { + padding-bottom: 5px; + } + .card-suit { + font-size: 19px; + line-height: 0; + } + .card-suit.club { + color: #009F00; + } + .card-suit.diamond { + color: #3D5DC4; + } + .card-suit.heart { + color: #F00; + } + .card-suit.spade { + color: #000; + } @@ -66,12 +92,14 @@

Mnemonic

-
-
-

You can enter an existing BIP39 mnemonic, or generate a new random one. Typing your own twelve words will probably not work how you expect, since the words require a particular structure (the last word is a checksum)

-

For more info see the BIP39 spec

-
+
+
+

You can enter an existing BIP39 mnemonic, or generate a new random one. Typing your own twelve words will probably not work how you expect, since the words require a particular structure (the last word is a checksum)

+

For more info see the BIP39 spec

+
+
+
@@ -93,12 +121,74 @@
+ +
+
+
+ +
+
+
+ +
+ Public Key   + +
+
Private Key   @@ -306,7 +402,7 @@
- +             @@ -349,6 +445,24 @@ but be careful - it can be easy to make mistakes if you don't know what you're doing

+

Entropy

+

+ Entropy values must be sourced from a + strong source of randomness. + This means flipping a fair coin, rolling a fair dice, noise measurements etc. Do NOT use + phrases from books, lyrics from songs, your birthday or steet address, keyboard mashing, or anything you think + is random, because chances are overwhelming that it isn't random enough for the needs of this tool. +

+

+ The random mnemonic generator on this page uses a + cryptographically secure random number generator, + and can generally be trusted more than your own intuition about randomness. + If cryptographic randomness isn't available in your browser, this page will show a warning and will not generate + random mnemonics. +

+

+ You are not a good source of entropy. +

@@ -443,6 +557,7 @@ + @@ -16036,7 +16151,7 @@ var Mnemonic = function(language) { self.check = function(mnemonic) { var mnemonic = self.splitWords(mnemonic); - if (mnemonic.length % 3 > 0) { + if (mnemonic.length == 0 || mnemonic.length % 3 > 0) { return false } // idx = map(lambda x: bin(self.wordlist.index(x))[2:].zfill(11), mnemonic) @@ -16160,230 +16275,2192 @@ var Mnemonic = function(language) { } - + +