Тёмный

Diffie-Hellman Key Exchange - the MAGIC that makes it possible - Cryptography - Practical TLS 

Practical Networking
Подписаться 239 тыс.
Просмотров 56 тыс.
50% 1

The Diffie-Hellman protocol is the underpinning of so many other security protocols on the Internet. It's the most popular answer to the question: How do we establish a shared key over an unsecure wire?
Diffie-Hellman uses a sequence of math calculations to answer that question. And in this video I'm going to prove it to you.
This lesson is a free sample lesson from the the greatest TLS and SSL training course ever created. No instructor rambling on about pointless stories. No slides with massive walls of text. No time wasting. Only simple, effective, and precise explanations. Complimented with practical illustrations and visuals.
🔐 More details about the course:
classes.pracnet.net/courses/p...
🏢 Do you configure or troubleshoot TLS/SSL for work? If so, I'm willing to bet your employer would happily pay for this SSL training. Reach out if you'd like to coordinate an introduction for a bulk license purchase with your company. I'm happy to provide a generous referral bonus =)
💬 Join Practical Networking Discord
/ discord
🖧 Want to learn how how data moves through a network?
• Networking Fundamentals
0:00 - Diffie Hellman Purpose
1:10 - The Math of Diffie-Hellman (Cryptography 101)
4:03 - Using DH's Shared Secret to generate Symmetric Keys
4:27 - How secure is Diffie-Hellman?
5:55 - Outro / Try it yourself!
6:23 - Practical TLS - The best SSL/TLS course ever created
Since you've made it to the bottom of the Description, here's a $100 off coupon code you can use on the full course =)
YT100

Наука

Опубликовано:

 

