-
Notifications
You must be signed in to change notification settings - Fork 11
/
index.html
112 lines (94 loc) · 5.74 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
<!DOCTYPE html>
<html lang="en"><head>
<link href="https://iotaseed.io/index.html" rel="canonical"/>
<meta name="description" content="With iotaseed.io you can easily
generate a seed for your IOTA wallet. And you can do so with unique
randomness generated by moving your mouse! So your seed is truely
random and secure, regardless of cryptographic weaknesses in your
browser or Operating System.">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<title>IOTA Seed Generator</title>
<script type="text/javascript" src="jscript/all.mini.js"></script>
<link rel="stylesheet" type="text/css" href="main.css">
<link rel="shortcut icon" href="images/favicon.ico" type="image/x-icon">
<link rel="icon" href="images/favicon.ico" type="image/x-icon">
<script type="text/javascript">
window.onload = function() {
window.lastPercentage = 0;
window.isBulk = false;
EntropyCollector.eventTarget.addEventListener('mousemove', updateEntropy);
(new Clipboard('#copyButton')).on('success', function(e) {
Notifier.success("Copied to clipboard!");
});
(new Clipboard('#copyButtonWords')).on('success', function(e) {
Notifier.success("Copied to clipboard!");
});
(new Clipboard('#copyButtonReceiving')).on('success', function(e) {
Notifier.success("Copied to clipboard!");
});
Notifier.info("Move the mouse to generate randomness!");
generatePaperWalletPrep("Paper wallet will appear after sufficient mouse movement");
};
</script>
</head>
<body>
<div id="header">
Check that the URL above is <span class="mouse">https://iotaseed.io</span> There are scammers out there!
</div>
<h1>IOTA Seed Generator</h1>
<img class="logo" src="images/logo_small.png" alt="IOTA logo"/>
<h2>Get your IOTA seed!</h2>
<p class="box"><span class="mouse">Move the mouse to generate
randomness.</span> <span id="entropy" class="done">0</span><span class="done">% done.</span> <span id="restart" class="smallish"> </span> <span class="smallish"><a href="https://iotaseed.io/bulk/">Seeds in bulk here</a>.</span></p>
<p id="output" class="outputText">Your seed will appear after sufficient mouse movement</p>
<p class="button"><button id="copyButton" data-clipboard-action="copy" data-clipboard-target="#output" disabled>Copy Seed to Clipboard</button></p>
<h2>Your seed encoded as mnemonic words</h2>
<p class="box smallish">You will always be able to recover your seed with these words.</p>
<p id="outputWords" class="outputText">Your mnemonic words will appear after sufficient mouse movement</p>
<p class="button"><button id="copyButtonWords" class="copyButton" data-clipboard-action="copy" data-clipboard-target="#outputWords" disabled>Copy Words to Clipboard</button></p>
<h2>Receiving address & Paper wallet</h2>
<p id="outputReceiving" class="outputText">Your receiving address will appear after sufficient mouse movement</p>
<p class="button"><button id="copyButtonReceiving" data-clipboard-action="copy" data-clipboard-target="#outputReceiving" disabled>Copy Receiving Address</button></p>
<div id="paperWallet">
<canvas width="1700" height="540" class="imageCanvasses"></canvas>
<canvas hidden class="seedCanvasses"></canvas>
<canvas hidden class="addressCanvasses"></canvas>
</div>
<p class="button"><button id="printButton" onclick="printWallet()" disabled>Print Wallet</button></p>
<h2>Decode mnemonic words!</h2>
<p class="box">If you would like to decode your mnemonic words, enter them below,
press decode, and the key will appear above!</p>
<div class="inputWrapperWrapper"><div class="inputWrapper"><textarea id="inputWords"></textarea></div></div>
<p class="box smallish">A seed represented as random words is safe. Such a seed
is just as difficult to guess for a brute-force attacker as the fully
random 81 character IOTA seed it is derived from (uppercase alphabet
+ 9, see <a href="https://iota.readme.io/v1.1.0/docs/fields">here</a>).
Also, because the brain builds a story to make sense of oddly jutaxposed
words, they are much easier to remember (and to write down).
The excellent <a href="https://electrum.org/">Electrum bitcoin client</a> uses mnemonic words as well.
</p>
<p class="button"><button onclick="decodeWords()">Decode words</button></p>
<div id="footer">
<p class="box">This service is provided for free (to give back
to the IOTA ecosystem) and as is, and is not related to IOTA.
Donations are welcome!</p>
<p>IOTA: HCBLOBZQXDUWXKFJJXNKWQGSAFFNRY9NBBJGYAANWFIIJMGWZWUFVFIWYPIAFYVWBIEFBV9CQRDOOUU99LWEXAHWEW</p>
<p>Bitcoin: 1BXaRLe4LMfYjH4vUSJxCy1eEBDxJqeHpc</p>
<a href="https://github.com/norbertvdberg/iotaseed"><img class="foot_logo" src="images/logo_small_bottom.png" alt="Reddit logo"/></a>
</div>
<div id="footerfooter">
<p class="box">Copyright © iotaseed.io. All rights
reserved. Offline copies for personal use are permitted. No
warranty for any particular purpose. <a href="LICENSE.txt">See
license.</a></p>
<p class="box">This webpage runs entirely in Javascript, please feel free to
check the source <a href="https://github.com/norbertvdberg/iotaseed">on GitHub</a>
if you are curious. Though make sure to save the version running
here, as the repository may contain new code that hasn't been fully
tested yet.</p>
<p class="box">The seed you pick on this page is never
transfered over the internet and is generated within your
browser only.</p>
</div>
<script type="text/javascript" src="./jscript/notifier/Notifier.mini.js"></script>
</body></html>