-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
57 lines (51 loc) · 1.72 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
<!DOCTYPE html>
<html lang="en" >
<head>
<meta charset="UTF-8">
<title>playfair cypher</title>
<link rel="stylesheet" href="{{url_for('static', filename='/style.css')}}">
<style>
.button {
transition: all 0.5s;
cursor: pointer;
}
.button span {
cursor: pointer;
display: inline-block;
position: relative;
transition: 0.5s;
}
.button span:after {
content: '\00bb';
position: absolute;
opacity: 0;
top: 0;
right: -20px;
transition: 0.5s;
}
.button:hover span {
padding-right: 25px;
}
.button:hover span:after {
opacity: 1;
right: 0;
}
</style>
</head>
<body>
<div class="background"></div>
<h1 id="intro_text">you want to encode or decode</h1>
<form action="choice_encode">
<button class="button" id="encode_button" type="submit" ><span>Encode</span></button>
</form>
<form action="choice_decode">
<button class="button" type="submit" ><span>Decode</span></button>
<p class="info">“The Playfair cipher was the first cipher to encrypt pairs of letters in cryptologic history.
Wheatstone invented the cipher for secrecy in telegraphy, but it carries the name of his friend
Lord Playfair, first Baron Playfair of St. Andrews, who promoted its use. The first recorded
description of the Playfair cipher was in a document signed by Wheatstone on 26 March 1854. It
was famously used by Sir Arthur Conan Doyle in his Sherlock Holmes story "The Adventure of
the Dancing Men.” which popularised the cypher</p>
</form>
</body>
</html>