X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=bip39-standalone.html;h=b7471d0abb38061e090e5f4c3fb942e0cc76fdd8;hb=0a84fe6ae178e6952c17e4208de8b405e5da55a8;hp=5af997581087de8c37181ca057b1e60cca49aeb2;hpb=0515eeec0ef7b7c84d0802e29f47ef2220db8808;p=perso%2FImmae%2FProjets%2FCryptomonnaies%2FBIP39.git diff --git a/bip39-standalone.html b/bip39-standalone.html index 5af9975..b7471d0 100644 --- a/bip39-standalone.html +++ b/bip39-standalone.html @@ -55,6 +55,9 @@ .languages * { padding-left: 10px; } + .monospace { + font-family: monospace; + } @@ -66,12 +69,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 +98,85 @@
+ +
+
+
+ +
+
+
+ +
+ Public Key   + +
+
Private Key   @@ -306,7 +390,7 @@
- +             @@ -349,6 +433,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 +545,7 @@ + @@ -16036,7 +16139,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,223 +16263,2176 @@ var Mnemonic = function(language) { } - + +