-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathindex.html
More file actions
39 lines (39 loc) · 886 Bytes
/
index.html
File metadata and controls
39 lines (39 loc) · 886 Bytes
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
<html>
<style>
body {
font-family: HelveticaNeue, helvetica, arial;
padding: 20px;
}
pre {
box-sizing: border-box;
background: whitesmoke;
white-space: pre-wrap;
word-wrap: break-word;
margin: 10px;
padding: 10px;
}
</style>
<script src="https://www.celljs.org/cell.js"></script>
<script src="./model.js"></script>
<script src="./view.js"></script>
<script src="./component.js"></script>
<script>
var App = {
$cell: true,
$components: [
{
model: { algorithm: "rsa_oaep", export: ["privateKey"] },
view: { title: View.h1, content: View.json }
},
{
model: { algorithm: "ecdsa", export: ["publicKey"] },
view: { title: View.h2, content: View.json }
},
{
model: { algorithm: "ecdh", export: ["privateKey"] },
view: { title: View.h3, content: View.json }
}
].map(Component.keygen.build)
}
</script>
</html>