Alice and Bob want to type some sort of relationship. It might be business, it might even be romantic. Yet whatever else, it have to be confidential. The 3rd person in this relationship is Eve. And, together her name suggests, she"s one eavesdropper who desires to understand what"s walk on betweenAlice and Bob. To execute that she has to intercept your information.

You are watching: A physical courier delivering an asymmetric key is an example of in-band key exchange.

Alice and also Bob could not also be mindful that eve exists, yet she is a danger to your confidentiality. An initial of all, let"s repeat ourselves exactly how messages are sent over the internet. Therefore we have actually Alice"s and also Bob"s computer systems here. Alice has developed a file which she desires to send to Bob.
When you send a message throughout the internet, it might actually look like the message goes straight from one computer system to the other. In reality, there"s normally at the very least one more computer, such together a router or a paper server in between. So currently the post goes native Alice, come the computer in the middle, come Bob.
In fact, the can gain even more complicated, and also there might be a huge number of different computer systems in between the 2 of them. Alice"s blog post is routed from one computer system to an additional until that reaches Bob.
We"ve attracted the computer systems in different colours due to the fact that they don"t belong to either Alice or Bob. They can belong to your internet business providers, your employers, or come a large telecom company. Several of the computer systems may be in a different country, where various laws apply. And some of them can not be trustworthy, i m sorry is whereby Eve come in.
Here"s the exact same network, other than now Eve"s going to join in. She will certainly log on and then compromise among the computer systems in the middle. One way she can do this is to usage a packet sniffer, a piece of hardware or software that makes copies of any messages passing in between Alice and Bob, and sends them come Eve. Alice and Bob won"t also know these duplicates are being made, but Eve will have actually a full transcript of everything that"s happening between the 2 of them.
Alice and Bob can safeguard themselves making use of encryption. The many obvious kind of encryption is called symmetric encryption, which uses a single crucial to encrypt plaintext to ciphertext and decrypt ciphertext back into plaintext. Symmetric encryption has been about for countless years and also is still important today in the form of technologies called DES, triple DES, and also AES, which are widely supplied in gaue won transactions end the internet and within banks.
Let"s go ago to Alice and also Bob. Conscious that Eve desires to discover their secret, they choose to usage symmetric encryption. The very first thing for them to carry out is to generate a shared crucial and every to do their very own copy. One way of doing this is come meet, talk about their secrets, and also come up v a key. In ~ the end of the meeting they"ll each go away with their own copy that the key. Alice and also Bob have the right to now exchange certain messages, each utilizing their own duplicates of the symmetric encryption vital to encrypt and decrypt messages.
However, remember the Alice and Bob don"t live locally. They need to travel a lengthy distance, so conference is not constantly possible. And also it"s entirely possible they"re in a situation where it"s dangerous come share a key.
An alternative is because that Alice to create a crucial and send it come Bob, perhaps through the post, maybe over the internet. However, together we every know, things acquire lost in the post. And that can happen to our encryption key. Or maybe Eve is waiting by Bob"s post box and makes her own copy once it"s delivered.
Alice might pick to generate the vital herself, then give it to an equipped guard, a little bit like the method you could use a courier come send a beneficial parcel native one component of the country to the other. Alice generates the an essential on she computer, hands it over to the armed guard, that then trundles throughout to Bob and hands the an essential over.
However, as you have the right to imagine, equipped guards are an extremely expensive. Historically, the only people who can afford equipped couriers to distribution encryption tricks were governments and also the very largest service providers such as banks and international corporations. This expected that most civilization were completely unable to use cryptography.
Now you"ve seen several of the problems of symmetric cryptography, let"s see just how some the those problems apply to the internet.
Alice and also Bob still want to share their secrets. Alice has generated a symmetric encryption crucial on her computer and needs to send it across the net to Bob. There space a variety of computers in between, one of which has actually been compromised by Eve. So once Alice sends out the crucial across the network, the passes through the computer now belonging come Eve, that obtains a copy of the key, and also so walk Bob. Neither Alice or Bob understand that the crucial has to be copied. Therefore they can bring on using it, thinking their messages room secure, however in truth Eve is reading each and also every among them.
This is referred to as the key distribution problem. How do we keep secrets in the hands of those who need them and not in the hand of criminals or those that would misuse them?
Until the beforehand 1970s the was thought there was no solution to the vital distribution problem, thus all those equipped guards and also couriers. The equipment is dubbed asymmetric encryption. Now there room two keys. The an initial key, called the windy key, encrypts plaintext come ciphertext. The 2nd key, known as the personal key, decrypts ciphertext back to plaintext.
End transcript
Show transcript|Hide transcript
Interactive feature not accessible in single page see (see the in traditional view).

Traditionally, symmetric encryption experienced one enormous shortcoming – that was crucial for one of two people the sender or the recipient to develop a vital and then send it come the other party. While the crucial was in transit, it might be stolen or replicated by a third party that would then be able to decrypt any kind of ciphertexts encrypted with that key.

Another problem is the a big number of an essential pairs space needed between communicating parties. This easily becomes complicated to regulate the an ext there are. This can be calculated as n(n-1)/2 where n is the variety of communicating parties.

For example, if ten parties desire to connect with each various other securely they would require 45 different key pairs: 10(10-1)/2 = 45. This would increase to 4,950 if there were 100 interacting parties!

This problem, referred to as the key circulation problem, affected anyone wishing to use encryption till the 1970s when a an approach of distributing secrets without actually sending the tricks themselves was arisen independently through GCHQ in the unified Kingdom and also Whitfield Diffie and also Martin Hellman in the united States. The British exploration was kept secret for countless years, so today the solution is recognized as the Diffie–Hellman crucial exchange method.

See more: Ambient Conditions; Spatial Layout And Functionality; And Signs, Symbols, And Artifacts Are All:

Symmetric encryption methods have the advantage that encryption and also decryption is exceptionally fast, making them appropriate for transmitting large amounts of certain data. In the video clip you experienced how key distribution was achieved between 2 people, Alice and also Bob.