<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 class="container">
<h1 class="text-center">Mnemonic Code Converter</h1>
- <p class="version">v0.4.3</p>
+ <p class="version">v0.5.0</p>
<hr>
<div class="row">
<div class="col-md-12">
<a href="#italian" title="Italian">Italiano</a>
<a href="#korean" title="Korean">한국어</a>
<a href="#czech" title="Czech">Čeština</a>
+ <a href="#portuguese" title="Portuguese">Portuguese</a>
</div>
</div>
</div>
</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">
<textarea id="root-key" class="root-key private-data form-control" data-show-qr autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false"></textarea>
</div>
</div>
+
+ <div class="form-group">
+ <div class="col-sm-2"></div>
+ <div class="col-sm-10">
+ <label class="control-label text-weight-normal">
+ <input type="checkbox" class="showBip85" />
+ Show BIP85
+ </label>
+ </div>
+ </div>
+
+ <div class="form-group bip85 hidden">
+ <div class="form-group text-danger">
+ <label class="col-sm-2 control-label">Warning</label>
+ <div class="col-sm-10 form-control-static">
+ This is an advanced feature and should only be used if you understand what it does.
+ </div>
+ </div>
+ <div class="form-group">
+ <label class="col-sm-2"></label>
+ <div class="col-sm-10">
+ <p>
+ The value of the "BIP85 Child Key" field shown below is not used
+ elsewhere on this page. It can be used as a new key.
+ </p>
+ <p>
+ In case of the BIP39 application, you can paste it into the "BIP39 Mnemonic"
+ field to use it as a new mnemonic.
+ </p>
+ <p>
+ Please read the
+ <a href="https://github.com/bitcoin/bips/blob/master/bip-0085.mediawiki" target="_blank">
+ BIP85 spec
+ </a>
+ for more information.
+ </p>
+ </div>
+ </p>
+ <label for="bip85-application" class="col-sm-2 control-label">BIP85 Application</label>
+ <div class="col-sm-10">
+ <select id="bip85-application" class="form-control">
+ <option value="bip39" selected>BIP39</option>
+ <option value="wif">WIF</option>
+ <option value="xprv">Xprv</option>
+ <option value="hex">Hex</option>
+ </select>
+ </div>
+ </div>
+
+ <div class="form-group bip85 bip85-mnemonic-language-input hidden">
+ <label for="bip85-mnemonic-language" class="col-sm-2 control-label">BIP85 Mnemonic Language</label>
+ <div class="col-sm-10 languages">
+ <select id="bip85-mnemonic-language" class="strength form-control">
+ <option value="0" selected>English</option>
+ <!--<option value="1">日本語</option>
+ <option value="2">한국어</option>
+ <option value="3">Español</option>
+ <option value="4">中文(简体)</option>
+ <option value="5">中文(繁體)</option>
+ <option value="6">Français</option>
+ <option value="7">Italiano</option>
+ <option value="8">Čeština</option>-->
+ <option value="9">Portuguese</option>
+ </select>
+ </div>
+ </div>
+
+ <div class="form-group bip85 bip85-mnemonic-length-input hidden">
+ <label for="bip85-mnemonic-length" class="col-sm-2 control-label">BIP85 Mnemonic Length</label>
+ <div class="col-sm-10">
+ <select id="bip85-mnemonic-length" class="strength form-control">
+ <option value="12" selected>12</option>
+ <option value="18">18</option>
+ <option value="24">24</option>
+ </select>
+ </div>
+ </div>
+
+ <div class="form-group bip85 hidden">
+ <span class="bip85-bytes-input">
+ <label for="bip85-bytes" class="col-sm-2 control-label">BIP85 Bytes</label>
+ <div class="col-sm-10">
+ <input id="bip85-bytes" type="text" class="change form-control" value="64" />
+ </div>
+ </span>
+ </div>
+
+ <div class="form-group bip85 bip85-index-input hidden">
+ <label for="bip85-index" class="col-sm-2 control-label">BIP85 Index</label>
+ <div class="col-sm-10">
+ <input id="bip85-index" type="text" class="change form-control" value="0" />
+ </div>
+ </div>
+
+ <div class="form-group bip85 hidden">
+ <label for="phrase" class="col-sm-2 control-label">BIP85 Child Key</label>
+ <div class="col-sm-10">
+ <textarea
+ id="bip85Field"
+ data-show-qr
+ class="bip85Field private-data form-control"
+ title="BIP85 Child Key"
+ rows="3"
+ ></textarea>
+ </div>
+ </div>
+
<div class="form-group litecoin-ltub-container hidden">
<label for="litecoin-use-ltub" class="col-sm-2 control-label">Prefixes</label>
<div class="col-sm-10 checkbox">
Read more at the
<a href="https://github.com/bitcoin/bips/blob/master/bip-0049.mediawiki" target="_blank">official BIP49 spec</a>
</p>
+ <h3>BIP85 <span class="small">Deterministic Entropy From BIP32 Keychains</span></h3>
+ <p>
+ Read more at the
+ <a href="https://github.com/bitcoin/bips/blob/master/bip-0085.mediawiki" target="_blank">official BIP85 spec</a>
+ </p>
<h3 id="entropy-notes">Entropy</h3>
<p>
<span>Entropy values should not include the BIP39 checksum. This is automatically added by the tool.</span>
<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>
<script src="js/wordlist_italian.js"></script>
<script src="js/wordlist_korean.js"></script>
<script src="js/wordlist_czech.js"></script>
+ <script src="js/wordlist_portuguese.js"></script>
<script src="js/jsbip39.js"></script>
<script src="js/entropy.js"></script>
<script src="js/index.js"></script>