-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
45 lines (35 loc) · 1.7 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Caesar's Cipher</title>
<link rel="stylesheet" href="style.css">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@200;400&family=Ultra&display=swap" rel="stylesheet">
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
</head>
<body>
<br>
<br>
<div> <h1 class="text-center" class="fw-bold">CAESAR'S CIPHER</h1></div>
<br>
<br>
<br>
<br>
<div >
<p>Caesar's Cipher was named after Julius Caesar, who used this cipher to encrypt his private messages. <br/><br/> One of the simplest and most widely known ciphers is a Caesar cipher, also known as a shift cipher.<br> In a shift cipher the meanings of the letters are shifted by some set amount.<br> A common modern use is the ROT13 cipher, where the values of the letters are shifted by 13 places.<br> Thus 'A' ↔ 'N', 'B' ↔ 'O' and so on. <br/><br/>
<form name="str" class="form-group">
<div class="change" >
<input type="text" id="text" class="form-control" placeholder="Enter text to encrypt here..."/>
</div>
<button id="encrypt" class="btn btn-primary">Encrypt</button>
<br>
<br>
<h4 id="output" class="text-info bg-dark"></h4>
</form>
</div>
</body>
<script src="script.js" type="text/javascript" charset="utf-8"></script>
</html>