-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
executable file
·59 lines (55 loc) · 1.93 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
<!DOCTYPE html>
<html>
<head><title>JSEncryption</title></head>
<script src="jquery.js"></script>
<script src="cryptico.js"></script>
<script src="app.js"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/foundation/5.5.3/css/foundation.min.css" />
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.4.0/css/font-awesome.min.css">
<link href='https://fonts.googleapis.com/css?family=Roboto:400,500,700,300|Roboto+Condensed:400,700' rel='stylesheet' type='text/css'>
<style>
h1 {
font-family: "Roboto Condensed";
font-size: 1.5rem;
}
</style>
</head>
<body style="font-family:Roboto;">
<div class="row"><div class="column small-10 small-centered">
<h1>Receive an encrypted string</h1>
<ol>
<li>
Send your public key to the sender
<textarea id="own-public-key"></textarea>
</li>
<li>
Enter the encrypted message from the sender
<textarea id="external-encrypted-message"></textarea>
</li>
<li>
Copy the decrypted message
<textarea disabled id="external-decrypted-message"></textarea>
</li>
</ol>
<h1>Send an encrypted string</h1>
<ol>
<li>
Ask the receiver for his public key
<textarea id="external-public-key"></textarea>
</li>
<li>
Enter your plain message.
<textarea id="own-plain-message"></textarea>
</li>
<li>
Send this encrypted message
<textarea disabled id="own-encrypted-message"></textarea>
</li>
</ol>
</div></div>
<div id="loading" style="display: block;position: fixed;width: 100%;height: 100%;background: #FFF;top: 0;left: 0;text-align: center;padding-top: 10rem;">
<i class="fa fa-circle-o-notch fa-6 fa-spin" style="display: block;margin-bottom: 1rem;font-size: 3rem;"></i>
<span>Generating RSA Keypair for your security...</span>
</div>
</body>
</html>