]> git.immae.eu Git - perso/Immae/Projets/Cryptomonnaies/BIP39.git/blame - src/index.html
Ethereum compiled into standalone
[perso/Immae/Projets/Cryptomonnaies/BIP39.git] / src / index.html
CommitLineData
ebd8d4e8
IC
1<!DOCTYPE html>
2<html>
3 <head lang="en">
4 <meta charset="utf-8" />
5 <title>BIP39 - Mnemonic Code</title>
cee442b1 6 <link rel="stylesheet" href="css/bootstrap.min.css">
ebd8d4e8
IC
7 <meta content="Mnemonic code for generating deterministic keys" name="description"/>
8 <meta content="width=device-width, initial-scale=1.0" name="viewport" />
9 <meta content="bitcoin mnemonic converter" name="description" />
b630f83d 10 <meta content="Ian Coleman" name="author" />
ebd8d4e8
IC
11
12 <style>
f52dcdbd
IC
13 body {
14 padding-bottom: 32px;
15 }
d198865f
IC
16 .form-control[readonly] {
17 cursor: text;
dd566a1e 18 }
ebd8d4e8
IC
19 .feedback-container {
20 position: fixed;
21 top: 0;
22 width: 100%;
23 text-align: center;
24 z-index: 4;
25 }
26 .feedback {
27 display: table;
28 padding: 0.5em 1em;
29 background-color: orange;
30 margin: 0 auto;
31 font-size: 2em;
32 color: #444;
33 border: 2px solid #555;
34 border-top: 0;
35 border-bottom-left-radius: 20px 20px;
36 border-bottom-right-radius: 20px 20px;
37 }
55a9e51a
IC
38 .no-border {
39 border: 0;
40 box-shadow: inset 0 1px 1px rgba(0,0,0,.0);
41 -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.0);
42 }
5ee7bb9e
IC
43 .phrase {
44 word-break: keep-all;
45 }
0a84fe6a 46 .generate-container .strength {
b0818b31
IC
47 /* override mobile width from bootstrap */
48 width: auto!important;
49 display: inline-block;
50 }
60599f7a 51 .languages a {
7c31e3cd
IC
52 padding-left: 10px;
53 }
60599f7a
IC
54 .languages a:nth-of-type(1) {
55 margin-left: -12px;
56 padding-left: 0;
57 }
d737abf6
IC
58 .monospace {
59 font-family: monospace;
60 }
0a84fe6a
IC
61 .entropy-container .filtered,
62 .entropy-container .binary {
63 word-wrap: break-word;
64 }
65 .entropy-container li {
66 padding-bottom: 5px;
67 }
b54c1218 68 .card-suit {
b2d61f56 69 font-size: 19px;
b54c1218
IC
70 line-height: 0;
71 }
72 .card-suit.club {
73 color: #009F00;
74 }
75 .card-suit.diamond {
76 color: #3D5DC4;
77 }
78 .card-suit.heart {
79 color: #F00;
80 }
81 .card-suit.spade {
82 color: #000;
83 }
e00964cc
IC
84 .qr-container {
85 position: fixed;
86 top: 0;
87 right: 0;
88 text-align: center;
89 background-color: #FFF;
90 border: 1px solid #CCC;
91 }
92 .qr-image {
93 margin: 5px;
94 }
97811c29
IC
95 .qr-hint,
96 .qr-warning {
e00964cc 97 padding: 2px;
97811c29 98 max-width: 150px;
e00964cc 99 }
e5abab42
IC
100 .more-info {
101 cursor: help;
102 border-bottom: 1px dashed #000;
103 text-decoration: none;
104 }
ebd8d4e8
IC
105 </style>
106 </head>
107 <body>
108 <div class="container">
109
110 <h1 class="text-center">Mnemonic Code Converter</h1>
111 <hr>
112 <div class="row">
113 <div class="col-md-12">
d4779799 114 <h2>Mnemonic</h2>
ebd8d4e8 115 <form class="form-horizontal" role="form">
ebd8d4e8 116 <div class="form-group">
c6624d51
IC
117 <div class="col-sm-2"></div>
118 <div class="col-sm-10">
60599f7a
IC
119 <p data-translate>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).</p>
120 <p data-translate-html>
121 For more info see the
122 <a href="https://github.com/bitcoin/bips/blob/master/bip-0039.mediawiki" target="_blank">BIP39 spec</a>.
123 </p>
c6624d51
IC
124 </div>
125 </div>
126 <div class="form-group generate-container">
b0818b31 127 <label class="col-sm-2 control-label"></label>
ebd8d4e8 128 <div class="col-sm-10">
b0818b31
IC
129 <div class="form-inline">
130 <div class="input-group-inline">
60599f7a 131 <span data-translate>Generate a random mnemonic, or enter your own below</span>:
b0818b31 132 <button class="btn generate">Generate</button>
b0818b31
IC
133 <select id="strength" class="strength form-control">
134 <option value="3">3</option>
135 <option value="6">6</option>
136 <option value="9">9</option>
137 <option value="12">12</option>
138 <option value="15" selected>15</option>
139 <option value="18">18</option>
140 <option value="21">21</option>
141 <option value="24">24</option>
142 </select>
60599f7a 143 <span data-translate>words</span>
b0818b31
IC
144 </div>
145 </div>
ebd8d4e8 146 </div>
7c31e3cd 147 </div>
c6624d51 148 <div class="entropy-container hidden">
0a84fe6a 149 <div class="form-group text-danger">
60599f7a 150 <label class="col-sm-2 control-label" data-translate>Warning</label>
0a84fe6a 151 <div class="col-sm-10 form-control-static">
60599f7a
IC
152 <span data-translate>Entropy is an advanced feature. Your mnemonic may be insecure if this feature is used incorrectly.</span>
153 <a href="#entropy-notes" data-translate>Read more</a>
439f0e25 154 </div>
1cf1bbaf 155 </div>
0a84fe6a 156 <div class="form-group">
60599f7a 157 <label for="entropy" class="col-sm-2 control-label" data-translate>Entropy</label>
0a84fe6a 158 <div class="col-sm-7">
60599f7a 159 <textarea id="entropy" rows="2" class="entropy form-control" placeholder="Accepts binary, base 6, 6-sided dice, base 10, hexadecimal, cards" data-translate-placeholder></textarea>
a3a61b68 160 <div class="row">
60599f7a 161 <label class="col-sm-3 control-label" data-translate>Strength</label>
a3a61b68 162 <div class="strength col-sm-3 form-control-static"></div>
60599f7a 163 <label class="col-sm-3 control-label" data-translate>Event Count</label>
a3a61b68
IC
164 <div class="event-count col-sm-3 form-control-static"></div>
165 </div>
166 <div class="row">
60599f7a 167 <label class="col-sm-3 control-label" data-translate>Entropy Type</label>
a3a61b68 168 <div class="type col-sm-3 form-control-static"></div>
60599f7a 169 <label class="col-sm-3 control-label" data-translate>Bits Per Event</label>
a3a61b68
IC
170 <div class="bits-per-event col-sm-3 form-control-static"></div>
171 </div>
172 <div class="row">
60599f7a 173 <label class="col-sm-3 control-label" data-translate>Word Count</label>
a3a61b68 174 <div class="word-count col-sm-3 form-control-static"></div>
e5abab42 175 <label class="col-sm-3 control-label" data-translate><span class="more-info" data-translate-title title="Total bits of entropy may be less than indicated if any entropy event uses a weak source.">Total Bits</span></label>
a3a61b68
IC
176 <div class="bits col-sm-3 form-control-static"></div>
177 </div>
60599f7a 178 <label class="col-sm-3 control-label" data-translate>Filtered Entropy</label>
0a84fe6a 179 <div class="filtered col-sm-9 form-control-static"></div>
60599f7a 180 <label class="col-sm-3 control-label" data-translate>Raw Binary</label>
0a84fe6a 181 <div class="binary col-sm-9 form-control-static"></div>
60599f7a 182 <label class="col-sm-3 control-label" data-translate>Mnemonic Length</label>
0a84fe6a 183 <div class="col-sm-9">
1cf1bbaf 184 <select class="mnemonic-length form-control">
5ed50bd9 185 <option value="raw" selected data-translate>Use Raw Entropy (3 words per 32 bits)</option>
60599f7a 186 <option value="12">12 <span data-translate>Words</span></option>
5ed50bd9 187 <option value="15">15 <span data-translate>Words</option>
60599f7a
IC
188 <option value="18">18 <span data-translate>Words</span></option>
189 <option value="21">21 <span data-translate>Words</span></option>
190 <option value="24">24 <span data-translate>Words</span></option>
1cf1bbaf 191 </select>
c6624d51 192 </div>
1cf1bbaf 193 </div>
0a84fe6a 194 <div class="col-sm-3">
60599f7a 195 <p data-translate>Valid entropy values include:</p>
0a84fe6a 196 <ul>
60599f7a
IC
197 <li><strong data-translate>Binary</strong> [0-1]<br>101010011</li>
198 <li><strong data-translate>Base 6</strong> [0-5]<br>123434014</li>
199 <li><strong data-translate>Dice</strong> [1-6]<br>62535634</li>
200 <li><strong data-translate>Base 10</strong> [0-9]<br>90834528</li>
201 <li><strong data-translate>Hex</strong> [0-9A-F]<br>4187a8bfd9</li>
202 <li><strong data-translate>Card</strong> [A2-9TJQK][CDHS]<br>ahqs9dtc</li>
0a84fe6a
IC
203 </ul>
204 </div>
c6624d51
IC
205 </div>
206 </div>
207 <div class="form-group">
208 <div class="col-sm-2"></div>
209 <div class="col-sm-10 checkbox">
210 <label>
211 <input type="checkbox" class="use-entropy">
60599f7a 212 <span data-translate>Supply my own source of entropy</span>
c6624d51
IC
213 </label>
214 </div>
215 </div>
216 <div class="form-group">
60599f7a 217 <label class="col-sm-2 control-label" data-translate>Mnemonic Language</label>
7c31e3cd 218 <div class="col-sm-10 languages">
60599f7a
IC
219 <div class="form-control no-border">
220 <a href="#english">English</a>
221 <a href="#japanese" title="Japanese">日本語</a>
222 <a href="#spanish" title="Spanish">Español</a>
223 <a href="#chinese_simplified" title="Chinese (Simplified)">中文(简体)</a>
224 <a href="#chinese_traditional" title="Chinese (Traditional)">中文(繁體)</a>
225 <a href="#french" title="French">Français</a>
226 <a href="#italian" title="Italian">Italiano</a>
227 </div>
7c31e3cd 228 </div>
ebd8d4e8
IC
229 </div>
230 <div class="form-group">
60599f7a 231 <label for="phrase" class="col-sm-2 control-label" data-translate>BIP39 Mnemonic</label>
ebd8d4e8 232 <div class="col-sm-10">
e00964cc 233 <textarea id="phrase" class="phrase form-control" data-show-qr></textarea>
ebd8d4e8
IC
234 </div>
235 </div>
1abcc511 236 <div class="form-group">
60599f7a 237 <label for="passphrase" class="col-sm-2 control-label" data-translate>BIP39 Passphrase (optional)</label>
1abcc511
PR
238 <div class="col-sm-10">
239 <textarea id="passphrase" class="passphrase form-control"></textarea>
240 </div>
241 </div>
3e0ed16a 242 <div class="form-group">
60599f7a 243 <label for="seed" class="col-sm-2 control-label" data-translate>BIP39 Seed</label>
3e0ed16a 244 <div class="col-sm-10">
e00964cc 245 <textarea id="seed" class="seed form-control" readonly="readonly" data-show-qr></textarea>
3e0ed16a
KK
246 </div>
247 </div>
4d457a38 248 <div class="form-group">
60599f7a 249 <label for="network-phrase" class="col-sm-2 control-label" data-translate>Coin</label>
4d457a38
IC
250 <div class="col-sm-10">
251 <select id="network-phrase" class="network form-control">
7f15cb6e 252 <!-- populated by javascript -->
4d457a38
IC
253 </select>
254 </div>
255 </div>
ebd8d4e8 256 <div class="form-group">
60599f7a 257 <label for="root-key" class="col-sm-2 control-label" data-translate>BIP32 Root Key</label>
ebd8d4e8 258 <div class="col-sm-10">
e00964cc 259 <textarea id="root-key" class="root-key form-control" data-show-qr></textarea>
ebd8d4e8
IC
260 </div>
261 </div>
262 </form>
263 </div>
264 </div>
265
266 <hr>
267
268 <div class="row">
269 <div class="col-md-12">
270 <h2>Derivation Path</h2>
271 <ul class="derivation-type nav nav-tabs" role="tablist">
55a9e51a 272 <li id="bip44-tab" class="active">
23d4a0f1
IC
273 <a href="#bip44" role="tab" data-toggle="tab">BIP44</a>
274 </li>
3b40653f 275 <li id="bip32-tab">
23d4a0f1
IC
276 <a href="#bip32" role="tab" data-toggle="tab">BIP32</a>
277 </li>
ebd8d4e8
IC
278 </ul>
279 <div class="derivation-type tab-content">
55a9e51a 280 <div id="bip44" class="tab-pane active">
ebd8d4e8
IC
281 <form class="form-horizontal" role="form">
282 <br>
283 <div class="col-sm-2"></div>
284 <div class="col-sm-10">
60599f7a
IC
285 <p data-translate-html>
286 For more info see the
287 <a href="https://github.com/bitcoin/bips/blob/master/bip-0044.mediawiki" target="_blank">BIP44 spec</a>.
288 </p>
ebd8d4e8
IC
289 </div>
290 <div class="form-group">
291 <label for="purpose" class="col-sm-2 control-label">
60599f7a 292 <a href="https://github.com/bitcoin/bips/blob/master/bip-0044.mediawiki#purpose" target="_blank" data-translate>Purpose</a>
ebd8d4e8
IC
293 </label>
294 <div class="col-sm-10">
295 <input id="purpose" type="text" class="purpose form-control" value="44">
296 </div>
297 </div>
298 <div class="form-group">
299 <label for="coin" class="col-sm-2 control-label">
60599f7a 300 <a href="https://github.com/bitcoin/bips/blob/master/bip-0044.mediawiki#registered-coin-types" target="_blank" data-translate>Coin</a>
ebd8d4e8
IC
301 </label>
302 <div class="col-sm-10">
303 <input id="coin" type="text" class="coin form-control" value="0">
304 </div>
305 </div>
306 <div class="form-group">
307 <label for="account" class="col-sm-2 control-label">
60599f7a 308 <a href="https://github.com/bitcoin/bips/blob/master/bip-0044.mediawiki#account" target="_blank" data-translate>Account</a>
ebd8d4e8
IC
309 </label>
310 <div class="col-sm-10">
311 <input id="account" type="text" class="account form-control" value="0">
312 </div>
313 </div>
314 <div class="form-group">
315 <label for="change" class="col-sm-2 control-label">
60599f7a 316 <a href="https://github.com/bitcoin/bips/blob/master/bip-0044.mediawiki#change" target="_blank" data-translate>External / Internal</a>
ebd8d4e8
IC
317 </label>
318 <div class="col-sm-10">
319 <input id="change" type="text" class="change form-control" value="0">
320 </div>
321 </div>
c554e6ff
IC
322 <div class="form-group">
323 <label class="col-sm-2 control-label">
324 </label>
325 <div class="col-sm-10">
f3bfd2a5 326 <p data-translate>The account extended keys can be used for importing to most BIP44 compatible wallets, such as mycelium or electrum.</p>
c554e6ff
IC
327 </div>
328 </div>
329 <div class="form-group">
330 <label for="account-xprv" class="col-sm-2 control-label">
331 <span data-translate>Account Extended Private Key</span>
332 </label>
333 <div class="col-sm-10">
334 <textarea id="account-xprv" type="text" class="account-xprv form-control" readonly data-show-qr></textarea>
335 </div>
336 </div>
337 <div class="form-group">
338 <label for="account-xpub" class="col-sm-2 control-label">
339 <span data-translate>Account Extended Public Key</span>
340 </label>
341 <div class="col-sm-10">
342 <textarea id="account-xpub" type="text" class="account-xpub form-control" readonly data-show-qr></textarea>
343 </div>
344 </div>
345 <div class="form-group">
346 <label class="col-sm-2 control-label">
347 </label>
348 <div class="col-sm-10">
349 <p data-translate>The BIP32 derivation path and extended keys are the basis for the derived addresses.</p>
350 </div>
351 </div>
ebd8d4e8 352 <div class="form-group">
60599f7a 353 <label for="bip44-path" class="col-sm-2 control-label" data-translate>BIP32 Derivation Path</label>
ebd8d4e8 354 <div class="col-sm-10">
d198865f 355 <input id="bip44-path" type="text" class="path form-control" value="m/44'/0'/0'/0" readonly="readonly">
ebd8d4e8
IC
356 </div>
357 </div>
358 </form>
359 </div>
360 <div id="bip32" class="tab-pane">
361 <form class="form-horizontal" role="form">
362 <br>
363 <div class="col-sm-2"></div>
364 <div class="col-sm-10">
60599f7a
IC
365 <p data-translate>
366 For more info see the
367 <a href="https://github.com/bitcoin/bips/blob/master/bip-0032.mediawiki" target="_blank">BIP32 spec</a>
368 </p>
ebd8d4e8
IC
369 </div>
370 <div class="form-group">
60599f7a 371 <label for="bip32-path" class="col-sm-2 control-label" data-translate>BIP32 Derivation Path</label>
ebd8d4e8
IC
372 <div class="col-sm-10">
373 <input id="bip32-path" type="text" class="path form-control" value="m/0">
374 </div>
375 </div>
146e089e
IC
376 <div class="form-group">
377 <div class="col-sm-2"></div>
378 <label class="col-sm-10">
379 <input class="hardened-addresses" type="checkbox">
60599f7a 380 <span data-translate>Use hardened addresses</span>
146e089e
IC
381 </label>
382 </div>
8786746b 383 <div class="form-group">
60599f7a 384 <label for="core-path" class="col-sm-2 control-label" data-translate>Bitcoin Core</label>
8786746b 385 <div class="col-sm-10">
60599f7a 386 <p class="form-control no-border" data-translate-html>
8786746b 387 Use path <code>m/0'/0'</code> with hardened addresses.
ea12c8a9 388 </p>
60599f7a
IC
389 <p class="form-control no-border" data-translate-html>
390 For more info see the
391 <a href="https://github.com/bitcoin/bitcoin/pull/8035" target="_blank">Bitcoin Core BIP32 implementation</a>
8786746b
IC
392 </p>
393 </div>
394 </div>
aa51da11 395 <div class="form-group">
60599f7a 396 <label class="col-sm-2 control-label" data-translate>Block Explorers</label>
aa51da11
IC
397 <div class="col-sm-10">
398 <p class="form-control no-border">
60599f7a
IC
399 <span data-translate-html>Use path <code>m/44'/0'/0'</code>.</span>
400 <span data-translate-html>Only enter the <code>xpub</code> extended key into block explorer search fields, never the <code>xprv</code> key.</span>
ea12c8a9
IC
401 </p>
402 <p class="form-control no-border">
60599f7a
IC
403 <span data-translate>Can be used with</span>:
404 <a href="https://blockchain.info/" target="_blank">blockchain.info</a>
aa51da11
IC
405 </p>
406 </div>
407 </div>
ebd8d4e8
IC
408 </form>
409 </div>
410 </div>
411 <form class="form-horizontal" role="form">
412 <div class="form-group">
c554e6ff 413 <label for="extended-priv-key" class="col-sm-2 control-label" data-translate>BIP32 Extended Private Key</label>
ebd8d4e8 414 <div class="col-sm-10">
e00964cc 415 <textarea id="extended-priv-key" class="extended-priv-key form-control" readonly="readonly" data-show-qr></textarea>
ebd8d4e8
IC
416 </div>
417 </div>
418 <div class="form-group">
c554e6ff 419 <label for="extended-pub-key" class="col-sm-2 control-label" data-translate>BIP32 Extended Public Key</label>
ebd8d4e8 420 <div class="col-sm-10">
e00964cc 421 <textarea id="extended-pub-key" class="extended-pub-key form-control" readonly="readonly" data-show-qr></textarea>
ebd8d4e8
IC
422 </div>
423 </div>
424 </form>
425 </div>
426 </div>
427
428 <hr>
429
430 <div class="row">
431 <div class="col-md-12">
432 <h2>Derived Addresses</h2>
60599f7a 433 <p data-translate>Note these addreses are derived from the BIP32 Extended Key</p>
ebd8d4e8
IC
434 <table class="table table-striped">
435 <thead>
436 <th>
437 <div class="input-group">
60599f7a
IC
438 <span data-translate>Path</span>&nbsp;&nbsp;
439 <button class="index-toggle" data-translate>Toggle</button>
ebd8d4e8
IC
440 </div>
441 </th>
442 <th>
443 <div class="input-group">
60599f7a
IC
444 <span data-translate>Address</span>&nbsp;&nbsp;
445 <button class="address-toggle" data-translate>Toggle</button>
ebd8d4e8
IC
446 </div>
447 </th>
1b12b2f5
IC
448 <th>
449 <div class="input-group">
60599f7a
IC
450 <span data-translate>Public Key</span>&nbsp;&nbsp;
451 <button class="public-key-toggle" data-translate>Toggle</button>
1b12b2f5
IC
452 </div>
453 </th>
ebd8d4e8
IC
454 <th>
455 <div class="input-group">
60599f7a
IC
456 <span data-translate>Private Key</span>&nbsp;&nbsp;
457 <button class="private-key-toggle" data-translate>Toggle</button>
ebd8d4e8
IC
458 </div>
459 </th>
460 </thead>
d737abf6 461 <tbody class="addresses monospace">
a0a19620
IC
462 <tr><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td></tr>
463 <tr><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td></tr>
464 <tr><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td></tr>
465 <tr><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td></tr>
466 <tr><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td></tr>
ebd8d4e8
IC
467 </tbody>
468 </table>
469 </div>
470 </div>
60599f7a 471 <span data-translate>Show more rows</span>:
ebd8d4e8 472 <input type="number" class="rows-to-add" value="20">
60599f7a 473 <button class="more" data-translate>Show</button>
ebd8d4e8
IC
474
475 <hr>
476
477 <div class="row">
478 <div class="col-md-12">
60599f7a
IC
479 <h2 data-translate>More info</h2>
480 <h3>BIP39 <span class="small" data-translate>Mnemonic code for generating deterministic keys</span></h3>
481 <p data-translate-html>
ebd8d4e8
IC
482 Read more at the
483 <a href="https://github.com/bitcoin/bips/blob/master/bip-0039.mediawiki">official BIP39 spec</a>
484 </p>
60599f7a
IC
485 <h3>BIP32 <span class="small" data-translate>Hierarchical Deterministic Wallets</span></h3>
486 <p data-translate-html>
ebd8d4e8
IC
487 Read more at the
488 <a href="https://github.com/bitcoin/bips/blob/master/bip-0032.mediawiki" target="_blank">official BIP32 spec</a>
60599f7a
IC
489 </p>
490 <p data-translate-html>
491 See the demo at
ebd8d4e8
IC
492 <a href="http://bip32.org/" target="_blank">bip32.org</a>
493 </p>
60599f7a
IC
494 <h3>BIP44 <span class="small" data-translate>Multi-Account Hierarchy for Deterministic Wallets</span></h3>
495 <p data-translate-html>
ebd8d4e8
IC
496 Read more at the
497 <a href="https://github.com/bitcoin/bips/blob/master/bip-0044.mediawiki" target="_blank">official BIP44 spec</a>
498 </p>
60599f7a 499 <h3 data-translate>Private Keys</h3>
ebd8d4e8 500 <p>
60599f7a
IC
501 <span data-translate-html>
502 Use private keys at
503 <a href="https://web.archive.org/web/20150707020924/https://brainwallet.org/" target="_blank">brainwallet.org</a>.
504 </span>
505 <span data-translate>Be careful - it can be easy to make mistakes if you don't know what you're doing.</span>
ebd8d4e8 506 </p>
60599f7a 507 <h3 id="entropy-notes" data-translate>Entropy</h3>
c6624d51 508 <p>
60599f7a
IC
509 <span data-translate-html>
510 Entropy values must be sourced from a
511 <a href="https://en.wikipedia.org/wiki/Random_number_generation" target="_blank">strong source of randomness</a>.
512 </span>
513 <span data-translate>This means flipping a fair coin, rolling a fair dice, noise measurements etc.</span>
514 <span data-translate-html>
515 Do <strong>NOT</strong> use phrases from books, lyrics from songs, your birthday or steet address,
516 keyboard mashing, or anything you <i>think</i> is random, because chances are overwhelming it isn't
517 random enough for the needs of this tool.
518 </span>
c6624d51 519 </p>
bf9bdfd2
IC
520 <p>
521 <strong><span data-translate>Do not store entropy.</span></strong>
522 </p>
523 <p>
524 <span data-translate>Storing entropy (such as keeping a deck of cards in a specific shuffled order) is unreliable compared to storing a mnemonic.</span>
525 <span data-translate>Instead of storing entropy, store the mnemonic generated from the entropy.</span>
526 <span data-translate-html><a href="https://en.wikipedia.org/wiki/Steganography#Physical" target="_blank">Steganography</a> may be beneficial when storing the mnemonic.</span>
527 </p>
c6624d51 528 <p>
60599f7a
IC
529 <span data-translate-html>
530 The random mnemonic generator on this page uses a
531 <a href="https://developer.mozilla.org/en-US/docs/Web/API/RandomSource/getRandomValues" target="_blank">cryptographically secure random number generator</a>.
532 </span>
533 <span data-translate>The built in random generator can generally be trusted more than your own intuition about randomness.</span>
534 <span data-translate>If cryptographic randomness isn't available in your browser, this page will show a warning and the generate button will not work.</span>
535 <span data-translate>In that case you might choose to use your own source of entropy.</span>
c6624d51
IC
536 </p>
537 <p>
60599f7a 538 <a href="https://bitcointalk.org/index.php?topic=311000.msg3345309#msg3345309" target="_blank" data-translate>You are not a good source of entropy.</a>
c6624d51 539 </p>
1f618a77
IC
540 <h3 data-translate>License</h3>
541 <p>
542 <span data-translate-html>Please refer to <a href="https://github.com/iancoleman/bip39/blob/master/LICENSE" target="_blank">the software license</a> for more detail.
543 </span>
544 </p>
545 <p data-translate>The software is provided "as is", without warranty of any kind, express or implied, including but not limited to the warranties of merchantability, fitness for a particular purpose and noninfringement. In no event shall the authors or copyright holders be liable for any claim, damages or other liability, whether in an action of contract, tort or otherwise, arising from, out of or in connection with the software or the use or other dealings in the software.</p>
ebd8d4e8
IC
546 </div>
547 </div>
45b8a745
IC
548
549 <hr>
550
c5863485
IC
551 <div class="row">
552 <div class="col-md-12">
553
60599f7a 554 <h2 data-translate>Offline Usage</h2>
c5863485 555
60599f7a 556 <p data-translate>
c5863485
IC
557 You can use this tool without having to be online.
558 </p>
60599f7a 559 <p data-translate>
c5863485
IC
560 In your browser, select file save-as, and save this page
561 as a file.
562 </p>
60599f7a 563 <p data-translate>
c5863485
IC
564 Double-click that file to open it in a browser
565 on any offline computer.
566 </p>
567 <p>
60599f7a
IC
568 <span data-translate>Alternatively, download the file from the repository</span>
569 -
570 <a href="https://github.com/iancoleman/bip39">https://github.com/iancoleman/bip39</a>
571 </p>
c5863485
IC
572
573 </div>
574 </div>
575
576 <hr>
577
45b8a745
IC
578 <div class="row">
579 <div class="col-md-12">
580
60599f7a 581 <h2 data-translate>This project is 100% open-source code</h2>
45b8a745
IC
582
583 <p>
60599f7a
IC
584 <span data-translate>Get the source code from the repository</span>
585 -
b630f83d
IC
586 <a href="https://github.com/iancoleman/bip39" target="_blank">
587 https://github.com/iancoleman/bip39
45b8a745
IC
588 </a>
589 </p>
590
60599f7a 591 <h3 data-translate>Libraries</h3>
45b8a745
IC
592
593 <p>
594 <span>BitcoinJS - </span>
595 <a href="https://github.com/bitcoinjs/bitcoinjs-lib" target="_blank">
596 https://github.com/bitcoinjs/bitcoinjs-lib
597 </a>
598 </p>
599
600 <p>
601 <span>jsBIP39 - </span>
602 <a href="https://github.com/iancoleman/jsbip39" target="_blank">
603 https://github.com/iancoleman/jsbip39
604 </a>
605 </p>
606
607 <p>
0937f3ab
IC
608 <span>sjcl - </span>
609 <a href="https://github.com/bitwiseshiftleft/sjcl" target="_blank">
610 https://github.com/bitwiseshiftleft/sjcl
45b8a745
IC
611 </a>
612 </p>
613
614 <p>
615 <span>jQuery - </span>
616 <a href="https://jquery.com/" target="_blank">
617 https://jquery.com/
618 </a>
619 </p>
620
621 <p>
622 <span>Twitter Bootstrap - </span>
623 <a href="http://getbootstrap.com/" target="_blank">
624 http://getbootstrap.com/
625 </a>
626 </p>
627
628 </div>
629 </div>
630
ebd8d4e8
IC
631 </div>
632
e00964cc 633 <div class="qr-container hidden">
8a93952c
IC
634 <div class="qr-hint bg-primary hidden" data-translate>Click field to hide QR</div>
635 <div class="qr-hint bg-primary" data-translate>Click field to show QR</div>
636 <div class="qr-hider hidden">
97811c29
IC
637 <div class="qr-image"></div>
638 <div class="qr-warning bg-primary" data-translate>Caution: Scanner may keep history</div>
639 </div>
e00964cc
IC
640 </div>
641
ebd8d4e8 642 <div class="feedback-container">
d26cce22 643 <div class="feedback">Loading...</div>
ebd8d4e8
IC
644 </div>
645
646 <script type="text/template" id="address-row-template">
647 <tr>
648 <td class="index"><span></span></td>
e00964cc
IC
649 <td class="address"><span data-show-qr></span></td>
650 <td class="pubkey"><span data-show-qr></span></td>
651 <td class="privkey"><span data-show-qr></span></td>
ebd8d4e8
IC
652 </tr>
653 </script>
24137d96 654 <script src="js/polyfill.es6.js"></script>
cee442b1
KK
655 <script src="js/jquery.min.js"></script>
656 <script src="js/bootstrap.min.js"></script>
563e401a 657 <script src="js/levenshtein.js"></script>
e00964cc 658 <script src="js/jquery.qrcode.min.js"></script>
cee442b1
KK
659 <script src="js/bitcoinjs-1-5-7.js"></script>
660 <script src="js/bitcoinjs-extensions.js"></script>
505a3159 661 <script src="js/ethereumjs-util.js"></script>
cee442b1 662 <script src="js/sjcl-bip39.js"></script>
c3c3df47
IC
663 <script src="js/translate.js"></script>
664 <script src="js/phrases_en.js"></script>
cee442b1 665 <script src="js/wordlist_english.js"></script>
3a8dbe99
IC
666 <script src="js/wordlist_japanese.js"></script>
667 <script src="js/wordlist_spanish.js"></script>
668 <script src="js/wordlist_chinese_simplified.js"></script>
669 <script src="js/wordlist_chinese_traditional.js"></script>
670 <script src="js/wordlist_french.js"></script>
671 <script src="js/wordlist_italian.js"></script>
cee442b1 672 <script src="js/jsbip39.js"></script>
b6dbc2a1 673 <script src="js/biginteger.js"></script>
b299a6a7 674 <script src="js/zxcvbn.js"></script>
c6624d51 675 <script src="js/entropy.js"></script>
cee442b1 676 <script src="js/index.js"></script>
ebd8d4e8
IC
677 </body>
678</html>