Тёмный

The RSA Encryption Algorithm (1 of 2: Computing an Example) 

Eddie Woo
Подписаться 1,8 млн
Просмотров 1,1 млн
50% 1

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

 

3 ноя 2014

Поделиться:

Ссылка:

Скачать:

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

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 600   
@DJ_Force
@DJ_Force 4 года назад
I have a master's degree in computer science, and this is the best explanation of RSA I can remember coming across.
@DJ_Force
@DJ_Force 4 года назад
@@noahr1379 Funny, the diploma on my wall says I do...? I definitely remember paying the bill...
@DJ_Force
@DJ_Force 3 года назад
Good grief, I am getting flamed for liking a video on encryption. Good thing I didn't say anything political, I might be DOXed by now!
@classicsethposts
@classicsethposts 3 года назад
@@DJ_Force I don't think so
@alwaysinagoodshape5327
@alwaysinagoodshape5327 3 года назад
@@DJ_Force Everyone has a lot of degree now the world is warming up. What makes you so special, huh?
@DJ_Force
@DJ_Force 3 года назад
@@alwaysinagoodshape5327 Good grief, what a bunch of snowflakes here. My point was that my formal expensive education didn't have explain this as eloquently as this short, free RU-vid video does.
@ashleypursell9702
@ashleypursell9702 3 года назад
this is the kind of teacher we all needed in school
@ksxf9876
@ksxf9876 Год назад
If the teacher knows this much why would he be a teacher in school
@ashleypursell9702
@ashleypursell9702 Год назад
@@ksxf9876 cus he wants to teach ,,,,,,,,,, LOL, wonder what u know lmao
@mattt2684
@mattt2684 6 лет назад
Man... This is the definition of a good teacher. You can explain things very well and in a succinct manner. Great video!
@glassbat86
@glassbat86 5 лет назад
I agree! His students are so lucky.
@eternal3717
@eternal3717 4 года назад
@@shamsmehdi3725 But not many people can teach as well even if it is just for show. That's the difference
@umair7280
@umair7280 4 года назад
@@shamsmehdi3725 sure when this was uploaded in 2014 where he didnt even get a 1000 views...
@inum400
@inum400 4 года назад
@@shamsmehdi3725 I have no idea what "making a numbnut followers idiot" means, but all that matters is that he taught these high school kids a topic, and he taught it in a way which allows anyone to understand it easily.
@aprilflowers986
@aprilflowers986 4 года назад
@@shamsmehdi3725 dude shut up, you have no idea what you're talking about
@panzonecadutodifaccia
@panzonecadutodifaccia 5 лет назад
2 hours of lecture in my uni and I didn't understand shit, 8 min of video and I feel super confident about rsa. Thanks man you a great professor
@arlo4639
@arlo4639 5 лет назад
when a secondary school teacher can explain things better than a tertiary lecturer can, shows just how bad tertiary education is
@mive5525
@mive5525 4 года назад
I feel exactly the same lol
@Mathin3D
@Mathin3D 4 года назад
If the two hours of high-level maths did not reveal the intricacies of RSA but you think 9 minutes of an over-simplified example does, you belong to neither Computer Science nor Mathematics.
@yanna6815
@yanna6815 4 года назад
@@Mathin3D Hate to break it to you but not all teachers are good at what they do
@tincoyan7380
@tincoyan7380 4 года назад
Repton Maybe the tertiary lecturer thought you’d learnt it from the secondary school, so they started teaching you something difficult.
@seanmalone6498
@seanmalone6498 5 лет назад
Not only did I just see the best explanation of RSA encryption that I've ever come across, I got a free yoga lesson as well.
@matthewchunk3689
@matthewchunk3689 4 года назад
that chinese guy talks like a cartoon kangaroo! krikes!
@worldaviation4k
@worldaviation4k 6 лет назад
This makes more sense than some other videos that i searched for in other places with the fictional alice and bob. Proper detail like in this video with the actual numbers is far better than other videos i've seen elsewhere
@thisistraightgarbage
@thisistraightgarbage 5 лет назад
I hate Alice and Bob. I know they're a historical artifact, but they don't make the concepts any clearer.
@smiechu47
@smiechu47 4 года назад
Fuck Alice and Bob
@pracha95
@pracha95 4 года назад
They are busy ducking each other
@michealkinney6205
@michealkinney6205 3 года назад
I must have watched the same exact videos as you, lol.
@kl6544
@kl6544 3 года назад
Alice and bob worked for me doe
@Jinsun202
@Jinsun202 3 года назад
Being from Ireland, the first couple of times I heard you say "Irish say" I had to remind myself he's saying "RSA", ha ha. Great lecture, brilliant enthusiasm and clear explanation, thank you! You're not just a good lecturer, you're clearly also a fantastic teacher.
@Jack-dx7qb
@Jack-dx7qb 4 года назад
Some remarks: 1. The public key is (k = 5, m = 14), where 14 is a modulus (often large) chosen by the recipient, and 5 is an unit mod φ(14). Note that 5 is multiplicatively invertible under mod φ(14), and the inverse of 5 is 5 mod φ(14). 2. φ is the Euler totient function. φ(14) is the counting of positive number that is less than 14 and is relative prime to 14. φ(14) = 6 = (2 - 1)*(7 - 1). 3. The private key is the inverse of k = 5 mod φ(14), i.e. 5 mod φ(14). 4. In the video, we use 11 as our private key since 11 is congruent to 5 mod φ(14). We could use any number that is congruent to 5 mod φ(14), i.e. 5, 11, 17, 23, ... etc.
@danaghafour
@danaghafour 8 месяцев назад
Thank you, I was wondering where 11 was coming from.
@UnreaL9
@UnreaL9 6 месяцев назад
i wish my teacher explained it as simple as you. Great teacher, well done!
@harper5378
@harper5378 3 года назад
What a good teacher, you can tell the students are actually interested by how they're engaging as well.
@rish1459
@rish1459 4 года назад
I love how you simplify the algorithm & solution. Additionally, that was a great homework assignment to show why we can't rely on approximations stored in calculators for irrational numbers.
@mrjohndoe6981
@mrjohndoe6981 3 года назад
I thought RSA meant "Really Secure Algorithm"
@Matthew-pn1qu
@Matthew-pn1qu 3 года назад
Lol
@fobabs
@fobabs 27 дней назад
Lol
@DiwasTimilsina
@DiwasTimilsina 3 года назад
Why did I not have you as my teacher? I missed out on so much. Truly amazing teacher!
@chakkerzo_o8911
@chakkerzo_o8911 4 года назад
Watching this preping for a Master's degree - so well explained, actually got some insights from this that were not in the University lectures. For a while I was thinking something was wrong, but this actually highlight things in my notes I had failed to appreciate. Good job!
@fabioschmidt2081
@fabioschmidt2081 2 года назад
Every time I don't understand things in my classes in computer science, I get on youtube to find an explanation video about the topic I want to understand. And almost every time I find a video of yours. I like the way you teach and you make it very easy to understand complex things. Keep your work going man, you're great!
@prithveen7654
@prithveen7654 4 года назад
If I had a lecturer like this guy, I would ace every subject! Great job man!
@benterry2681
@benterry2681 6 лет назад
You explained clearly in 8 minutes what I couldn't fathom in a 2 hour lecture, Thank you, you're a credit to good teaching.
@neosapien247
@neosapien247 4 года назад
The simpler way to do this would be To find 4194304 (mod 14): 4194304 / 14 = 299593.1429... 14 X 299593 = 4194302 (discard decimals) 4194304 - 4194302 = 2
@alexk6745
@alexk6745 3 года назад
you don't need calculator. 4^11 mod 14= 4*(4^2)^5 mod 14 = 4* (16 mod 14)^5 mod 14 = 4* 2^5 mod 14 = 4 *(32 mod 14) mod 14 = 4*4 mod 14 = 2
@luislopez-tx4tl
@luislopez-tx4tl 3 года назад
yaaas queen yaas
@masonmichalec2942
@masonmichalec2942 3 года назад
@@alexk6745 how do you do this?
@alexk6745
@alexk6745 3 года назад
@@masonmichalec2942 4^11 mod 14 = (4 * 4^10) mod 14 = (4 * 4^(2*5) ) mod 14= (4 * (4^2)^5) ) mod 14 = (4 * 16^5 ) mod 14 = |as 16 mod 14 equals 2 repace 16 by 2| = (4 * 2^5 ) mod 14 = 4 *(32 mod 14) mod 14 = 4*4 mod 14 = 2
@Jinsun202
@Jinsun202 3 года назад
That's not simpler. It's more complex. You have 5 steps, he has 4.
@archeopteryxes
@archeopteryxes Год назад
Eddie, you are a genius. I am a math teacher too, and its incredible how much i learn everytime with your videos. Best of lucks in your life!
@YuNgHaSaN
@YuNgHaSaN 3 года назад
He seems like such a genuinely nice guy. Thanks for the clear and understandable explanation Mr Woo! :)
@SIGSEGV1337
@SIGSEGV1337 4 года назад
Dude you're a great teacher, you seem genuinely enthusiastic
@luuk8426
@luuk8426 3 года назад
This is exactly what I was looking for, makes so much more sense than all the other explanations combined.
@MissNorington
@MissNorington Год назад
Never before have I seen such an easy explanation of RSA (online)! You are a good teacher Mr Woo!
@anaibrahim4361
@anaibrahim4361 Год назад
I wish I had a teacher like you, wonderful explanation, your class is full of energy, you are the type of teacher that loves his job.
@josianeumunezero2978
@josianeumunezero2978 Год назад
This Video was uploaded when I was still in high school but here it is helping me out with final-year undergraduate studies. Thank you, sir
@zackbell3520
@zackbell3520 3 месяца назад
Dude THANK YOU! I had a RSA algorithm problem due at midnight and I would have not been able to solve it without your guidance. Thank you for everything you do to make students lives a little easier.
@DeliriumX11
@DeliriumX11 5 лет назад
Hi Eddie, I know this video is a few years old but thank you so much. I've struggled a lot with this from watching other videos and reading about it online. This video made it so easy to understand, thank you!
@zxchtl
@zxchtl Год назад
Australia Year 12 Graduate here. For our last part of Digital Solutions, we dove into ciphers, consisting of the basics of caesars cipher, vigenere cipher, OTP ciphers, and eventually RSA encryptions. My issue wasn't the way it works, but more of how to implement it into code. This video helped me develop a C file that could take in a p,q and a string to output an encrypted message, as well as allowing me to decrypt it. Thank you soo much for the headaches you saved me from.
@soundhargs7363
@soundhargs7363 5 лет назад
Oh man! The way you handled yourself is awesome and the lecture was so clear and perfect one i have ever seen!
@user-mi5vp7uj3k
@user-mi5vp7uj3k 7 лет назад
6:40 it would be easier if you divide 4194304 by 14 which equals to 299593.14... then we take the integer part (299593) and multiply by 14 which is equal to 4194302.. and now if we subtract 4194302 from 4194304 and we get 2 which is equal to number B
@drewshepard6989
@drewshepard6989 6 лет назад
haha exactly what i was thinking when he was doing the video. The reason he got the 1.999 is because when he did the division he got a repeating decimal and you cant really multiply a repeating decimal the calculators got to chop the number off somewhere.
@ArjitGuptaAG
@ArjitGuptaAG 6 лет назад
just worked it out on 88^7 mod 187(william stalings example).... works like a charm. Thanks man
@Exachad
@Exachad 6 лет назад
Exactly what I was thinking!
@akibmahmud3744
@akibmahmud3744 5 лет назад
What will be the calculation for (1/17) mod 60 ? ( Ans: 53)
@3kelvinhong
@3kelvinhong 5 лет назад
It is not easy for our brain, we can easily memorize .14... Then multiply 14 we get 2, very fast and efficient enough
@scubadottech
@scubadottech 5 лет назад
Eddie, I just wanted to say THANK YOU! This video taught me more in 8 minutes than I was able to figure out in 2 hours trying to decipher (hah) my textbook. Stay awesome. :)
@klevdavful
@klevdavful 4 года назад
Epitome of a good teacher even a newbie can grasps and with enough reps can develope encrypt decrpt skills.
@freejohn
@freejohn Год назад
There are many videos out there that explain the concept of public and private key in a simple way, but I always thought they were too "abstract". In my opinion, this here is a really good explanation that makes you grasp the concept in a better way, because it "dives the right amount of deep" for a initial explanation.
@srutikeerti1297
@srutikeerti1297 4 года назад
Loving his approach and enthusiasm of teaching! Thanks a ton! :) you are an amazing teacher!
@meinland4439
@meinland4439 3 года назад
wow what a great teacher! love the enthusiasm, you can tell he's very passionate about this kind of stuff
@tomaszgorka7542
@tomaszgorka7542 6 лет назад
Have to say this, you saved my life, that's the best explanation on the web and I have to do this as a homework for tomorrow, thanks!
@michaelhoffmann2891
@michaelhoffmann2891 4 года назад
Man, this brought back memories when, for reasons unknown, YT put this in my feed. Made me remember the demo program with a silly little Windows Forms interface (hey this was over a decade ago) I wrote during my Master's at Monash and have a look at the old source code. Had to do it with "classical" random primes and then also with elliptic curves - and included Diffie Hellman for key exchange. It showed all the various steps including the "magic" going on in the background. Was one of my favourite units (and got me a HD ;). How I wish I'd had teachers like you so we would have done this in high school!
@danzmd
@danzmd 9 лет назад
You made something that seems super hard become super easy, thank you!
@TheProjekton
@TheProjekton 8 лет назад
+Daniel my It is easy when dealing with small numbers. When dealing with 4096 bit primes it becomes much harder to solve.
@faisalalan8633
@faisalalan8633 4 года назад
In real life, the modulus is very long! probably 50 hexa-digits long!
@dauphinguillaume28
@dauphinguillaume28 4 года назад
I miss school so much when I see this kind of topics handled by a great teacher
@user-ug4gy4bn1p
@user-ug4gy4bn1p 7 месяцев назад
I love your enthusiasm and a different approach towards the topic. VIVA!!!
@moctar1001
@moctar1001 4 года назад
The best RSA explaination i have ever seen
@JoachimKessel
@JoachimKessel 4 года назад
Brilliant, I just love how you took this one on.
@abdulbasithmiah9133
@abdulbasithmiah9133 7 лет назад
Thank you so much, Eddie Woo. This is helping me for my Uni exam next week. ;) 👍🏻👍🏻👍🏻
@mahdizarepoor8964
@mahdizarepoor8964 2 года назад
woo woo you are awesome . now im in second term of university and im studying Software engineering but wish i has teachers like you in school . your explanation is great and I really appreciate you . i wish you luck .
@RakhiDhavale
@RakhiDhavale 5 лет назад
This teacher is a amazing with his teaching skills 👍🏻
@cipherbenchmarks
@cipherbenchmarks 6 лет назад
Brilliant teacher.
@lisazilm3781
@lisazilm3781 Год назад
This is the best explanation I have seen! You're a good teacher!! Far out!
@malhibhai5888
@malhibhai5888 3 года назад
your absolutely incredible. idk what it is about your teaching but it just works
@bassamodaymat8329
@bassamodaymat8329 4 года назад
Really loved your video and explanation. I would like to say just like any other student watching your video, keep it up.
@krunokartus5382
@krunokartus5382 6 месяцев назад
Great to listen to him even if you are not familiar with the RSA :)) I desperately needed this, thank you Eddie
@user-ij5xx3sf3d
@user-ij5xx3sf3d 7 месяцев назад
I really cant describe in words how f***** AWESOME you are man. Ive been watching your videos since year 10 and now im in college, watching this video to clear some concepts in Quantum Computing. Thanks Eddi
@DxnielKS
@DxnielKS Год назад
Dude, I literally have a test on this in like two days. You are the best
@lutzweb
@lutzweb 4 года назад
Great explanation and great teacher! Congratulation
@funkycivilista6191
@funkycivilista6191 4 года назад
Finally someone who get's straight to the point. Thank you!
@arthiudayakumar4000
@arthiudayakumar4000 4 года назад
Its really a good and simple teaching which help millions. kudos
@niceguy091000
@niceguy091000 4 года назад
a - b(floor(a/b)) is a nice way of calculating modulo.
@AkashLankala
@AkashLankala 3 года назад
I have a final on this in a few hours so praying that you just got me through it!!! 🙏🏽😌
@intellectualhybrid2
@intellectualhybrid2 6 лет назад
Eddie, you helped me pass my Codes & Codebreaking Unit at Uni. Thanks!
@ethanpillay9063
@ethanpillay9063 2 года назад
I have doctorate in math and computers and this is the most succulent explanation on the whole internet
@lordfresh
@lordfresh 2 года назад
I am an actual professional security expert and this explanation is excellent.
@michealkinney6205
@michealkinney6205 3 года назад
I know it's just a demonstration but working out both (4**11)%14 and (4**5)%14 are 2 (or the original B), so you can "decipher" with either. And there are several other ways to reach the same answer, but also a pattern actually emerges (mod remainder 2, 8, 4, repeat). But I imagine that the actual math behind the algorithm is much more complicated. Thanks, cool video.
@Murder1nc
@Murder1nc 4 года назад
Wish I had a teacher like you man holy shit. I was confused till I found you. GGs only wasted 1 day trying to figure this out and boom in 8 mins im a God at RSA crypto.
@dwaynejohnson6264
@dwaynejohnson6264 3 года назад
I love how digestible you made this for someone who has no idea about RSA!
@maheshiyatipansalawa3383
@maheshiyatipansalawa3383 Год назад
we all need this kinda teacher. He is good at explaining and is funny.
@stefano19951995
@stefano19951995 5 лет назад
Very interesting video, you are really a good teacher.. you helped me understanding RSA procedure, thank you :)
@bwp2bruce
@bwp2bruce Год назад
These students are getting a real treat with this teacher.
@ProfessorDingus444
@ProfessorDingus444 Год назад
it sucks to watch a great professor that is talented and knows how to educate be disrespected by his students like this. I learned so much this and I appreciate all your diligent work !
@Kregexx
@Kregexx Год назад
what did his students even do that was disrespectful? they were asking questions.
@terox3920
@terox3920 2 года назад
love it, the best explenation so far
@BuhadodGFX
@BuhadodGFX 7 лет назад
Nice Video, very clear and easy to understand . Thank you so much
@LITHIUMINWATER
@LITHIUMINWATER 2 года назад
This is brilliant pedagogy. Thanks.
@ranad2037
@ranad2037 2 года назад
How energetic and exciting! Thank you a lot!
@AnubhavApurva
@AnubhavApurva Год назад
Never realized it is so simple. Text books make it so hard to understand! Kudos!
@zhaoxunyan4016
@zhaoxunyan4016 5 лет назад
The "lock" analogy is much better than the "public key" terminology. I came up with this idea soon after I learned the RSA and I am not alone. I wonder why they have not changed the terminology yet?!
@arulmuruganz
@arulmuruganz 5 лет назад
Best explanation ever. Love you Eddie woo.
@mohammadomar2954
@mohammadomar2954 4 года назад
u r the most conistent utuber i guess, who post video almost every day... huge respect sir
@sss_says_snek
@sss_says_snek 4 года назад
do you mean consistent?
@jeffreychan8239
@jeffreychan8239 7 лет назад
Wonderful explanation.
@joelfrojmowicz
@joelfrojmowicz 4 года назад
What an amazing teacher!
@christophercabo3924
@christophercabo3924 29 дней назад
it gave me two. lol - You're my favorite mathematician now!
@polyesterdreamboat
@polyesterdreamboat 3 года назад
I'm a real idiot when it comes to math. This is the only video on RSA that makes any sense to me. Thanks Eddie!
@judescally2501
@judescally2501 5 лет назад
Great video, can't wait to start working with you!
@MilciadesAndrion
@MilciadesAndrion 3 года назад
This is a great and very explanatory video.
@TheH4G4
@TheH4G4 9 лет назад
I am glad you post this video! Really helpfull.
@arafatalgazaly3489
@arafatalgazaly3489 Год назад
great teaching . at all very clear
@tomp4078
@tomp4078 5 лет назад
Thank you so much, great video and your a great teacher.
@dfordemo981
@dfordemo981 4 года назад
very nice explanation. this helped me to understand encryptions deeplyy
@oliver-shi
@oliver-shi 4 года назад
I love the enthusiasm!
@nasrimarc7050
@nasrimarc7050 5 лет назад
thank you so much thars help me to understand so clearly, thats the most simple calcul in the cryptography
@zheqishi1119
@zheqishi1119 3 года назад
Thanks for the explanation! It's really clear!
@blacklotus5953
@blacklotus5953 5 лет назад
I wish i had you as my maths teacher in high school and now at university :'(
@faridmotreb
@faridmotreb Год назад
so good! so well explained. Thanks Eddie!
@igorordecha
@igorordecha Год назад
If you can record your lessons, upload to RU-vid and pull off nearly a million views, you know you're a good teacher.
@itdusengeyannick671
@itdusengeyannick671 Год назад
very smart teacher the best one
@thefirstfishadvancetheland8980
you are smart guy!! Thank you very much for a nice lecture!
@BradBo1140
@BradBo1140 Год назад
He just hurt my brain but I see a tiny light of understanding way out on the horizon. Math guys and gals are awesome.
@aram5642
@aram5642 4 года назад
More on cryptography from Mr Woo! Mr Woo is salt of math. I have finally *understood* all that struggle to find bigger and bigger prime numbers
@hesamrad6927
@hesamrad6927 4 года назад
Perfect explanation! Thanks a lot :)
@mitchelljones6179
@mitchelljones6179 3 года назад
I thought leaving high school would be the end of watching Eddi Woo but turns out he is better at explaining this than my lecturer.
@Ytvieweronly
@Ytvieweronly 5 лет назад
really fantastic Sir
@VishalBondwal
@VishalBondwal Год назад
I went through this video pair on RSA at least twice during my Uni days. Now watching more recreationally. Only today do I notice that there's a Yoga poster on the wall. Guess when doing Uni assignments, you are really focused on the content :D
@tomcat1112k
@tomcat1112k 6 месяцев назад
thank you for sharing the lecture.
@dixingxu
@dixingxu 6 лет назад
Best teacher!
Далее
How does RSA Cryptography work?
19:40
Просмотров 57 тыс.
Cryptography: Crash Course Computer Science #33
12:33
Просмотров 814 тыс.
Diffie Hellman -the Mathematics bit- Computerphile
7:05
Asymmetric Encryption - Simply explained
4:40
Просмотров 1,3 млн
7 Cryptography Concepts EVERY Developer Should Know
11:55
Key Exchange Problems - Computerphile
9:18
Просмотров 350 тыс.