RSA Algorithm - How does it work? - I'll PROVE it with an Example! -- Cryptography - Practical TLS

  Рет қаралды 141,439

Practical Networking

Practical Networking

Күн бұрын

Пікірлер: 295
@PracticalNetworking
@PracticalNetworking 3 жыл бұрын
📢 *Holiday & New Year Promotion* 👉 Practical TLS for only $55 _(originally $297)_ 💻 Use code *FROM2024TO2025* --> pracnet.net/tls 📅 Offer expires Jan 4
@mertcancam
@mertcancam 3 жыл бұрын
You are an incredibly gifted instructor. Can't thank you enough!
@PracticalNetworking
@PracticalNetworking 3 жыл бұрын
You're welcome, Mustafa. Glad you enjoyed this one too!
@bill0cao
@bill0cao Жыл бұрын
Indeed
@pradeeshbm5558
@pradeeshbm5558 11 ай бұрын
First explanation of RSA in the world without Alice and Bob
@PracticalNetworking
@PracticalNetworking 11 ай бұрын
I save those two for my DH explination =)
@niranjanphadke
@niranjanphadke 3 жыл бұрын
Completed my graduation physics/mathematics in 1987. Read so many books, understood concepts today with this explanation. Thanks a lot..
@PracticalNetworking
@PracticalNetworking 3 жыл бұрын
You're very welcome, Niranjan =)
@humayoonkhan2797
@humayoonkhan2797 9 ай бұрын
I can relate to your reply. I graduated with the same subjects in 1986. This video was very helpful in clearing the concept.
@dongmingyao6428
@dongmingyao6428 8 ай бұрын
same feeling
@TheMrNatoShow
@TheMrNatoShow 3 жыл бұрын
You make what I once thought was extremely complicated very easy to understand! You are a visual learner’s dream come true concerning public and private keys 🔑
@PracticalNetworking
@PracticalNetworking 3 жыл бұрын
That's so nice to hear =). The goal of every teacher is exactly that, making the complex seem simple. Glad I could help!
@PracticalNetworking
@PracticalNetworking 3 жыл бұрын
🥳🥳 *Promotion Ended - Congrats @The.Wizard* 🥳🥳 For the rest of you, you can use this discount code for $100 off the course: YT100 classes.pracnet.net/courses/practical-tls Subscribe + Notification bell to increase your odds of winning when the next video (and giveaway) releases! 📢📢 Practical TLS - Course Giveaway 📢📢 I'll be picking a random person from all the comments in the next 7 days on this video to give a scholarship for free access to the full Practical TLS course. All you have to do is make a post to enter. Check back in a week to see if you won. =)
@johnakhagbemhe552
@johnakhagbemhe552 3 жыл бұрын
Great job. I'm interested. Thank you.
@PracticalNetworking
@PracticalNetworking 3 жыл бұрын
@@johnakhagbemhe552 Good luck with the drawing =)
@johnnyq4260
@johnnyq4260 3 жыл бұрын
Dang! Had I seen this I would have heaped (the deserved) praises on you instead of posting an emoji 🤣
@IIDarknightII
@IIDarknightII 3 жыл бұрын
Nice work with the video. Do you have videos like that on AES encryption?
@pravinkalake995
@pravinkalake995 3 жыл бұрын
Thanks mate! This is a top quality informative content✌
@GregDickinson75
@GregDickinson75 3 жыл бұрын
This is awesome. We all use RSA encryption daily but I never really knew *how* all those keys worked together. Thanks for explaining it clearly and concisely.
@PracticalNetworking
@PracticalNetworking 3 жыл бұрын
Glad you liked it, Greg! Yes, so much happens "under the hood" that we don't appreciate. You'll like the DH video I have planned to release next week!
@alexanderkrizel6187
@alexanderkrizel6187 Жыл бұрын
23/83. It's actually pretty easy with Excel. SQRT(1909) = 43.6921, so do x=1 to 44 with 1909/x. Since it's semi-prime, only one value (23) will have a whole number answer. Just to check, 23*83=1909 and both are prime. But that's 1909. Doing the same for a 100+ digit number is beyond what Excel can handle. Great video. Thanks!
@PracticalNetworking
@PracticalNetworking Жыл бұрын
Great solution. Glad you enjoyed the video =).
@daisy-sv8jk
@daisy-sv8jk 4 ай бұрын
what did i just read... ;-;
@OmarAhmed-fh2nu
@OmarAhmed-fh2nu 19 күн бұрын
hey man i just wanted to say a big thank you, i found this video from a reddit post, i was so close to leaving this topic off from my notes because i didnt understand it but im glad i didnt, thanks again and now im off to watch your DH video
@user-be6wb1vd7w
@user-be6wb1vd7w Жыл бұрын
Ive watched a lot of videos to understand rsa but this was the only one that made me understand it! Thanks for the video!
@PracticalNetworking
@PracticalNetworking Жыл бұрын
Glad it helped!
@deany1620
@deany1620 24 күн бұрын
Best explanation I've ever seen of RSA. Outstanding job!
@dustcore
@dustcore 2 жыл бұрын
Never been a fan of maths but this was one of the most fun and interesting videos to watch. Thanks for sharing !
@PracticalNetworking
@PracticalNetworking 2 жыл бұрын
Glad you enjoyed it =)
@rschmidtzalles
@rschmidtzalles Жыл бұрын
One of the best RSA videos that I found
@PracticalNetworking
@PracticalNetworking Жыл бұрын
@sillycut1169
@sillycut1169 2 жыл бұрын
I have just started learning more about IT and I think I might have found the best channel. Please keep posting such amazing videos.
@PracticalNetworking
@PracticalNetworking 2 жыл бұрын
Thank you for the kind words. =) Glad to be a part of your journey.
@WhiteZorin
@WhiteZorin 3 жыл бұрын
Awesome! I was not sooo much interested in such a deep dive, but when you started explaining I just sat and enjoyed the ride :) Thanks for your work again.
@PracticalNetworking
@PracticalNetworking 3 жыл бұрын
Glad you stuck around for the ride =). You're welcome, Bartosz!
@wayneinteressierts9973
@wayneinteressierts9973 3 жыл бұрын
Simply the best IT channel at the whole web! I‘m so much grateful for your work!!!
@PracticalNetworking
@PracticalNetworking 3 жыл бұрын
Thank you for the kind words, Wayne. Cheers!
@MusaYmc
@MusaYmc 2 жыл бұрын
Tnx for the clear explanation! Took me 15 minutes to implement a simple RSA encryption for my embedded project thanks to you.
@fsl001
@fsl001 3 жыл бұрын
We need more inspiring people like you. Fantastic overview
@PracticalNetworking
@PracticalNetworking 3 жыл бұрын
Thank you, Mr. Cool! =) I have a feeling you'll like the DH video I'm releasing monday =)
@adedejiemmanuel1
@adedejiemmanuel1 3 жыл бұрын
You are convincing. When you said of your difficulty and the concomitant aha moment, that got me glued to the video. Of course, the content is always insightful. You are always amazing. Thank you forever.
@PracticalNetworking
@PracticalNetworking 3 жыл бұрын
Glad you enjoyed this one, Azza =). DH Next, I'm sure you'll enjoy that one too!
@Segmentation_fault
@Segmentation_fault 11 ай бұрын
Thanks a lot. I'm currently studying my cryptography course and this video gives me a better understanding of RSA.
@PracticalNetworking
@PracticalNetworking 11 ай бұрын
Glad it was helpful!
@imranhussain8700
@imranhussain8700 Жыл бұрын
How is this possible, How can you explain such a complex topic so effortlessly, Simply Brilliant, Blown away :). Thank you very much, appreciate all your efforts. Why this channel is not having enough subscribers :(, atleast you deserve 5 million
@danialranjbar9805
@danialranjbar9805 Жыл бұрын
I cant thank you enough for publishing these couses on youtube
@ChitChat
@ChitChat Жыл бұрын
Your skills in instruction are unrivaled anywhere else and helps make us all feel a little less dumb for not understanding other instructor explanations.
@joanbahati6260
@joanbahati6260 2 жыл бұрын
You are a gifted instructor. Thank you so much
@PracticalNetworking
@PracticalNetworking 2 жыл бұрын
Thakn you, Joan.
@nomanbaluchi
@nomanbaluchi 3 күн бұрын
thanks alot sir for clearing the concept with easy steps....... once again thanks alot
@yerzhansalkynbayev6174
@yerzhansalkynbayev6174 Жыл бұрын
Really awesome video, I used to think that the math behind RSA was super complicated, you made it look so easy! Thank you)
@ethanhalprin
@ethanhalprin 2 жыл бұрын
Best explanation of RSA ever.
@PracticalNetworking
@PracticalNetworking 2 жыл бұрын
Thank you, Ethan =).
@ashkannasirzadeh1052
@ashkannasirzadeh1052 3 ай бұрын
U talk about technology like a fascinating story, perfect explanation, thank u
@GalacticTheOne
@GalacticTheOne 2 ай бұрын
This is an awesome session of understanding RSA with a working example.
@cxl26
@cxl26 Жыл бұрын
I can only reiterate what many people have already said. This is amazing contents! Thank you very much sir!
@gyangp810
@gyangp810 4 ай бұрын
You are the best tutor I have ever seen
@maestrocorporate5804
@maestrocorporate5804 2 ай бұрын
Wow Ed makes it so clear and easy to understand.
@preciousmposa1363
@preciousmposa1363 Жыл бұрын
This is one of the most effective lessons I’ve encountered on RSA🎉
@awaisraza2285
@awaisraza2285 Жыл бұрын
Damn, This is literally very easy. Couldn't able to understand this in my semaster and now after 10 days i have final exams for cryptography. This helped me alot
@cjbios2080
@cjbios2080 Күн бұрын
this video and the content, as all of the content of this topic, is mind blowing !! so well explained with great examples, i learnt a lot today!! big thank you for all of this!!
@sreeramthokala
@sreeramthokala Жыл бұрын
Great and simple explanation and examples with simple numbers helps to reinforce concept
@Byassch
@Byassch 9 ай бұрын
you just blew my mind. wow. thank you for making it simple yet complex.
@bouramadiallo4892
@bouramadiallo4892 3 жыл бұрын
Great job the more we learn the more we will understand 👍
@PracticalNetworking
@PracticalNetworking 3 жыл бұрын
Agreed! Glad you liked it!
@markthrasher4548
@markthrasher4548 Жыл бұрын
Very clear explanation of RSA that is easy to follow!
@PracticalNetworking
@PracticalNetworking Жыл бұрын
Glad it was helpful!
@j0rss
@j0rss Жыл бұрын
this series is amazing, much needed as a fresh sysadmin. thank you!
@tr7343
@tr7343 Жыл бұрын
The best explanation about RSA ever heard. Thank you so much man.😇
@cafeden6868
@cafeden6868 3 ай бұрын
You're such a great instructor.
@satishsj
@satishsj 10 ай бұрын
Excellent video ! There may not be an easier way to explain the RSA algorithm !
@zxtqwwr0
@zxtqwwr0 3 ай бұрын
Amazing explanation, so easy to understand.
@vipingeorgevu3yvg904
@vipingeorgevu3yvg904 3 жыл бұрын
Thanks for this awesome explanations. You have the gift of condensing complex topics in an easily understandable way. Keep up the good work
@PracticalNetworking
@PracticalNetworking 3 жыл бұрын
You're welcome, Vipin. Thank you for the kind words.
@willk7184
@willk7184 10 ай бұрын
What an awesome explanation. Have always wanted to understand this and your video is so concise and clear. Thanks friend.
@sentikironde9543
@sentikironde9543 6 ай бұрын
Amazing explanation! Simply AMAZINGLY well done!!! ... Thank you.
@BabliShil
@BabliShil 2 жыл бұрын
Thank You So much for this Amazing Explanation....May God Bless You......
@offensiveredteam
@offensiveredteam Жыл бұрын
Ed your explanation is truly a blessing ❤❤❤
@peterchmelar8886
@peterchmelar8886 3 жыл бұрын
Absolutely amazing walktrough! :) Thanks for the math
@PracticalNetworking
@PracticalNetworking 3 жыл бұрын
Thank you, Peter. Glad you enjoyed it.
@jairunet
@jairunet 2 жыл бұрын
Excellent! I have a bit more understanding about RSA encryption, I use it on a daily basis in Linux, Network Devices, Bitcoin the protocol, and the Lightning Network, enlightening information Ed, thank you very much for all you do. All the very best!
@PracticalNetworking
@PracticalNetworking 2 жыл бұрын
Thanks again, Jair. Cheers !
@alicaljungberg3742
@alicaljungberg3742 8 ай бұрын
Perfect explanation. Thank you.
@wijpke
@wijpke Жыл бұрын
First time I have seen public key encryption with an example
@AzzurraMoscia
@AzzurraMoscia 9 ай бұрын
Amazing explanation ...really useful and clear, thank you!!!
@mikehavekin3394
@mikehavekin3394 Жыл бұрын
amazing work, to take this and make it understandable on the first run through is a trye gift, thanks you.
@VideosfromElle
@VideosfromElle 3 жыл бұрын
At 3:24 I about gasped lol 😆 was not familiar with Semi-Prime...RSA literally jumped off the screen after that! THX
@PracticalNetworking
@PracticalNetworking 3 жыл бұрын
Yes, that and Modulo are the common ones people haven't heard of. But they aren't too complicated terms =). Glad you enjoyed it!
@WahranRai
@WahranRai Жыл бұрын
7:27 Which calculator did you use ?
@PracticalNetworking
@PracticalNetworking Жыл бұрын
That's the standard windows calculator =)
@WahranRai
@WahranRai Жыл бұрын
@@PracticalNetworking Thank you
@warcryplayer5751
@warcryplayer5751 2 жыл бұрын
A long time ago (Maybe 4 years), my teacher made us design a crc decoder to detect and fix bugs. It was a very simple one that could fix just one bit, and as far as I remember, it uses kind of the same method you're using here, I cannot remember the math but it had to do with prime polynomials and fields of galois and somehow, you made me remember my student days... Anyway thanks very much this was really helpfull you're such a good instructor I really appreciate. Thanks very much 😋😋
@PracticalNetworking
@PracticalNetworking 2 жыл бұрын
Hopefully it was a positive nostalgic moment =). Thank you for the kind words, glad you enjoyed the video. Cheers.
@adnaneafifi2234
@adnaneafifi2234 2 жыл бұрын
Good to see the math behind it ! =)
@hayanamer1652
@hayanamer1652 2 жыл бұрын
Amazing explanation. Many thanks.
@PracticalNetworking
@PracticalNetworking 2 жыл бұрын
You're welcome, Hayyan!
@arunsankpal4219
@arunsankpal4219 3 жыл бұрын
Thank you sir for this video much need right now for me , preparing for interview
@PracticalNetworking
@PracticalNetworking 3 жыл бұрын
Excellent! Good luck. Let us know how it goes! =)
@meirgold
@meirgold Жыл бұрын
Excellent explanation. Thanks!
@renujain8911
@renujain8911 Жыл бұрын
Another interesting video with interesting maths behind RSA algo... Simple explanation made me to thank Ed for putting this together for everyone... 🙂
@C0ttageChees
@C0ttageChees Жыл бұрын
Thank you! I've wondered about this for a long time. Highly appreciate your simplification and well-executed presentation =]
@jug94
@jug94 2 ай бұрын
Please please keep teaching you are really making differences in peoples life. I would love to meet you in person and/or help/contribute in anyway possible.
@anoopthomasn1
@anoopthomasn1 7 ай бұрын
Thank you so much for the detailed explanation..
@rajdippal51
@rajdippal51 Жыл бұрын
Best explanation on RSA 🤩. Thank you so much 😇
@pasindusrl
@pasindusrl 2 жыл бұрын
Very good explanation. Thanks man.
@PracticalNetworking
@PracticalNetworking 2 жыл бұрын
You're welcome =)
@nadimakhtar97
@nadimakhtar97 3 жыл бұрын
Great Video again 😄 Love the way you explain 🤟
@PracticalNetworking
@PracticalNetworking 3 жыл бұрын
Thanks Nadim!
@nadimakhtar97
@nadimakhtar97 3 жыл бұрын
@@PracticalNetworking one more question, where will you declare the result.
@PracticalNetworking
@PracticalNetworking 3 жыл бұрын
@@nadimakhtar97 Here, on this channel, in the comments. I'll reply to whomever wins.
@TheRapidram
@TheRapidram Жыл бұрын
Excellent video. Thanks very much for explaining it.
@JonathanLindeque
@JonathanLindeque 2 жыл бұрын
02:04 I'd like top put forward a simpler explanation/definition of a Factor: "A Factor of a number, is any number that the original number is exactly divisible by." (ie. no remainders/fractions). This definition removes the concept of "pairs" of numbers.
@PracticalNetworking
@PracticalNetworking 2 жыл бұрын
Yea... I like that, actually. Wish I had included it in the original video. =) Thanks for the contribution, Jonathan.
@razeef123
@razeef123 Жыл бұрын
Thank you so much. Now only I understand the RSA!!!
@maxmaster9908
@maxmaster9908 3 жыл бұрын
Great explanation!! 😊👍
@PracticalNetworking
@PracticalNetworking 3 жыл бұрын
Thank you!
@mikemccartneyable
@mikemccartneyable 3 жыл бұрын
That was a pretty amazing tutorial, thank you for sharing
@PracticalNetworking
@PracticalNetworking 3 жыл бұрын
You're welcome, Mike!
@phil5293
@phil5293 2 жыл бұрын
You are the best instructor, teacher ever. What is your name dude?
@PracticalNetworking
@PracticalNetworking 2 жыл бұрын
Hi Phil. Thanks for the kind words =). My name is Ed =). This is me: practicalnetworking.net
@rajmars
@rajmars 6 ай бұрын
Awesome tutorial
@robertroy1878
@robertroy1878 2 жыл бұрын
Wow. If I only had you as a professor.
@IliyaDamyanov
@IliyaDamyanov Жыл бұрын
Excellent video.
@IIDarknightII
@IIDarknightII 3 жыл бұрын
Wow, nice tutorial!! very clear
@PracticalNetworking
@PracticalNetworking 3 жыл бұрын
Thank you!
@wildmanjeff42
@wildmanjeff42 2 ай бұрын
very cool video, thank you for explaining with math !
@Vivian-ve1qt
@Vivian-ve1qt Жыл бұрын
A very clear explanation. Thank you so much for that. :)
@emilsimonyan2818
@emilsimonyan2818 Жыл бұрын
Good explanation, thank you
@migueldiogo1477
@migueldiogo1477 2 жыл бұрын
Great Video👌
@PracticalNetworking
@PracticalNetworking 2 жыл бұрын
Thank you =)
@kolex023
@kolex023 2 жыл бұрын
Thank you very much! I always wanted to understand it!
@PracticalNetworking
@PracticalNetworking 2 жыл бұрын
You're welcome 😊
@manjunathkp7315
@manjunathkp7315 2 жыл бұрын
Best tutorial..!!!
@PracticalNetworking
@PracticalNetworking 2 жыл бұрын
Thank you =)
@sapereaude8258
@sapereaude8258 Жыл бұрын
wow simple and clear, thanks
@nakulkumar9363
@nakulkumar9363 Жыл бұрын
Can't stop clapping, this was so impressive I might just try to pursue whatever this is as a career
@vetri_vel
@vetri_vel Жыл бұрын
Thank you :) Completely understood!
@kimosopsimion
@kimosopsimion Жыл бұрын
Well explained....2 and 3 are prime numbers if you multiply you get 6 so is 6 a factor and a semi prime number at the same time?
@PracticalNetworking
@PracticalNetworking Жыл бұрын
Yes. A number can be a factor of another number, and a semi-prime / prime at the same time. 5 and 3 are both prime. 5*3 is 15, 15 is Semi-Prime. 15 is also a factor of 30, and 45, and 60, and so on.
@Nayab492
@Nayab492 7 ай бұрын
I was going through the video and I came across one question. Is it necessary that the public and private key values must be greater than the two prime numbers(P,Q) chosen in the beginning?
@marcusdzn
@marcusdzn 8 ай бұрын
I loved the lesson thanks!
@dustcore
@dustcore 7 ай бұрын
Still enjoy watching this 2 years on 👍🏾
@RagazzaInk
@RagazzaInk 5 ай бұрын
wow you are a great teacher...later of a few videos finally I can understand 😂
@maltaparkhelp
@maltaparkhelp Жыл бұрын
The encryption/decryption calculation makes use of the semi-prime. Does this form part of both the private and public keys in practice?
@PracticalNetworking
@PracticalNetworking Жыл бұрын
Yes, an RSA "public key" contains two values, the exponent and the semi prime. (the exponent is the value we called the public key in the video)
@OldtimerOfSweden
@OldtimerOfSweden Жыл бұрын
And the exponent, E, is almost always 65537. So the unique part, which makes D unique, is actually the semi-prime.
@Don-Carillo
@Don-Carillo 3 жыл бұрын
found that very interesting. although math's not my strong point and i will have to watch the math bit again (maybe a few hundred times knowing me ) it helped me understand the process a lot more. Looking forward to the DH one.
@PracticalNetworking
@PracticalNetworking 3 жыл бұрын
That's the whole point =) It was easier for me to understand RSA when I saw the math. I'm certainly not a mathematician, but I was able to follow with the simple example. Glad you liked it Don. DH Next week!
@dongmingyao6428
@dongmingyao6428 8 ай бұрын
thank you for making this wonderful vedio.
@vmkkannan
@vmkkannan Жыл бұрын
clean explanation
@aabhishek4911
@aabhishek4911 7 ай бұрын
How do the client and server exchange the value of N ? Seems like you cannot decrypt without N .
@rafay1708
@rafay1708 3 жыл бұрын
you are genius, thanks so much for your useful Videos 👍
@PracticalNetworking
@PracticalNetworking 3 жыл бұрын
You're welcome again, Rafay =)
@aliayen
@aliayen Жыл бұрын
Wow, well explained.
The evil clown plays a prank on the angel
00:39
超人夫妇
Рет қаралды 53 МЛН
Breaking RSA - Computerphile
14:50
Computerphile
Рет қаралды 369 М.
How does RSA Cryptography work?
19:40
Tom Rocks Maths
Рет қаралды 82 М.
TLS Handshake - EVERYTHING that happens when you visit an HTTPS website
27:59
Practical Networking
Рет қаралды 135 М.
The Dome Paradox: A Loophole in Newton's Laws
22:59
Up and Atom
Рет қаралды 1,2 МЛН
Lecture 12: The RSA Cryptosystem and Efficient Exponentiation by Christof Paar
1:28:27
Introduction to Cryptography by Christof Paar
Рет қаралды 163 М.
Hashing, Hashing Algorithms, and Collisions - Cryptography - Practical TLS
11:42
How prime numbers protect your privacy #SoME2
13:25
NamePointer
Рет қаралды 12 М.
Public Key Cryptography: RSA Encryption Algorithm
16:31
Art of the Problem
Рет қаралды 942 М.
TLS Handshake Deep Dive and decryption with Wireshark
1:05:40
David Bombal
Рет қаралды 287 М.