This repository was archived by the owner on Oct 20, 2023. It is now read-only.
forked from hegdepavankumar/Cipher-Encryption-Decryption
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
99 lines (91 loc) · 3.79 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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
<!DOCTYPE html>
<html>
<head>
<title>Caesar Cipher</title>
<link rel="stylesheet" href="style.css" />
</head>
<body>
<div class="container">
<div id="heading-container">
<h1>CAESAR CIPHER</h1>
</div>
<div id="main-container">
<div class="box">
<div class="heading">
<h2>Controls</h2>
</div>
<form id="controls">
<div class="row">
<div>
<input type="radio" name="code" id="encode" value="encode" checked="checked" /><label
for="encode">Encode</label>
</div>
<div>
<input type="radio" name="code" id="decode" value="decode" /><label
for="decode">Decode</label>
</div>
</div>
<div class="row">
<div>
<div>
<span>Shift Key: </span><input type="text" name="shift" id="shift-input" maxlength="4"
size="4" value="3" />
</div>
</div>
<div>
<div>
<span>Modulo: </span><input type="text" name="mod" id="mod-input" maxlength="4" size="4"
value="36" />
</div>
</div>
</div>
<div class="column">
<div><span>ALPHABET</span></div>
<div>
<input type="text" name="alphabet" id="alphabet-input"
value="abcdefghijklmnopqrstuvwxyz0123456789" />
</div>
</div>
<div class="row">
<div>
<div>LETTER CASE</div>
<select name="letter-case" id="letter-case">
<option value="1">Maintain Case</option>
<option value="2">Lower Case</option>
<option value="3">Upper Case</option>
</select>
</div>
<div>
<div>FOREIGN CHARS</div>
<select name="foreign-chars" id="foreign-chars">
<option value="1">Remove</option>
<option value="2">Ignore</option>
</select>
</div>
</div>
<input type="submit" name="submit" id="submit" value="Submit" />
</form>
</div>
<div class="box">
<div class="heading">
<h2 id="heading-input">Plaintext</h2>
</div>
<textarea placeholder="Enter plaintext" rows="20" id="input-text"></textarea>
<p id="status"></p>
</div>
<div class="box">
<div class="heading">
<h2 id="heading-output">Ciphertext</h2>
</div>
<textarea readonly placeholder="Output" rows="20" id="output-text"></textarea>
</div>
</div>
</div>
<script src="script.js"></script>
</body>
<!--<pre id="output"></pre> -->
<div>
<center class="copyright"><p>Copyright © 2023 Mr.Pavankumar. All Rights are reserved</p></center>
</div>
<br>
</html>