]> git.immae.eu Git - perso/Immae/Projets/Cryptomonnaies/BIP39.git/blobdiff - src/index.html
Add notes about card entropy
[perso/Immae/Projets/Cryptomonnaies/BIP39.git] / src / index.html
index f66d4ed655b3ca900ac2b5054c7a4fe75236c18a..e8e56be38e8ceedad19b52ec499c6c22326fd714 100644 (file)
@@ -3,7 +3,7 @@
     <head lang="en">
         <meta charset="utf-8" />
         <title>BIP39 - Mnemonic Code</title>
-        <link rel="stylesheet" href="css/bootstrap-3.3.7.css">
+        <link rel="stylesheet" href="css/bootstrap.css">
         <link rel="stylesheet" href="css/app.css">
         <meta content="Mnemonic code for generating deterministic keys" name="description"/>
         <meta content="width=device-width, initial-scale=1.0" name="viewport" />
                             </div>
                         </div>
                         <div class="form-group">
-                            <label for="phrase" class="col-sm-2 control-label">BIP39 Split Mnemonic</label>
+                            <div  class="splitMnemonic hidden">
+                                <label for="phrase" class="col-sm-2 control-label">BIP39 Split Mnemonic</label>
+                                <div class="col-sm-10">
+                                    <textarea id="phraseSplit" class="phraseSplit private-data form-control" title="Only 2 of 3 cards needed to recover." rows="3"></textarea>
+                                    <p class="help-block">
+                                        <span id="phraseSplitWarn" class="phraseSplitWarn"></span>
+                                    </p>
+                                </div>
+                            </div>
+                            <div class="col-sm-2">
+                            </div>
                             <div class="col-sm-10">
-                                <textarea id="phraseSplit" class="phraseSplit private-data form-control" title="Only 2 of 3 cards needed to recover." rows="3"></textarea>
-                                <p class="help-block">
-                                    <span id="phraseSplitWarn" class="phraseSplitWarn"></span>
-                                </p>
+                                <label class="control-label text-weight-normal">
+                                    <input type="checkbox" class="showSplitMnemonic">
+                                    Show split mnemonic cards
+                                </label>
                             </div>
                         </div>
                         <div class="form-group">
                     <p>
                         <a href="https://bitcointalk.org/index.php?topic=311000.msg3345309#msg3345309" target="_blank">You are not a good source of entropy.</a>
                     </p>
+                    <p>
+                        <span>Card entropy has been implemented assuming cards are replaced, not drawn one after another.</span>
+                        <span>A full deck with replacement generates 232 bits of entropy (21 words). A full deck without replacement generates 225 bits of entropy (21 words).</span>
+                        <span>Card entropy changed significantly from v0.4.3 to v0.5.0. The old version can be accessed at
+                            <a href="https://github.com/iancoleman/bip39/releases/tag/0.4.3">
+                                https://github.com/iancoleman/bip39/releases/tag/0.4.3
+                            </a>
+                            or
+                            <a href="https://web.archive.org/web/20201018232020/https://iancoleman.io/bip39/">
+                                https://web.archive.org/web/20201018232020/https://iancoleman.io/bip39/
+                            </a>
+                        </span>
+                    </p>
                     <h3>License</h3>
                     <p>
                     <span>Please refer to <a href="https://github.com/iancoleman/bip39/blob/master/LICENSE" target="_blank">the software license</a> for more detail.
                     on any offline computer.
                     </p>
                     <p>
-                    <span>Alternatively, download the file from the repository</span>
+                    <span>Alternatively, download the file from the latest GitHub release</span>
                     -
-                    <a href="https://github.com/iancoleman/bip39">https://github.com/iancoleman/bip39</a>
+                    <a href="https://github.com/iancoleman/bip39/releases/latest/">https://github.com/iancoleman/bip39/releases/latest/</a>
                     </p>
 
                 </div>
             </tr>
         </script>
         <script src="js/jquery-3.2.1.js"></script>
-        <script src="js/bootstrap-3.3.7.js"></script>
+        <script src="js/bootstrap.js"></script>
         <script src="js/bip39-libs.js"></script>
         <script src="js/bitcoinjs-extensions.js"></script>
         <script src="js/segwit-parameters.js"></script>