-
Notifications
You must be signed in to change notification settings - Fork 0
/
encryption.html
59 lines (59 loc) · 3.91 KB
/
encryption.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
<!DOCTYPE html>
<html lang="en">
<head>
<title>Bootstrap Card</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.16.0/umd/popper.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js"></script>
</head>
<body>
<div class="container">
<nav class="navbar navbar-expand-lg navbar-dark bg-dark">
<a class="navbar-brand" href="index.html">Home</a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarNav" aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarNav">
<ul class="navbar-nav">
<li class="nav-item active">
<a class="nav-link" href="howTheInternetWorks.html">What Is The Internet?<span class="sr-only">(current)</span></a>
</li>
<li class="nav-item active">
<a class="nav-link" href="about.html">About<span class="sr-only">(current)</span></a>
</li>
<li class="nav-item">
<a class="nav-link" href="whatIsTheInternet.html">How does the Internet Work?</a>
</li>
<li class="nav-item">
<a class="nav-link" href="http.html">HTTP/HTML</a>
</li>
<li class="nav-item">
<a class="nav-link" href="ipdns.html">IP/DNS</a>
</li>
<li class="nav-item">
<a class="nav-link" href="prr.html">Packets, Routing, Reliability</a>
</li>
<li class="nav-item">
<a class="nav-link" href="wiresCablesWIFI.html">Wires and WiFi</a>
</li>
<li class="nav-item">
<a class="nav-link" href="encryption.html">Encryption</a>
</li>
</ul>
</div>
</nav>
<h1>Encryption and Public Keys</h1>
<p>The internet is used to transfer so much information that some of it has to be sensitive. Some examples of sensitive data is as followed:
<ul>
<li>Credit Card Number</li>
<li>Social Security Number</li>
</ul>If not for encryption, which is the scrambling or changing of a message to hide it, hacking would be a cake walk. The earliest example of encryption is Caesar's Cipher, Julius Caesar would encrypt his messages so that if an enemy intercepted it, they would not gain an edge.
</p>
<p>Caesar's cipher was limited by there only being 26 letters of the alphabet, instead of each digit changing the same, modern encryption each digit is scrambled separately, so a 10 digit key would have 10 billion options. No human would be able to decrypt a 10 digit key but a human armed with a computer could. So, encryption keys have 256 digits today, as the digits increase the amount of possibilities increase vastly. </p>
<p>Two types of encryption are symmetric and asymmetric. Symmetric encryption is when the same key is used by the sender and receiver, in order for this to work, the key must be agreed to in advance in private. But privacy is limited on the Internet, someone could be listening and you would have no idea. So computers use asymmetric keys, meaning there is two keys, a public and a private one. The public key is the foundation of security protocols such as SSL and TLS and is used to encrypt messages, however the private key is used to open the encrypted message.</p>
<img src="./images/key.jpg" alt="Road System"width="600" height="400">
</body>
</html>