-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathrf.html
More file actions
39 lines (33 loc) · 1.22 KB
/
rf.html
File metadata and controls
39 lines (33 loc) · 1.22 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
<!DOCTYPE html>
<html lang="en">
<head>
<link rel="stylesheet" href="rf.css">
</head>
<body>
<h1>Encryptor</h1>
<div class='form-box' data-errormsg='' id="form-list">
<form id="forms">
<input type="radio" id="rfc" name="cypher" value="rail-fence" checked>
<label for="rail-fence">Rail Fence</label><br>
</form>
</div>
<div id="form-main">
<!--action="javascript:void(0);" stops the page from refreshing after the first submition-->
<form id="forms" >
<label for="ptext">Plain text:</label><br>
<input type="text" id="ptext" name="ptext" placeholder="Enter Regular Text"><br><br>
<label for="ctext">Cypher text:</label><br>
<input type="text" id="ctext" name="ctext" placeholder="Enter Encrypted Text"><br><br><br>
<div id="key-group">
<label for="key">Key:</label>
<input type="number" id="key" name="key" min="2"><br>
</div>
</form>
</div>
<div id="buttons">
<button id="encryptB" form="forms" class="btn_encrypt">Encrypt</button>
<button id="decryptB" form="forms" class="btn_decrypt">Decrypt</button>
</div>
<script src="./rf.js"></script>
</body>
</html>