-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathindex.html
122 lines (102 loc) · 4.64 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
113
114
115
116
117
118
119
120
121
122
<!DOCTYPE html>
<html>
<head>
<title>Bismuth Address Generator</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<script type="text/javascript" src="src/cryptojs.js"></script>
<script type="text/javascript" src="src/cryptojs.sha256.js"></script>
<script type="text/javascript" src="src/cryptojs.sha224.js"></script>
<script type="text/javascript" src="src/securerandom.js"></script>
<script type="text/javascript" src="src/jsencrypt.js"></script>
<link href="css/bootstrap.min.css" rel="stylesheet" type="text/css">
<link href="css/main.css" rel="stylesheet" type="text/css">
</head>
<body onclick="SecureRandom.seedTime();" onmousemove="ninja.seeder.seed(event);">
<nav class="navbar navbar-inverse" role="navigation">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="#">Bismuth Address Generator</a>
</div>
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
<ul class="nav navbar-nav">
<li class="active">
<a href="#home">Home</a>
</li>
<li>
<a href="#about">About</a>
</li>
<li>
<a href="https://github.com/EggPool/BISafe/archive/master.zip" role="button">Download</a>
</li>
<li>
<a href="https://github.com/EggPool/BISafe" role="button" target="_blank">GitHub Project</a>
</li>
</ul>
</div>
</div>
</nav>
<div class="container">
<div class="row">
<div class="panel panel-default">
<div class="panel-heading"><h1>Offline Bismuth Address Generator</h1></div>
<div id="seedpanel" class="panel-body">
<div class="col-lg-6">
<label for="seedpool">Entropy pool</label>
<div id="seedpoolarea"><textarea rows="7" cols="62" id="seedpool"></textarea></div>
</div>
<div id="generate" class="col-lg-6">
<span id="generatelabelbitcoinaddress"><label>Gathering Entropy...</label></span><br />
<span id="generatelabelmovemouse">MOVE your mouse around to add some extra randomness... </span><span id="mousemovelimit"></span><br />
<span id="generatelabelkeypress">OR type some random characters into this textbox</span><br /><input type="text" id="generatekeyinput" onkeydown="ninja.seeder.seedKeyPress(event);" style="width:100%" /><br />
<!-- div id="seedpooldisplay"></div -->
</div>
<div id="generated" class="col-lg-6" style="display:none">
<h3>You rock! Enough entropy gathered.</h3>
<div class="col-lg-12">
<button id="generate" class="btn btn-primary" onclick="ninja.generateKeys();">Generate New Keys</button>
<br> <br>
<span id="time-report"></span>
</div>
</div>
</div><!-- /seedpanel -->
<div class="panel-body">
<div class="col-lg-12">
<label for="bisaddress">Bismuth Address</label>
<textarea id="bisaddress" rows="1" style="width:100%" readonly="readonly"></textarea>
</div>
<div class="col-lg-6">
<label for="privkey">Private Key</label><br/> <small>
<textarea id="privkey" rows="15" style="width:100%" readonly="readonly"></textarea>
</small>
</div>
<div class="col-lg-6">
<label for="pubkey">Public Key</label><br/>
<small><textarea id="pubkey" rows="15" style="width:100%" readonly="readonly"></textarea></small>
</div>
</div>
</div>
</div>
<div class="authorbtc">
<div>
<span class="item">
<span class="statusicon" id="statusprotocol" onclick="ninja.status.showProtocol();">...</span>
<span class="statusicon" id="statuscrypto" onclick="ninja.status.showCrypto();">...</span>
<span class="statusicon" id="statusunittests" onclick="ninja.status.showUnitTests();">...</span>
<span class="statusicon" id="statuskeypool" onclick="ninja.status.showKeyPool();">≣</span>
</span>
<span class="item"><span id="footerlabeldonations">Donations:</span> BIS <b>0ee5609ee98f329b378d6a520afc8dec56092511ddc7ae00e0b790ce</b></span>
</div>
</div>
<script type="text/javascript" src="src/ninja.key.js"></script>
<script type="text/javascript" src="src/ninja.seeder.js"></script>
<script type="text/javascript" src="src/ninja.misc.js"></script>
<script type="text/javascript" src="src/ninja.onload.js"></script>
</body>
</html>