-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
64 lines (60 loc) · 2.3 KB
/
index.html
File metadata and controls
64 lines (60 loc) · 2.3 KB
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
60
61
62
63
64
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Security 2 - Encrypt</title>
<link href="assets/css/style.css" rel="stylesheet" type="text/css">
</head>
<body>
<div class="container">
<h1>Security 2 - Encryption</h1>
<div class="column">
<h2>Encrypt</h2>
<form method="POST">
<p>
<label for="username">Gebruikersnaam: </label>
<input type="text" name="username" id="username" />
</p>
<p>
<label for="password">Wachtwoord: </label>
<input type="text" name="password" id="password" />
</p>
<p>
<label for="message">Geheim bericht: </label>
<textarea id="message" name="message"></textarea>
</p>
<p>
<input type="hidden" name="encrypt" value="true">
<button type="submit" id="button_encrypt">Encrypt it!</button>
<span class="message"></span>
</p>
</form>
</div>
<div class="column">
<h2>Decrypt</h2>
<form method="POST">
<p>
<label for="username2">Gebruikersnaam: </label>
<input type="text" name="username" id="username2" />
</p>
<p>
<label for="password2">Wachtwoord: </label>
<input type="text" name="password" id="password2" />
</p>
<p>
<label for="message2">Geheim bericht: </label>
<textarea id="message2" name="message" readonly></textarea>
</p>
<p>
<input type="hidden" name="decrypt" value="true">
<button type="submit" id="button_decrypt">Decrypt it!</button>
<span class="message"></span>
</p>
</form>
</div>
<div class="clear"></div>
</div>
<script src="https://code.jquery.com/jquery-1.12.4.min.js" integrity="sha256-ZosEbRLbNQzLpnKIkEdrPv7lOy9C27hHQ+Xp8a4MxAQ=" crossorigin="anonymous"></script>
<script src="assets/js/script.js"></script>
</body>
</html>