-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
52 lines (50 loc) · 1.47 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
<!doctype html>
<html>
<head>
<title>AES Crypto in PythonMonkey</title>
</head>
<body>
<p>This website uses the <a href="https://www.npmjs.com/package/crypto-js">CryptoJS JavaScript NPM package</a> for <a href="https://en.wikipedia.org/wiki/Advanced_Encryption_Standard">AES</a> encryption and decryption from a Python server!</p>
<p>Check out PythonMonkey at <a href="https://pythonmonkey.io/">http://pythonmonkey.io/</a></p>
</body>
<body>
<table>
<tr>
<th>
Encrypt
</th>
<th>
Decrypt
</th>
</tr>
<tr>
<td>
<form id="form" method="GET" action="encrypt">
<label>Message</label>
<br>
<input id="user-message" type="text" name="message">
<br>
<label>Key</label>
<br>
<input id="user-key" type="text" name="key">
<br>
<input id="encode-button" type="submit" value="ENCRYPT">
</form>
</td>
<td>
<form id="form" method="GET" action="decrypt">
<label>Ciphertext</label>
<br>
<input id="user-ciphertext" type="text" name="ciphertext">
<br>
<label>Key</label>
<br>
<input id="user-key" type="text" name="key">
<br>
<input id="encode-button" type="submit" value="DECRYPT">
</form>
</td>
</tr>
</table>
</body>
</html>