X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=bip39-standalone.html;h=8094f7c7737d147beb006a3581ad7cc5e9852df2;hb=a3a61b68d11a9e71ac9707f2d5aed96f5d86f1eb;hp=62bd43c7a17c8c21d7d804c1766fb8d291eef5b6;hpb=1b12b2f5f12b32a2ed6e69ff77f10b889b383e97;p=perso%2FImmae%2FProjets%2FCryptomonnaies%2FBIP39.git diff --git a/bip39-standalone.html b/bip39-standalone.html index 62bd43c..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,7 +121,70 @@
+ +
+
+
+ +
+
+
English @@ -311,7 +402,7 @@
- +             @@ -354,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. +

@@ -16042,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) @@ -16166,234 +16275,2188 @@ var Mnemonic = function(language) { } - + +