-
Notifications
You must be signed in to change notification settings - Fork 2
/
index.html
34 lines (34 loc) · 1.97 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
<!DOCTYPE html>
<html>
<head>
<title>Argon2id-JS</title>
<script src="lib/argon2.js"></script>
<script src="lib/argon2id.js"></script>
<script src="lib/sjcl-bip39.js"></script>
<script src="lib/jsbip39.js"></script>
<script src="lib/wordlist_english.js"></script>
<link rel="stylesheet" href="index.css">
</head>
<body>
<h1>Argon BWG</h1>
<div class="round" style="width: 1030px">
<table>
<tr> <td colspan="3"><h3>Border Wallet Generator</h3></td></tr>
<tr> <td><label>File SHA256</label></td> <td><input id="message" type="text"></td> <td><input id="file" type="file"></td> </tr>
<tr> <td><label>Passphrase</label></td> <td><input id="salt" type="text" placeholder="Salt"></td> <td><input id="saltWords" type="checkbox"><label for="saltWords">Bip-39 words only</label></td> </tr>
<tr> <td><label>Parallelism Factor</label></td> <td><input id="p" type="number" min="1" max="16" placeholder="p"></td> <td></td> </tr>
<tr> <td><label>Memory Cost (MB)</label></td> <td><input id="m" type="number" min="32" max="1024" placeholder="m"></td> <td></td> </tr>
<tr> <td><label>Iterations</label></td> <td><input id="i" type="number" min="1" max="3600" placeholder="t"></td> <td></td> </tr>
<tr> <td><label>Hash Length</label></td> <td><input id="l" type="number" min="1" max="64" placeholder="l"></td> <td></td> </tr>
<tr> <td colspan="3"><button id="start">Generate</button></td></tr>
<tr> <td colspan="3"><h3>Entropy generated</h3></td></tr>
<tr> <td colspan="3"><input id="entropy" readonly="true"></td></tr>
<tr> <td colspan="3"><p id="perf">Performance</p></td></tr>
<tr> <td colspan="3"><h3>12/24 word Mnemonic Wallet</h3></td></tr>
<tr> <td><label>Mnemonic size</label></td> <td><select id="size"><option value="32">12 words</option><option value="64">24 words</option></select></td> <td></td> </tr>
<tr> <td colspan="3"><textarea id="mnemonic" rows="3" cols="40"></textarea></td> </tr>
</table>
</div>
<script src="index.js"></script>
</body>
</html>