Diffie Hellman Key Exchange Algorithm | Complete Working with Diagram & Example

preview_player
Показать описание
Support Simple Snippets by Donations -
--------------------------------------------------------------------------------------------- In this video tutorial we will study and understand the working of Diffie-Hellman Key exchange algorithm.
Symmetric Key Echange Problem -
1. Key exchange solution is not fool proof or is not practically possible.
2. This problem is called as key distribution or key exchange problem.
3. It is inherently linked with the symmetric key cryptography

Diffie-Hellman Key Exchange/ Agreement Algorithm -
1. Two parties, can agree on a symmetric key using this technique.
2. This can then be used for encryption/ decryption.
3. This algorithm can be used only for key agreement, but not for encryption or decryption.
4. It is based on mathematical principles

Diffie Hellman Algorithm Steps -
1. Firstly Alice and Bob mutually agree on 2 large prime numbers, n & g. These 2 numbers need not be kept secret.
2. Alice chooses another large random number x(private to her) and calculates A such that A = g^x mod n.
3. Alice sends this number A to Bob.
4. Bob independently chooses another large random number y(private to him) and calculates B such that B = g^y mod n.
5. Bob sends this number B to Alice.
6. Alice now computes her private key value K1 as: K1 = B^x mod n.
7. Bob computes his private key value K2 as: K2 = A^y mod n.
8. K1 == K2 (key exchange done successfully)

Simple Snippets Official Website -
Simple Snippets on Facebook -
Simple Snippets on Instagram -
Simple Snippets on Twitter -
Simple Snippets Google Plus Page -
Simple Snippets email ID -

Рекомендации по теме
Комментарии
Автор

Hey Guys, if you want more such tech educational videos on this channel then please support me by subscribing to this channel & also share it with your friends as it helps me create more content just for you ✌

SimpleSnippets
Автор

Best explanation but underrated on youtube. Keep doing such videos. One day it will reach the deserved place

devvratarya
Автор

short and simple very much effective ! Great work !!!

LearnWithSmartShorts
Автор

You know those memes about the Indian Guy representing Jesus, this man is that jesus representation. Simplified what i was looking for in years

ibroschool
Автор

I really love the explanation. But I am yet to see how it is implemented in networking systems.

isaacnyarko
Автор

the best explanation till now, thanks

p_saini
Автор

Man you are awesome! Helped me in my exm!

nocopyrightgameplaystockvi
Автор

Nice explanation, keep going. All the best

athirashaji
Автор

Nice video. what is the difference between Diffie hellman and Elliptic-curve Diffie–Hellman key exchange algorithm.

geekelectronics
Автор

How can we exchange key between group of people....

vishvajeet
Автор

I don't have fb and Instagram account so only one option is Whatsapp

mardansingh
Автор

If I get any number... then I got equal value

pratikshapawar
Автор

ok I have exam today evening and studying this now lolzzzz

respect
visit shbcf.ru