-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
52 lines (48 loc) · 1.37 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
<!DOCTYPE html>
<html>
<head>
<script src="encrypt.js"></script>
<style>
.button1 {
background-color: #4CAF50;
border: none;
color: white;
padding: 15px 32px;
text-align: center;
text-decoration: none;
display: inline-block;
font-size: 16px;
margin: 4px 2px;
cursor: pointer;
</style>
</head>
<body>
<center>
<h1>Vigenere Cipher</h1>
<hr>
<br>
<h2>
<label>Enter key for Encryption</label>
<input id="passcode"/>
<br><br>
<lable>Type PlainText Here</label>
<textarea id="originalContent"></textarea>
<br><br>
<label>Encrypted Form</label>
<textarea id="encryptedContent"></textarea>
<br><br>
<label>Decrypted Form</label>
<textarea id="decryptedContent"></textarea>
<br>
</h2>
<button class="button1" onclick="Encrypt('originalContent','encryptedContent','passcode')">Encrypt</button>
<button class="button1" onclick="Decrypt('encryptedContent','decryptedContent','passcode')">Decrypt</button>
</center>
</body>
</html>