18 май 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 93   
@PracticalNetworking
@PracticalNetworking 2 года назад
👉 *More free lessons:* ru-vid.com/group/PLIFyRwBY_4bTwRX__Zn4-letrtpSj1mzY ✨ *Full course:* pracnet.net/tls 💲 *Coupon Code* for 50% off: youtube50
@iicekingak47
@iicekingak47 2 года назад
This was by far the easiest example on RU-vid for understanding Diffie-Hellman. Thanks!
@PracticalNetworking
@PracticalNetworking 2 года назад
Glad you enjoyed it =)
@sofiachumpitazi7880
@sofiachumpitazi7880 23 дня назад
agreed!
@ilariacorda
@ilariacorda 7 месяцев назад
Probably the best video on Diffie-Hellman algorithm, so well done!
@llandarek1
@llandarek1 7 месяцев назад
That is exactly what I was looking for a while. I also signed up for the TLS course. Well done for the great content.
@wassim-akkari
@wassim-akkari 2 года назад
Thank you for this series, It's really well made. I would probably reference each time I forget a concept.
@PracticalNetworking
@PracticalNetworking 2 года назад
Glad you enjoyed it!
@Sneguro4ka
@Sneguro4ka День назад
Perfect explanation.
@nguyendinhthai3486
@nguyendinhthai3486 Год назад
so damn good course. I am registering the course. Keep good work, Ed!
@fastrobreetus
@fastrobreetus 17 дней назад
You are a great teacher!
@CyberTronics
@CyberTronics 2 года назад
Ohh yesssss. Whilst going through your TLS series got notification of this video and oh boy am I ready for Diffi. It’s not easy to understand but I can almost be certain you’ll have broke it down in such a way my 80 year old grandma will make sense of it!
@PracticalNetworking
@PracticalNetworking 2 года назад
Hope it lived up to your expectation!
@alimajdn
@alimajdn Год назад
Many Thanks for your Amazing topics, keep it up
@peterchmelar8886
@peterchmelar8886 2 года назад
Another great monday. Thanks for the upload
@PracticalNetworking
@PracticalNetworking 2 года назад
You're welcome! Glad you liked it!
@adedejiemmanuel1
@adedejiemmanuel1 2 года назад
Like always, you make it look easy. Thanks
@PracticalNetworking
@PracticalNetworking 2 года назад
You're welcome, Azza!
@IliyaDamyanov
@IliyaDamyanov 7 месяцев назад
Thanks for the excellent video.
@catalyticcentaur5835
@catalyticcentaur5835 Месяц назад
Hey Ed, as I['ve ]read through them: You really earn these praises here. Thank you! Best regards, CC.
@PubgPeaks
@PubgPeaks 5 месяцев назад
Perfect simplest explanation found on youtube
@AJ-jm6zp
@AJ-jm6zp 2 года назад
As always, very great lecture, very useful, thank you so much brother
@PracticalNetworking
@PracticalNetworking 2 года назад
You're welcome!
@adrianopace9967
@adrianopace9967 9 месяцев назад
Thank you :)
@nikolqy
@nikolqy 5 месяцев назад
Very cool, thank you!
@hosseinshourabi398
@hosseinshourabi398 Год назад
Thank you so much :) As Always, Great!
@PracticalNetworking
@PracticalNetworking Год назад
You're welcome, Hosein =)
@renujain8911
@renujain8911 Год назад
I dont know how to say thankyou to this channel as it made me to understand all these complicated concepts in very simple explanation.... Good work & keep doing it 🙂
@PracticalNetworking
@PracticalNetworking Год назад
Renu! I've rather enjoyed seeing your kind comments on all the videos. Thank you for the positive energies! Truly happy you are learning so much from the channel. Cheers, friend. Happy (continued) learning! =)
@karthikbm1587
@karthikbm1587 2 года назад
Thank you for Teaching very easily understand difficult concept.
@PracticalNetworking
@PracticalNetworking 2 года назад
You're welcome, Karthik!
@srb1855
@srb1855 2 года назад
Excellent explanation. 👍
@PracticalNetworking
@PracticalNetworking 2 года назад
Thank you!
@elementsoflightandmusic
@elementsoflightandmusic Год назад
Thank you, this helped a lot!
@PracticalNetworking
@PracticalNetworking Год назад
Glad to hear!
@altanadamdintsyrenova4449
@altanadamdintsyrenova4449 11 месяцев назад
Hey hey, tried with Private key =2 and Private key =7, ending up with Public key =10 and Public key =7. And Shared one is 10. Thank you for your work! You are the best 😎🤓
@saoodkhan5251
@saoodkhan5251 2 года назад
Thank you sir,, best video.
@PracticalNetworking
@PracticalNetworking 2 года назад
You're welcome!
@rafay1708
@rafay1708 2 года назад
Just liked it before watching, we all know it's gonna be a great Video
@PracticalNetworking
@PracticalNetworking 2 года назад
;)
@wwolfram33
@wwolfram33 Год назад
Thanks!
@PracticalNetworking
@PracticalNetworking 11 месяцев назад
Hey Ward, I just wanted to say a huge thank you for the Super Thanks donation! Your support truly brightens my day and motivates me to create even more content. Thank you!
@pretbadha
@pretbadha Месяц назад
CA certificates contain publicPrivate keyPairs stamped by a trusted authority.......Great Course ED.... well done
@PracticalNetworking
@PracticalNetworking Месяц назад
Thanks for supporting the channel =)
@ayradizem2770
@ayradizem2770 2 года назад
Thank you man for the video :)
@PracticalNetworking
@PracticalNetworking 2 года назад
You're welcome, Ayrad!
@PracticalNetworking
@PracticalNetworking 2 года назад
Congrats Ayrad. You won the random course giveaway =). Reach out to me on Discord to claim your prize: pracnet.net/discord (I just realized that I never picked a Winner for this video, sorry for the long delay)
@ayradizem2770
@ayradizem2770 2 года назад
@@PracticalNetworking thank you very much :)
@ayradizem2770
@ayradizem2770 2 года назад
@@PracticalNetworking I'm in your groupe in discord but I don't know how to get what I have won :D
@maxmaster9908
@maxmaster9908 2 года назад
Super!!
@PracticalNetworking
@PracticalNetworking 2 года назад
=)
@TCinT
@TCinT 2 года назад
The math in this one is very cool :)
@PracticalNetworking
@PracticalNetworking 2 года назад
Agreed =)
@robpowell9162
@robpowell9162 11 месяцев назад
These videos are life changing, I appreciate your teaching style and notes! Question: Do you think we will go to elliptic curve crypto, away from DH and RSA due to key sizes etc, at least for key exchange? I would love to see you do a 101 video on ECC, as it's blowing my head around the maths and how it works!
@PracticalNetworking
@PracticalNetworking 11 месяцев назад
Yes, it's on my list! EC crypto is just using a different set of "numbers" than what we are used to. IT's still the same algorithms, just using points on a curve instead of real numbers (1, 2, 5, 100, 9999, etc...). So yes, we will always be using DH, RSA, DSA, etc... just sometimes on a curve (hence ECDH, ECRSA, ECDSA). Well, at least until quantum safe algorithms take over, I suppose.
@robpowell9162
@robpowell9162 10 месяцев назад
@@PracticalNetworking I'd love to see ECSDSA! Thankyou for making it so much easier to learn, I appreciate you so much. Do you think we will have quantum safe? Or "safe for now"? I wonder if that's measured in years, decades, or more?
@PracticalNetworking
@PracticalNetworking 8 месяцев назад
Everything in crypto is always a "safe for now" gamble ;p
@Don-Carillo
@Don-Carillo 2 года назад
Cheers , made that a lot easier than most do . not an easy one to explain and welcome back Alice and Bob :) . These Martin Helman and Whitfield Diffie guys have some brain capacity don't they .
@PracticalNetworking
@PracticalNetworking 2 года назад
Yea, it's incredible that these algorithms were developed 30~ years ago and are still the foundation of the crypto we use today. Cheers Don!
@studio48nl
@studio48nl Год назад
+1 for the 'why' it is difficult te reverse engineer!
@6e0eH732
@6e0eH732 3 месяца назад
Practicly impossible for supercomputers yet invented by human creative mind by applying logic and imagination. Amazing!
@mechanicaldev
@mechanicaldev 7 месяцев назад
How did they agree on two numbers, 13 and 6, at the beginning of their conversation? Let's say Bob doesn't know Alice and wants to send her a message. How will their first exchange happen? I am still confuse about it
@PracticalNetworking
@PracticalNetworking 6 месяцев назад
The peers have to do a handshake before they can do DH, and in that handshake they "agree" on a DH Group (which contains the two numbers, P and G).
@rotorfpv4117
@rotorfpv4117 2 месяца назад
no one will overhear this?
@jayak3768
@jayak3768 7 месяцев назад
In standard tls, a separate secret key is generated by the client and encrypted with servers public key is sent to the server. That is only the servers public/private key pair is used to exchange the symmetric key. Is that different than the secret key generation and sharing discussed here.
@rojenshrestha4371
@rojenshrestha4371 6 месяцев назад
hello how are the agreed number defined to be used bu both parties?
@ericzuckerburg6292
@ericzuckerburg6292 2 года назад
Sanks q very much
@PracticalNetworking
@PracticalNetworking 2 года назад
You're welcome Eric.
@matiashuartamendia7977
@matiashuartamendia7977 7 месяцев назад
so DH negotiates session key to encrypt data symmetric. However, RSA generates key pairs that are used to encrypt the session key when exchanged? then that session key is used symmetric to encrypt bulk data?
@MidheimOfficial
@MidheimOfficial 8 месяцев назад
OK, nice explanation. What i can never find is how the keys are used to crypt and decrypt messages! Do you have some ressources on that by a chance?
@PracticalNetworking
@PracticalNetworking 8 месяцев назад
Yes, I have a video on my channel about RSA. It shows the math which creates keys, and the math which uses them to encrypt and decrypt messages.
@TheMrNatoShow
@TheMrNatoShow 2 года назад
SpongeBob and cryptography 🔐 are a FANTASTIC pair!
@PracticalNetworking
@PracticalNetworking 2 года назад
Agreed ;)
@user-fc5jb3ku8y
@user-fc5jb3ku8y 2 месяца назад
So if hacker get to know what the shared numbers are meant for (i:e maybe hacker manages to read an email which have them listed), then hacker will also end up generating the same secret key, right?
@admin_e
@admin_e 2 года назад
👍👍👍
@burgundyhome7492
@burgundyhome7492 Год назад
Aha! So they exchange each other's public but they don't see each other's private! Got it!
@PracticalNetworking
@PracticalNetworking Год назад
Exactly. =)
@soanzin
@soanzin 5 месяцев назад
Que vídeo do caralho.. nunca encontrei um vídeo no RU-vid com tamanha qualidade de detalhes..
@sheldonhunter6489
@sheldonhunter6489 Год назад
how does this video only have 772 likes as of this moment....smdh
@rids22
@rids22 2 года назад
Hi, what if the public key which Alice and Bob shares with each other is modified by hackers in public network? Both Alice and Bob would never be able to create same shared secret.
@PracticalNetworking
@PracticalNetworking 2 года назад
Yes! Correct. Hence, when sharing the Public Key, it's good to also implement something that also provides Integrity. This is why when you download a website's certificate (which includes a public key), the certificate also includes a Signature (providing Integrity and Authentication). More details on signatures here: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-_zyKvPvh808.html
@burgundyhome7492
@burgundyhome7492 Год назад
So by this "integrity" mechanism they will both know IF the public key they received was tampered or not? Cool!
@cgrinseo7752
@cgrinseo7752 Год назад
But what exactly is Generator of P? Is it randomly generating Prime numbers or just random numbers? In this case 6 is not a Prime number
@PracticalNetworking
@PracticalNetworking Год назад
Good question... I should write an article about it. Reach out to me on Discord and I can explain it to you briefly. But you are correct to point out Generator != Prime number. =)
@safwanumer3997
@safwanumer3997 Год назад
Am I the only one to feel this topic is just a piece of cake after hearing this explanation?
@PracticalNetworking
@PracticalNetworking Год назад
That tells me I did my job correctly =).
@safwanumer3997
@safwanumer3997 Год назад
@@PracticalNetworking absolutely, just love your videos.
@PracticalNetworking
@PracticalNetworking Год назад
@@safwanumer3997 If you're willing, sharing this content online would be a great help. =) Glad you enjoyed these either way. Cheers, Safwan.
@santoshkumar-dr4qg
@santoshkumar-dr4qg 2 года назад
👏👏👏✅
@PracticalNetworking
@PracticalNetworking 2 года назад
=)
@mfondesmondiwok690
@mfondesmondiwok690 11 месяцев назад
sometimes i just wish i can give u a thousand likes with one account. #Simplified learning
@PracticalNetworking
@PracticalNetworking 11 месяцев назад
Thanks for the kind note =). I appreciate even the single like! Cheers.
@motiondesign2501
@motiondesign2501 Год назад
So, to bob and alice decrypte the message first, it must alice and bob accept the public key both side witch A=(G x mod n) the result is the public key must be accepted both side and we called this digital certificate.
Далее
TLS / SSL - The complete sequence - Practical TLS
6:15
Ботанша от 1 до 11 класса !
28:06
Просмотров 747 тыс.
Китайка раскрыла Зайку😂😆
00:19
Diffie Hellman -the Mathematics bit- Computerphile
7:05
Diffie-Hellman Key Exchange Explained | A deep dive
23:46
Elliptic Curves - Computerphile
8:42
Просмотров 533 тыс.
Secret Key Exchange (Diffie-Hellman) - Computerphile
8:40
Tech Talk: What is Public Key Infrastructure (PKI)?
9:22
НЕ ПОКУПАЙ iPad Pro
13:46
Просмотров 327 тыс.
😱НОУТБУК СОСЕДКИ😱
0:30
Просмотров 502 тыс.
ОБЗОР Pixel 8a | iPhone от ГУГЛ👀
0:33
Просмотров 21 тыс.