-
Notifications
You must be signed in to change notification settings - Fork 1
/
shifting.html
50 lines (50 loc) · 1.69 KB
/
shifting.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
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
<title></title>
<script src="js/mui.min.js"></script>
<link href="css/mui.min.css" rel="stylesheet"/>
<script type="text/javascript" charset="UTF-8">
mui.init();
</script>
<style type="text/css">
.mui-content{
padding-left: 20px;
}
img{
background-color: #EFEFF4;
padding-top:0;
padding-bottom: 0;
margin-left: -10px;
border: none;
}
</style>
</head>
<body>
<header class="mui-bar mui-bar-nav" style="height:74px;background-color: rgb(61,171,201);">
<a class="mui-action-back mui-icon mui-icon-left-nav mui-pull-left" style="color: #FFFFFF;margin-top: 30px;"></a>
<h1 class="mui-title" style="color: #FFFFFF;margin-top: 30px;">Alphabet shifting</h1>
</header>
<div class="mui-content">
<br><br>
<h4>Alphabet shifiting</h4>
<br>
Shift cipher, as known as Caesar Cipher, is one of the simplest forms of encryption. It is a substitution cipher where each letter in the original message (called the plaintext) is replaced with a letter corresponding to a certain number of letters up or down in the alphabet.
In this way, a message that initially was quite readable, ends up in a form that can not be understood at a simple glance.
For example, here's the Caesar Cipher encryption of a message, using a right shift of 3.
<br><br><br>
<code>
Plaintext:
<br>
THE QUICK BROWN FOX JUMPS OVER THE LAZY DOG
<br>
Ciphertext:
<br>
QEB NRFZH YOLTK CLU GRJMP LSBO QEB IXWV ALD
</code>
<img style="width: 100%;margin-top: 10px; "src="img/caesar_cipher.png">
</div>
</body>
</html>