Cryptography/SSL 101 #1: public, private and symmetric keys concepts

  Рет қаралды 54,779

Matt Thomas

Matt Thomas

Күн бұрын

The first in the series of videos which will hopefully explain the key concepts around Https and SSL encryption, hashing (Sha 1, Sha 256 etc) certificates etc. I am then planning to extend the series into other interesting related subjects like blockchain and Bitcoin.
If you have any questions or requests please feel to ask in the comments section.

Пікірлер: 142
@Ones_Complement
@Ones_Complement 6 жыл бұрын
Well and beyond the best explained and most effectively communicated intro lesson on PKE I've seen on the web, hands down. Educators like you are an invaluable asset to society, and you have my ultimate gratitude.
@Nugeorge
@Nugeorge 4 жыл бұрын
This is an INCREDIBLE explanation of the topic. Real shame you stopped making videos.
@kartiknit1
@kartiknit1 7 жыл бұрын
simply awesome. finally a video which clearly explains. love the analogy! thanks for this!
@MattThomasLondon
@MattThomasLondon 7 жыл бұрын
awesome, thanks for your feedback
@iwswordpress
@iwswordpress 4 жыл бұрын
Very good use of real non-computer world example. Helps me to undestand it. Worth the length of time.
@makkar1610
@makkar1610 2 жыл бұрын
the best video series on SS/PKI on entire internet
@johnferrara392
@johnferrara392 6 жыл бұрын
I've read a dozens of articles and watched dozens of videos for years and this is the best explanation I've seen. I love the analogies.
@pchebbi
@pchebbi 7 жыл бұрын
Mr. Matt Thomas, fantastic videos! I a amazed by your depth of knowledge and the ease with which you explain these concepts which are generally considered as dry and cryptic. I am going to follow your video series in a sequential manner. Thank you so so much!
@AnupKumar-wq2qc
@AnupKumar-wq2qc 4 жыл бұрын
Well done Matt .There is no better content on youtube than yours on this topic...
@MichaelRyanEpley
@MichaelRyanEpley 6 жыл бұрын
Matt, Excellent job! I just finished your presentations on Cryptography/SSL 101. I have zero complaints. You are concise to the extent your subjects allow. Your information is presented sequentially such that I knew what I needed so that I could comprehend the next lesson. Lacking previous experience with this subject, I can only say it appears to me that you hit every lick along the way. The little bit of repetition in these lessons was helpful and allowed for greater understanding on my part. Lastly, I do not see how you could have presented this information any better than you did. I just wish some of my college professors had had your ability. Very well done! Thank you, Ryan P.S. While you made one "mistake" in discussing the use of public and private keys in lesson #3 or #4, as the comments indicate, you cleared it up later.
@HimanshJainYTube
@HimanshJainYTube 5 жыл бұрын
Having watched many short videos and understanding nothing, I'm deeply grateful that you made this video.
@sauravshukla1
@sauravshukla1 6 жыл бұрын
This made me smile.This is how one should teach.
@UhOohSpaghettiOs
@UhOohSpaghettiOs 7 жыл бұрын
I usually don't feel the need to press 'like' on good videos. But this one deserves it! Very well explained
@michaelallen1843
@michaelallen1843 6 жыл бұрын
Matt: thank you! best hour I ever spent alone in a quiet room with a cup of coffee :) looking forward to the rest of the series
@joshuacmorgan
@joshuacmorgan 3 жыл бұрын
YES! Well worth the time. I spent triple the length of this video trying to understand this topic from other much shorter material.
@HackMac74
@HackMac74 7 жыл бұрын
Great tutorial ! Don't you excuse for it's length...the detailed description is in fact the very benefit. I didn't understand the "putting a symmetric key into the asymmetric box" thing before...well done, mate.
@MattThomasLondon
@MattThomasLondon 7 жыл бұрын
Awesome
@pancratiuschuba6652
@pancratiuschuba6652 4 жыл бұрын
you just won a subscriber. The best explanation on KZbin. Seriously, that was excellent. Keep doing what you're doing!
@sempieros
@sempieros 6 жыл бұрын
It's a long but at same time briliant tutorial! I do not often write comments/give likes to the clips on youtube but this one deserves it :).
@cristiano1320
@cristiano1320 6 жыл бұрын
This video is absolutely fantastic. Simple, but very thorough explanation. Congrats.
@th3burg3r99
@th3burg3r99 4 жыл бұрын
Awesome video! I went from never studying this at all to feeling like I grasp this concept pretty well
@erickramirezvargas5538
@erickramirezvargas5538 7 жыл бұрын
Incredible explanation, so clear. You have a natural talent to explain complicate things into really simple stuff
@sanjeewamaduranga8199
@sanjeewamaduranga8199 6 жыл бұрын
Complex subject explained in an amazingly simple analogies !!! Great video. Thanks for your time & effort. Much appreciated & please add more videos further.
@MMABeijing
@MMABeijing 5 жыл бұрын
gold! your videos are an incredible gold mine! thank you so very much for sharing your knowledge with so much pedagogy. You really tried to understand the whole thing and it shows powerfully when you explain it...
@newname958
@newname958 7 жыл бұрын
Hi Matt, Thank you so much. Thank you so much. You have explained it very clearly.
@martonlorand
@martonlorand 7 жыл бұрын
This is an excellent explanations of symmetric and asymmetric encryption . Good analogies with humpty dumpty , evil courier and bank .
@Fa8103FaLaLa
@Fa8103FaLaLa 6 жыл бұрын
Thank you so much for your sharing. This was really helpful. You could describe such a complex topic in such a clear and understandable explanations. Amazing!
@patelmahesh80
@patelmahesh80 7 жыл бұрын
Matt - After going through multiple videos found your video and you made it easy to understand. Thanks!
@boogiywoogiy
@boogiywoogiy 4 жыл бұрын
Really good, explanation for this is a tongue twister in itself (whatever videos I have seen, by the nature of this subject), but you have done a tremendous job of explaining each bit and also keeping it all together as well - great work and THANKS!!
@conaxliu9677
@conaxliu9677 3 жыл бұрын
Whew! That was long! But I do understand more about the difference between private and public key now. Great!
@mohitdahiya3102
@mohitdahiya3102 3 жыл бұрын
Yoy are amazing mate. Thank you for this video. Now, going to watch your next video.
@rajeshramachandran1541
@rajeshramachandran1541 6 жыл бұрын
Excellent and clearly explained with analogies. One the best videos on SSL
@danielmehari2276
@danielmehari2276 7 жыл бұрын
Nice analogy, you made it very easy to understand the SSL/TLS protocol. Kudos!
@sacintha
@sacintha 7 жыл бұрын
Awesome is the word. I guess you are a genius in what you do.This can be seen in the way you have simplified things with passion. I'm a fan
@MattThomasLondon
@MattThomasLondon 7 жыл бұрын
I wouldn't go that far, but thanks for the kind words. I'm glad you found it helpful
@RajaPandianCRP
@RajaPandianCRP 7 жыл бұрын
Hi Matt, been looking for a video that explains SSL concepts in practical terms and finally got this one as a "recommended video". Really worth watching...Thanks for sharing your knowledge :)
@pthube
@pthube 6 жыл бұрын
Beautifully explained the concept of public and private key and overall how it works..
@mrm12325
@mrm12325 8 жыл бұрын
Matt, This is amazing man. Your way of explaining is unbelievable. I am a fan now. Thanks lot.
@MattThomasLondon
@MattThomasLondon 8 жыл бұрын
Thanks a lot, hearing feedback like this definitely makes it worthwhile.
@TheWilloutte
@TheWilloutte 2 жыл бұрын
This video I think deserves more audience ;)
@mnemotronic
@mnemotronic 7 жыл бұрын
Thanks! This helped me to understand what was going on "behind the curtains" with all the encryption stuff. There was some repetition that could be eliminated with anther take. OTOH now I know the concepts and use of symmetric v. asymmetric and why we need both. Also the page showing the actual formulea for one-way encryption was pretty cool.
@MattThomasLondon
@MattThomasLondon 7 жыл бұрын
Thanks, yes, it's tough to strike the right balance between sufficient repetition to consolidate the message and tedium, and one will always get it wrong for some since everyone has their own speed of learning. The overall objective is that most people from whatever background who watch the video will get comfortable with the material.
@samyan24
@samyan24 7 жыл бұрын
Superb explanation and analogy! Literally have not understood this topic better - Thanks :)
@akimalam2041
@akimalam2041 7 жыл бұрын
This is a great video. I had some basic understanding of this; however, I learned a lot watching this video and clears many of my confusions. Thank you so much for your effort putting such detailed video. I salute you. Thanks
@MattThomasLondon
@MattThomasLondon 7 жыл бұрын
You're very welcome!
@sofiahoac
@sofiahoac 8 жыл бұрын
Good analogies and clear explanation of technical concepts. Found myself with strong feelings of dislike for the courier towards the end of the video.
@MattThomasLondon
@MattThomasLondon 8 жыл бұрын
+sofiahoac Yeah, he's a nasty piece of work
@sofiahoac
@sofiahoac 8 жыл бұрын
+mattua Question for you - on your last slide (the only one that I found a bit confusing) and at the point where my computer picks a random number (you used 25) to send to the bank. Does my computer pick the random number once and use it for all future sessions with my bank or does it pick a new random number every time I log on to my bank?
@MattThomasLondon
@MattThomasLondon 8 жыл бұрын
+sofiahoac Good question - the pre master secret is chosen on the client computer each time a new session is established. So the same public/private key pair will be used each time since they belong to and are installed on the bank's webserver. This public/private pair are used to share the NEW symmetric session key between the client and server. In the analogy of the bank, housebound Humpty Dumpty and physical chests, this is as if Humpty buys a new symmetric box every week with a new key which he needs to copy and send the bank using the bank's same old asymmetric chest..... He might want to do this perhaps every month because even though the courier has never had a chance to get his own copy of the key, perhaps if he sees the same symmetric chest going back and forth, he can spent 30 mins trying to crack the lock - this would be the equivalent of cracking the AES symmetric encryption algorithm without the key.
@femyraecheljoy9100
@femyraecheljoy9100 6 жыл бұрын
one of the best videos on SSL, thank you very much...helped me understand how it works after going vainly through coupleo f other videos. very good
@Vivek-jo9jl
@Vivek-jo9jl 7 жыл бұрын
Can;t be explained better than this - Cheers Matt!
@claudiutache5976
@claudiutache5976 4 жыл бұрын
Thank you ! Very explicit.
@riccardoandreetta9520
@riccardoandreetta9520 8 жыл бұрын
yes man !! this is absolutely NOT an easy topic, all about cryptography isn't. But your way of explaining things, is unbelievable. I sometimes needed to watch it twice, because the topic is not that easy, but this video is really wonderful. I will go on watching all the others too. Hope you really teach somewhere in a university to students ... we all had good teachers, normal teachers, unfortunately BAD teachers that couldn't explain anything to the students. You are an on-line AMAZING teacher.
@MattThomasLondon
@MattThomasLondon 8 жыл бұрын
Thank you so much for that feedback
@arunmanoharan
@arunmanoharan 7 жыл бұрын
Excellent detailed video in simple terms. Fantastic work!
@MattThomasLondon
@MattThomasLondon 7 жыл бұрын
Thanks Arun, appreciate that
@madfox5085
@madfox5085 4 жыл бұрын
no comments, u r extraordinary in explaining things. i finally ended up in this video after many videos where i was struggling to understand the concept. Thanks to humpydumpty
@virajpadte
@virajpadte 7 жыл бұрын
I have seen a lot of SSL videos and I can tell you for sure that this video is awesome.
@MattThomasLondon
@MattThomasLondon 7 жыл бұрын
Thanks Viraj - really appreciate that
@mbarnwal
@mbarnwal 7 жыл бұрын
I second that.. This was very nice explanation.
@thecosmologist
@thecosmologist 4 жыл бұрын
Its wasn't boring or tedious it was brilliant, very clear and in one viewing i have grasped the concepts. Thank you so much for your time and effort in making this video. By the way do you have a bird?
@webikehike
@webikehike 7 жыл бұрын
Outstanding.
@dvberlindvd
@dvberlindvd 7 жыл бұрын
An Excellent Video.
@henrichsury98
@henrichsury98 3 жыл бұрын
Great videos! Thank you for education
@ashutoshningot4483
@ashutoshningot4483 4 жыл бұрын
Finally got more than I was looking for . @Matt Thomas God bless you :) Please give info if you have a website or blogging site or channel or tutorials or more. I will be excited to join your tutorials. Thanks One more #NoResonToDislike.
@utki17
@utki17 5 жыл бұрын
you definitely fucking hammered this thing in my head once and for all :) !! YOU ROCK !! keep the great videos coming !
@gaurav28ch
@gaurav28ch 7 жыл бұрын
Incredible explanation of a complex subject. Congrats !!
@SuperBluesblues
@SuperBluesblues 4 жыл бұрын
Great explanation . Thanks a lot!
@MrVigneshhyd
@MrVigneshhyd 8 жыл бұрын
Amazing explanation. You made this complex subject easy. Thanks a lot for your awesome presentation.
@MattThomasLondon
@MattThomasLondon 8 жыл бұрын
Thanks Vikram..glad you liked it. If you find this kind of stuff interesting maybe check out my Bitcoin/Blockchain series ..similar concepts but perhaps more exciting application of them kzbin.info/www/bejne/rqikY4ehmKaEnbM
@vivekacharya3110
@vivekacharya3110 7 жыл бұрын
WOW super explained.. I watched many videos on this.. this is super well explained.... thank you so much... keep posting..
@craighallett6590
@craighallett6590 3 жыл бұрын
Excellent explanation!
@edithmicheleb1
@edithmicheleb1 4 жыл бұрын
The actual relationship between the public/private key pair is that when the box is locked with one, it can be unlocked by the other. Therefore the Bank is faced with the problem of getting the public key to Humpty in a secure way. How does the Bank accomplish this? It can't send the public key with an unlock box because the courier can make a copy and then be able to open the box the next time the Bank needs to send the box to Humpty - the courier has a copy of the public key and can open the chest just like humpty can.
@andreaszetea-ster900
@andreaszetea-ster900 8 жыл бұрын
Thanks for the explanation Matt. This was really useful and well explained.
@marionthomas1257
@marionthomas1257 8 жыл бұрын
Thanks - good series...keep them coming
@ahmadelbeltagui1034
@ahmadelbeltagui1034 3 жыл бұрын
Very clever, Thank you.
@kamilszewczyk6005
@kamilszewczyk6005 7 жыл бұрын
Thank You, these are the best explanations I have ever seen
@MattThomasLondon
@MattThomasLondon 7 жыл бұрын
Thanks Kamil, appreciate it
@saravanaga
@saravanaga 8 жыл бұрын
Excellent clear explanation. Very much useful. Thanks for your wonderful work.
@MattThomasLondon
@MattThomasLondon 8 жыл бұрын
Glad you liked it - I have a new video on public/private keys as part of blockchain/bitcoin series which shows you how to generate your own keys and play around with them and really helps to clarify the material. kzbin.info/www/bejne/i6TCgJppf8qLn6s
@saravanaga
@saravanaga 8 жыл бұрын
Thanks Matt
@mdziaurrahman3392
@mdziaurrahman3392 4 жыл бұрын
Thank you for your effort very well explained
@sonaltanpure
@sonaltanpure 8 жыл бұрын
Very nice tutorial. keep coming more..
@ilariamartiradonna6223
@ilariamartiradonna6223 7 жыл бұрын
great work! I loved your video: it made clear things that others video didn´t
@pedrocontrerasavendano8578
@pedrocontrerasavendano8578 4 жыл бұрын
amazing explanation, thanks!
@vk148
@vk148 7 жыл бұрын
Excellent video on SSL...
@bazilian0
@bazilian0 6 жыл бұрын
Great explanation of a complicated subject.
@manishtyagi2816
@manishtyagi2816 6 жыл бұрын
Exceptional, thanks Matt
@litontonaton
@litontonaton 6 жыл бұрын
You are a great teacher!!! Would appreciate your lecture slides as well, if you can kindly upload them somewhere. So that i can stop taking crappy screenshots :-S
@ziadfawzi
@ziadfawzi Жыл бұрын
Thank you so much.
@chaturalive
@chaturalive 6 жыл бұрын
Very clear explanation. Thanks
@ryanchacon5883
@ryanchacon5883 6 жыл бұрын
I'd be interested in a http series
@omarkhaled4302
@omarkhaled4302 3 жыл бұрын
you're a master
@PratikBandarkar07055
@PratikBandarkar07055 7 жыл бұрын
awesome explanation in very simple terms.
@MattThomasLondon
@MattThomasLondon 7 жыл бұрын
Thanks Pratik
@CarlosReyes-sb7sk
@CarlosReyes-sb7sk 7 жыл бұрын
Awesome explanation. Thank you.
@mangooo1156
@mangooo1156 6 жыл бұрын
Really detailed video! Thanks a lot!
@sefton999
@sefton999 7 жыл бұрын
Excellent tutorial. Thanks
@swapnilkashid5220
@swapnilkashid5220 7 жыл бұрын
Thank You !! Really good explanation of concepts
@RahulKumar-jz7nq
@RahulKumar-jz7nq 7 жыл бұрын
Good One, I like it, Thank you!!
@supamc
@supamc 7 жыл бұрын
Fantastic explanation. Like and subscription for sure!
@dilrajsinghkhalsa
@dilrajsinghkhalsa 6 жыл бұрын
Awesome explanation
@willischan3969
@willischan3969 7 жыл бұрын
Very good explanation 👍🏻
@kimpetermesenholler831
@kimpetermesenholler831 6 жыл бұрын
Great explanation! Thanks!
@uwemueller1918
@uwemueller1918 5 жыл бұрын
Perfect! Thanks a lot!
@pchebbi
@pchebbi 7 жыл бұрын
QUESTION:- Hi Matt, have a quick question (you might have answered it in subsequent videos, though). In the slide - "Why do we need https/SSL/TLS", last line says - "bandit can read the data and potentially modify..". So, this leads to my question as follows: When bank sends the chest and PUBLIC key via this Evil Courier Service, bandit has access to this PUBLIC key, right? What if he modifies or corrupt this PUBLIC key and makes it un-usable? After all bandit guy can get into any sort of negative adventure, right?
@MattThomasLondon
@MattThomasLondon 7 жыл бұрын
if he makes it unusable, then Humpty Dumpty will never lock up the valuable things in the chest in the first place, but yeah he could do it just for fun :)
@jimgee1000
@jimgee1000 7 жыл бұрын
Hi Matt, Thanks for your efforts. They are steadily helping to clarify the concepts, for me. One point I wanted to make following on from Warrior's question: What if the bank sends the box with his public key to humpty and the evil courrier forges the public key and the certificate? I presume the certificate is the only means humpty has for verifying the public key is really the bank's. So it comes down to how he is assured the certificate has not been forged. If the answer is the web of trust (which I have heard about) - perhaps you cover this in later videos - then maybe mention it here... because I'm now not sure whether you have covered this in upcoming(for me) subsequent videos. Seems like a legitimate time to flag this because you didn't mention it. Just looking for confirmation... not trying to bad-mouth the video, which is very good. Thanks.
@loudywen
@loudywen 3 жыл бұрын
best!!!
@kiranv5078
@kiranv5078 3 жыл бұрын
So we use asym and sym both... But the humpty did not initiate anything here.... But originally the client need to initiate a connection first then server send the files... But here why bank asking the passport directly
@kasun0087
@kasun0087 7 жыл бұрын
Awesome explanations keep going bro !!! :)
@richardmcdonald2737
@richardmcdonald2737 6 жыл бұрын
This is perfect
@MMABeijing
@MMABeijing 5 жыл бұрын
19 mn into the video, i have questions that you might answer later on but I am still going to ask now: I guess the in your mathematical formula e stands for encryption, d for decryption, but what does n, p and q stands for ( I don't even see p and q on your slides). thank you
@Akshay-cj3hq
@Akshay-cj3hq 3 жыл бұрын
Hi Matt, why does the client send a random number rather than just straight up send the symmetric key?
@lakshyam
@lakshyam 6 жыл бұрын
Really good explanation. Do you have the slides used?
@dyadaval
@dyadaval 6 жыл бұрын
Matt, nice video. Is there ppt format to read offline or as quick refresher?? can you please share. thanks
@athmikagowda6728
@athmikagowda6728 6 жыл бұрын
Matt Thomas Hi Matt, I have one question , both server and client after receiving random number , both will use random number as a input for determistic function to generate the symmetric key , which is that determistic function ? is this explained in coming session? Is this determistic function is Diffie Hellman key exchange algorithm?
@virajpadte
@virajpadte 7 жыл бұрын
Waiting for a detailed HTTPS video
@zareefanam28
@zareefanam28 7 жыл бұрын
Why is the session key a function of the symetric key, as opposed to the symetric key itself?
@wangyeelinpamela
@wangyeelinpamela 6 жыл бұрын
This was really helpful :D Thanks!
Cryptography/SSL 101 #2: Cryptographic hash functions
28:25
Matt Thomas
Рет қаралды 15 М.
Cryptography/SSL 101 #5: SSL certificate chain in depth
1:03:43
Matt Thomas
Рет қаралды 36 М.
Un coup venu de l’espace 😂😂😂
00:19
Nicocapone
Рет қаралды 4,4 МЛН
🍉😋 #shorts
00:24
Денис Кукояка
Рет қаралды 3,8 МЛН
Cryptography/SSL 101 #3: Digital signatures
14:11
Matt Thomas
Рет қаралды 15 М.
Cryptography/SSL 101 #4: Simplified man in the middle attack MITM
11:46
HTTPS, SSL, TLS & Certificate Authority Explained
43:29
Laith Academy
Рет қаралды 116 М.
Introduction to Cryptographic Keys and Certificates
18:06
Paul Turner
Рет қаралды 169 М.
Why you’re so tired
19:52
Johnny Harris
Рет қаралды 1,5 МЛН
How the Bank of Mum and Dad is creating a new class system
35:10
PoliticsJOE
Рет қаралды 75 М.
How do QR codes work? (I built one myself to find out)
35:13
Veritasium
Рет қаралды 4,4 МЛН
A complete overview of SSL/TLS and its cryptographic system
37:26
TECH SCHOOL
Рет қаралды 131 М.
When you Accidentally Compromise every CPU on Earth
15:59
Daniel Boctor
Рет қаралды 836 М.
Un coup venu de l’espace 😂😂😂
00:19
Nicocapone
Рет қаралды 4,4 МЛН