-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
37 lines (36 loc) · 1.25 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
<html>
<head>
<title>autoescrow test page</title>
<script type='text/javascript' src='https://cdn.firebase.com/v0/firebase.js'>
</script>
</head>
<body>
Note: this is only a protocol test. None of this is secure yet.<br/>
<div id="form">
<label for="server">Server:</label>
<input id="server" value="http://localhost:8888"/><br/>
<label for="servKey">Server key:</label>
<input id="servKey"/> <input id="getServKey" type="button" value='fetch'/> <br/>
<label for="privKey">Private key:</label>
<input id="privKey"/><br/>
<label for="pubKey">Public key:</label>
<input id="pubKey"/>
<input type="button" id="genKey" value="Generate"/>
<span id="oldKeys"/>
</div>
<hr/>
<input id="announce" type="button" value="Announce" disabled="true"/>
<label id="announceLabel" for="announce">You need keys before you can announce yourself.</label>
<pre id="output">
Loading...
</pre>
<script type='text/javascript' src='nacl_browser.js'>
</script>
<script type='text/javascript' src='my_crypto.js'>
</script>
<script type='text/javascript' src='games/rps.js'>
</script>
<script type='text/javascript' src='test_browser.js'>
</script>
</body>
</html>