X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=bip39-standalone.html;h=8476014d5debecb1b61b5310ad309b1a53b5becb;hb=55b592b498a57465b91bd8402d0d91324cc34cf9;hp=5993b86deaeb00886bd0a99997dd424b41335235;hpb=d737abf6809622228faf7d5fe54101e2d87d72a4;p=perso%2FImmae%2FProjets%2FCryptomonnaies%2FBIP39.git diff --git a/bip39-standalone.html b/bip39-standalone.html index 5993b86..8476014 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; @@ -58,6 +58,29 @@ .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; + } @@ -69,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

+
+
+
@@ -96,7 +121,76 @@
+ +
+
+
+ +
+
+
English @@ -357,6 +451,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. +

@@ -16045,7 +16157,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) @@ -16169,245 +16281,2241 @@ var Mnemonic = function(language) { } - + + +