Тёмный

How the RSA algorithm works, including how to select d, e, n, p, q, and φ (phi) 

Anthony Vance
Подписаться 8 тыс.
Просмотров 324 тыс.
50% 1

This video explains how to compute the RSA algorithm, including how to select values for d, e, n, p, q, and φ (phi).

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

 

13 окт 2014

Поделиться:

Ссылка:

Скачать:

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

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 313   
@InshuMussu
@InshuMussu 4 года назад
You spent your time to save our time, double likes from me
@michaelschepens3750
@michaelschepens3750 7 лет назад
I was trying to understand the Wikipedia page on this topic with some difficulty. Your video did an excellent job of explaining it simply. Thanks a lot.
@gibsonman507
@gibsonman507 6 лет назад
This is the best RSA explanation I've seen
@santaclaus897
@santaclaus897 3 года назад
me too
@fnamelname2445
@fnamelname2445 3 года назад
Better explained than my professor in college ... for which i pay hefty tuition fee each semester. lol
@sharonomonua1747
@sharonomonua1747 3 года назад
@@fnamelname2445the only thing i don't understand is mod how is it used and like what is it
@fnamelname2445
@fnamelname2445 3 года назад
@@sharonomonua1747 Mod or modulo only returns the remainder of a division operation. For instance, if you divide 5 into 5, the result is 1. But if you divide 5 into 3, the remainder is 2. Therefore, we write 5 modulo 3 = 2. These videos might help: 1 - ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-6dZLq77gSGU.html 2 - ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-4zahvcJ9glg.html
@lukacavara6254
@lukacavara6254 3 года назад
Cleanly explained without messy hand written scribbles many RU-vid publishers practice
@zx600e93
@zx600e93 4 года назад
Nice simple introduction and the slow transitioning of deeper and technical understanding with step by step interactivity in processing the RSA algorithm. Finally, ending with a real life example using Amazon's cart totally amazed me how it all works together. I'm sharing this with one of my Math Faculty members who teaches math for teachers, she'll be impressed to see how cryptography applies in real life and that most people don't know it. Thank you for taking the time out and scripting this too, good job, and an A+!
@mohammedusama5869
@mohammedusama5869 4 года назад
This video was such a gem that it explained almost everything of the concept clearly in just a couple of minites Thanks mate, you made me very happy today
@Blacktouch2000
@Blacktouch2000 4 года назад
I spent my life searching for this video. I am eternally grateful.
@chrominox
@chrominox 8 лет назад
The Extended Euclidean Algorithm method you've shown here was absolutely stellar. It made my job very easy. Thanks a ton, mate.
@ianfitchett2768
@ianfitchett2768 8 лет назад
I just wanted to say that the way you showed the extended Euclidean algorithm was not something I had seen before and it made my work SO much easier. You've more-than earned my like.
@asfandalikhan6269
@asfandalikhan6269 7 лет назад
extended euclidean algorithm is far easier than this technique and less time consuming. whereever you go there's just a matter of time and if you are slower then no one cares :)
@suphasitthongniam9082
@suphasitthongniam9082 9 лет назад
Thank you so much. I have confused about RSA for a while , I just watched your video and now I clearly understand about RSA Algorithm. Thanks so much.
@OldFilmCameras
@OldFilmCameras 3 года назад
This has to be one of the best if not the very best explanation of the RSA algorithm that i've come across, Thank you!
@thebestisyettocome7
@thebestisyettocome7 3 года назад
Very good explanation of the RSA algorithm, one of the best I've seen on RU-vid.
@samosapakora9086
@samosapakora9086 8 лет назад
I really have to say that was top notch, clear, simple, articulate. Thank You!
@DutchlimitsDesign
@DutchlimitsDesign 4 года назад
You have the best explanation from all the video's ive seen regarding RSA. Thanks so much!
@MustafaAlhadi
@MustafaAlhadi 9 лет назад
Dude... you are a time saver, thank you very much for this great and clear video
@TechnikMeister2
@TechnikMeister2 4 года назад
As Edward Snowdon said recently and as Gordon Welchman said 70 years ago, a computer generated algorithm thats creates a cypher can always be decrypted. The only true unbreakable encryption is a non computer generated one time pad. Its still used today. There is a guy in Switzerland who has a barrel with 50,000 dice and it spits out five dice in a row it then grabs them back and the next turn does the same. He will manually create one time pads for you at a cost of $500, good for 10,000 characters. No machine, not even a simple typewriter is used. They are written out by hand and you get both copies. He keeps no records of who buys them. Swiss banks now use them to protect their clients transactions after the US got a court order for computer records of US Taxpayers. Now not even the banks know.
@unh0lys0da16
@unh0lys0da16 4 года назад
Sure it can be decrypted, it just takes 1000 years
@rickyc1991
@rickyc1991 4 года назад
I'm very interested to learn more! Do you know what the non-computer generated method is called? I'm having trouble finding it.
@markstephens8423
@markstephens8423 4 года назад
There is an encryption program out there named Vial 7 - Only way to get a copy is if you know the person. Each copy is made to order and it will only work on the users computer. He hard codes the key into the program and puts the location of the file somewhere on the computer at the request of the client. When you try to use the program it looks for the key and if it's not found it will close the program, so everyone that wants to communicate with that program they have to have a custom made version to work on their computer. The encryption math is said to make RSA look like 1+1. If you are not government USA, you will never own it. After it locates the key to use it then the real encryption begins and if you use the same password every time, the encryption out put will always be different, that means there is no standard algorithm with the exception of unlocking the program for use. Estimated bit strength - Unknown because the more text there is the higher the bit strength gets.
@Amazing._Games
@Amazing._Games Месяц назад
They can use cryptographic random number generators
@davidr.flores2043
@davidr.flores2043 9 лет назад
Anthony, great work sir. I appreciate your effort, very well done and you know the topic inside-out. Kudos to you man!
@hqiu6828
@hqiu6828 5 лет назад
Excellent explanation! You reveal the magic behind the RSA encryption-decryption algorithm!
@kirkouimet
@kirkouimet 9 лет назад
This is awesome Tony! Thanks for creating and sharing! Hope to see more like it :)
@MissNorington
@MissNorington 2 года назад
Thank you for making this easy to understand! I am no good with math but I like to be able to use it from time to time! 😀
@cdemetriad
@cdemetriad 6 лет назад
Very well explained, it helped me a lot. Good, simple graphics and good, timed voice. THANKS!
@chrisweaver7989
@chrisweaver7989 3 года назад
OMG! so I am being taught Maths in uni and its basically everything in this getting me ready for next year. I find it hard to follow the lecturer sometimes and this is amazing! I need to also program a crypto algorithm and this gives me a good base! THANK YOU!
@cybotx3872
@cybotx3872 8 лет назад
That was Excellent, Anthony ! Great Work !
@TON-vz3pe
@TON-vz3pe 4 года назад
Fantastic Job. Like others said , "By far the best Explanation of RSA Algorithm" after scraping the entire RU-vid
@gaastonsr
@gaastonsr 4 года назад
Best explanation I could find on RU-vid. Thanks!
@andrewlittle9569
@andrewlittle9569 7 лет назад
This video makes it much easier to understand. Thanks a lot!
@caitancorreia8379
@caitancorreia8379 6 лет назад
thanks, the way to find 'd' using a short-cut version of the EEA is a life saver :)
@davidhedin-abreu4426
@davidhedin-abreu4426 7 лет назад
Terrific video Anthony, I used it to teach the mathematics of RSA and to write an example Java program for encryption and decryption.
@JWentu
@JWentu 8 лет назад
One of the best explanations that i found on the topic. thankx a lot
@raghuma1
@raghuma1 9 лет назад
wow awesome video...i finally found short and clear cut explanation of algorithm to find d. thank u so much for this awesome video
@EMate-vu3ku
@EMate-vu3ku 7 лет назад
Thank you very much for this video! It is of excellent quality and I could understand it easily despite I'm only at secondary school. It is the best explanation I've come across both in print and on the internet. Many thanks!
@freewheelburning8834
@freewheelburning8834 Год назад
what other reads have you found in print that's this intuitive? (just curious)
@EMate-vu3ku
@EMate-vu3ku Год назад
@@freewheelburning8834 There was a section about this in Marcus du Sautoy's book, The Music of Primes. I recommend it, a fascinating read!:)
@user-co6xm5vc8g
@user-co6xm5vc8g 4 года назад
Thanks a lot, I have a question "Can I used same the way to generate the key to steganography for embedding data in an image?"
@tomay3000
@tomay3000 9 лет назад
Nice, this is a very nice and clear explanation. Well done (y)
@mariomax2960
@mariomax2960 6 лет назад
the best course I've ever seen about rsa !!!!
@muhammadlawal6719
@muhammadlawal6719 6 лет назад
thank you very much . i was confuse before about how to get d bt i am now satisfied with explanation.
@Ha1ization
@Ha1ization 7 лет назад
Great work Anthony. Thank you kindly.
@dkarthiganesh
@dkarthiganesh 4 года назад
This is great explanation. Helped me to solve d for (e,N)=(53,299) and encode(m)=171. Thanks a lot.
@Melrix
@Melrix 8 лет назад
Thank you very much! It was awesome. Nice and clear explanation.
@iycgtptyarvg
@iycgtptyarvg 7 лет назад
Thanks for the video. It helped that I already understood the process, but this is still useful. It would perhaps have been informative to explain to people why we use phi = (p-1)(q-1), but hopefully they will search the Internet to see why that is so.
@fruney_x
@fruney_x 9 лет назад
Thank you, that was clear and to the point.
@An.Individual
@An.Individual 3 года назад
Thanks for this terrific explanation.
@Lucaemar
@Lucaemar 8 лет назад
Finally got it, now I can complete my math's paper. Hallelujah & thank you
@crypticnomad
@crypticnomad 5 лет назад
This is actually super useful for what I am currently working on. I'm attempting to generate rsa keys using a seeded rng which uses bitcoin's bip39 seed or "mnemonic phrase".
@SkelleRok
@SkelleRok 5 лет назад
Thank you for this awesome and clear tutorial.
@conanalbrecht5157
@conanalbrecht5157 9 лет назад
Very descriptive of the mathematics. Awesome.
@ananamz
@ananamz 4 года назад
Love you man! Thanks for the video.
@karimbarakat7732
@karimbarakat7732 4 года назад
thank you, your explanation was just great.
@ariayang2980
@ariayang2980 4 года назад
My mind is blown, the shortcut method. Nice 👍
@michaelmcgoldrick5241
@michaelmcgoldrick5241 2 года назад
Thank you this was very helpful
@chaitanyavinnakota9909
@chaitanyavinnakota9909 4 года назад
Thanks a ton. Immensely helpful explanation.
@deepakrai6353
@deepakrai6353 8 лет назад
Its very good description of RSA .I am became fan.................
@kf4426
@kf4426 3 года назад
This is hands down the best RSA video out there. Too bad it took me so long to find it >.
@AkumaRaion
@AkumaRaion 8 лет назад
this is a great explanation of rsa. thanks a lot.
@Chaya-uv6oq
@Chaya-uv6oq 4 года назад
u made my day & saved my time & I love you not rly but great video & u explained everything so well & simply that even I could follow & now I wrote a working python script & I'm happy ^^
@Nada-yc8uo
@Nada-yc8uo 4 года назад
you are amazing!!! good work, you got a new sub
@tanyacharbury4728
@tanyacharbury4728 8 лет назад
Thank you ... this helped me a lot. :-)
@mekaramu
@mekaramu 8 лет назад
Super Explanation!!!!! Great Thank you
@tiyasharma441
@tiyasharma441 6 лет назад
So clear and crisp
@teus1500
@teus1500 7 лет назад
Hello, very nice explanation. Now, I read somewhere that if I want to have a 8bits key, my 'n' needs to be less than 2^(8), but I saw many resolutions where they use a 'n' that is > 2^(key lenght that they want). Could someone light me up?
@abderrahmanghorfy3281
@abderrahmanghorfy3281 9 лет назад
Excellente video and explication, GREAT JOB!!!!
@syedakmalali1844
@syedakmalali1844 3 года назад
so great, very well explained, thank you so much.
@marciocastro7101
@marciocastro7101 4 года назад
Good explanation, but is important to point that e must be coprime with phi and N. With small numbers, it's relatively easy to pick a value for e, but if p and q have 30 digits each...
@nafiz1938
@nafiz1938 2 года назад
no need to coprime with N, just coprime to phi
@marciocastro7101
@marciocastro7101 2 года назад
@@nafiz1938 whatever, same problem because of big numbers.
@kimkarlson7820
@kimkarlson7820 2 года назад
@@marciocastro7101 Ever heard of Fermat primes? It shouldn't take you longer than a fraction of a millisecond to find a suitable e.
@muffinspuffinsEE
@muffinspuffinsEE 9 лет назад
You sir, just got yourself a sub!
@bennetbraune2513
@bennetbraune2513 3 года назад
Thank you, I got stuck implementing the RSA in Python at "d". your calculation path was easy to implement.
@vishalmishra3046
@vishalmishra3046 2 года назад
Use d = pow( e, -1, (p-1)*(q-1) ) in Python3.8 built in function (not math.pow).
@wabafethacker1552
@wabafethacker1552 4 года назад
I really liked your explanation
@mohamadagil3483
@mohamadagil3483 7 лет назад
Great video, thank you!
@pobg807
@pobg807 3 года назад
this video is PERFECTION
@Magicsquarepuzzles
@Magicsquarepuzzles 3 года назад
Very well explained
@minomino200
@minomino200 5 лет назад
Thanx bro......it help me a lot
@feliperodrigo7445
@feliperodrigo7445 7 лет назад
Hi! I love your video and it is helping me a lot with my Internal Assessment from IB Maths HL. I really need to do something original with RSA encryption (or look at it at a different way), so I was wondering if you (or anyone reading this comment) could have any idea about an original idea or a further step to RSA encryption. Thanks ;)
@mackomako
@mackomako 9 лет назад
Excellent video!
@kolawoleolusola
@kolawoleolusola 8 лет назад
thanks this really helped me
@davidmiranda3129
@davidmiranda3129 7 лет назад
Great video! Thanks!
@benjadamore
@benjadamore 5 лет назад
Fantastic!! Good job!
@cycletechsa
@cycletechsa 4 года назад
Thanks,...... you are a life saver
@mahmoud-ibrahim
@mahmoud-ibrahim 7 лет назад
great video. many thanks.
@bharathnayakb
@bharathnayakb 4 года назад
Best explanation 👍
@darknesoffire
@darknesoffire 6 лет назад
Thank you so much for the video
@navjotkaur4795
@navjotkaur4795 7 лет назад
thank you very much.. awsome work
@SANDEEPSINGH_9
@SANDEEPSINGH_9 7 лет назад
Good work Anthony...
@alvianibnuburhan2484
@alvianibnuburhan2484 7 лет назад
You are the best brohh big thanks
@stronglonggg
@stronglonggg 8 лет назад
So I have a device from my bank like 00:30 , so how RSA relate to this?
@christopherderrell8470
@christopherderrell8470 7 лет назад
@Anthony Vance Thank you very much for such a useful video.
@tehownerer1547
@tehownerer1547 9 лет назад
Amazing video. TO ANYONE CONFUSED: LEARN ABOUT THE EUCLIDEAN ALGORITHM AND THEN STUDY THE EXTENDED EUCLIDEAN ALGORITHM INDEPENDENT OF RSA. That might help.
@Ali-mi9up
@Ali-mi9up 4 года назад
more importantly the eulers theorem
@ajithkumar6787
@ajithkumar6787 3 года назад
Best explanation ever.. Thank you. Can I get the video for Elliptic Curve Cryptography, from you, please?
@avatekmuhammed5013
@avatekmuhammed5013 6 лет назад
Very very very nice. Thank you so much
@tmdbah
@tmdbah 2 года назад
Thanks for this.
@HelloWorld-tn1tl
@HelloWorld-tn1tl Год назад
How to choose e, just a small prime that doesn't share a factor with φ(n) ?
@bish-jyag3371
@bish-jyag3371 4 года назад
Great work
@anandsuralkar2947
@anandsuralkar2947 5 лет назад
Best video on RSA mathematics..so far and finally i am able to get maths behind RSA
@greatkingkay7954
@greatkingkay7954 7 лет назад
I'm in front of my computer, where can i press and click so i can see the semi prime that is said to secure what ever is it?
@BelievinSP
@BelievinSP 8 лет назад
clear and concise!
@db18022
@db18022 3 года назад
You're the best!
@duniajamma6031
@duniajamma6031 6 лет назад
In the last example, if you calculate 3 * 6219 mod 2328 = 33 not 1
@robbyslacks
@robbyslacks 3 года назад
Stellar video
@TheResonating
@TheResonating 8 лет назад
where did he get that rule about e > 2? Art of the Problem said e has to be a odd number greater than 1....and I dont know where he got that either. Anyone know the conditions of e and why this is? Also, sources would be appreciated. Thanks
@AK-fb9ry
@AK-fb9ry 9 лет назад
The initial 8-bit LFSR 10101010 and the feedback tabs polynomial is x5+x3+x1+1. Use Excel to generate a keystream of a sufficient length to encrypt your name “space”, showing all the steps?
@nooeloone5408
@nooeloone5408 5 лет назад
How did you find your own rsa public number? Which as result of both of your private prime numbers multiplication?
@fideltorres399
@fideltorres399 8 лет назад
Is there a way to find 'e' and 'd' given p=3 and q=7 other than guessing?
@Michaels0184
@Michaels0184 8 лет назад
I had a problem when applying the extended euclids theorom to my example. One one occasion i was left with such a high minus number, that when mod it with my Phi number, it returned another -minus number, therefore i could not continue the algorithm, as yours provided in the xample returned a positive after
@ragnorucca6637
@ragnorucca6637 8 лет назад
+michael 0184 did you try putting the mod calculation into that wolfram site? Also the answer i got from modulus at the end of the calculation was negative also, but if you mod it again or a few times depending on the number your modding by, eventually you get the positive, which explains the answer i got from the wolfram site. For the record my final inputs for the Euclid algorithm to find d was -617 mod 360. which would give me - 257, but if you mod it again it gives 103, which matches the answer wolframAlpha gives :)
@justincaseOne
@justincaseOne 5 лет назад
thank you very much...Very useful nd very clear
Далее
RSA algorithm step by step example
20:41
Просмотров 105 тыс.
Breaking RSA - Computerphile
14:50
Просмотров 355 тыс.
Разбудили Любимой Песней 😂
00:14
This is How Easy It Is to Lie With Statistics
18:55
Public Key Cryptography: RSA Encryption Algorithm
16:31
How the Best Hackers Learn Their Craft
42:46
Просмотров 2,5 млн
RSA-129 - Numberphile
9:40
Просмотров 514 тыс.
SHA: Secure Hashing Algorithm - Computerphile
10:21
Просмотров 1,2 млн
How does RSA Cryptography work?
19:40
Просмотров 62 тыс.
Cracking Enigma in 2021 - Computerphile
21:20
Просмотров 2,4 млн