Better explained than my professor in college ... for which i pay hefty tuition fee each semester. lol
@sharonomonua17474 жыл бұрын
@@fnamelname2445the only thing i don't understand is mod how is it used and like what is it
@fnamelname24454 жыл бұрын
@@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 - kzbin.info/www/bejne/bJW9faRtbMyGfbc 2 - kzbin.info/www/bejne/aqvEmamZf56aosk
@lukacavara62543 жыл бұрын
Cleanly explained without messy hand written scribbles many KZbin publishers practice
@InshuMussu5 жыл бұрын
You spent your time to save our time, double likes from me
@michaelschepens37508 жыл бұрын
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.
@zx600e935 жыл бұрын
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+!
@Blacktouch20004 жыл бұрын
I spent my life searching for this video. I am eternally grateful.
@chrominox9 жыл бұрын
The Extended Euclidean Algorithm method you've shown here was absolutely stellar. It made my job very easy. Thanks a ton, mate.
@DutchlimitsDesign5 жыл бұрын
You have the best explanation from all the video's ive seen regarding RSA. Thanks so much!
@thebestisyettocome74 жыл бұрын
Very good explanation of the RSA algorithm, one of the best I've seen on KZbin.
@ianfitchett27689 жыл бұрын
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.
@asfandalikhan62697 жыл бұрын
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 :)
@usamaliberty5 жыл бұрын
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
@OldFilmCameras3 жыл бұрын
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!
@samosapakora90869 жыл бұрын
I really have to say that was top notch, clear, simple, articulate. Thank You!
@TON-vz3pe5 жыл бұрын
Fantastic Job. Like others said , "By far the best Explanation of RSA Algorithm" after scraping the entire KZbin
@MissNorington3 жыл бұрын
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! 😀
@MustafaAlhadi9 жыл бұрын
Dude... you are a time saver, thank you very much for this great and clear video
@hqiu68286 жыл бұрын
Excellent explanation! You reveal the magic behind the RSA encryption-decryption algorithm!
@cdemetriad6 жыл бұрын
Very well explained, it helped me a lot. Good, simple graphics and good, timed voice. THANKS!
@EMate-vu3ku7 жыл бұрын
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!
@freewheelburning88342 жыл бұрын
what other reads have you found in print that's this intuitive? (just curious)
@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!:)
@chrisweaver79893 жыл бұрын
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!
@dkarthiganesh5 жыл бұрын
This is great explanation. Helped me to solve d for (e,N)=(53,299) and encode(m)=171. Thanks a lot.
@TechnikMeister25 жыл бұрын
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.
@unh0lys0da164 жыл бұрын
Sure it can be decrypted, it just takes 1000 years
@rickyc19914 жыл бұрын
I'm very interested to learn more! Do you know what the non-computer generated method is called? I'm having trouble finding it.
@markstephens84234 жыл бұрын
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._Games7 ай бұрын
They can use cryptographic random number generators
@BoleDaPole3 ай бұрын
But it's never truly random, that's why it has to he done manually
@suphasitthongniam90829 жыл бұрын
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.
@andrewlittle95698 жыл бұрын
This video makes it much easier to understand. Thanks a lot!
@caitancorreia83797 жыл бұрын
thanks, the way to find 'd' using a short-cut version of the EEA is a life saver :)
@gaastonsr4 жыл бұрын
Best explanation I could find on KZbin. Thanks!
@anand.suralkar5 жыл бұрын
Best video on RSA mathematics..so far and finally i am able to get maths behind RSA
@davidr.flores20439 жыл бұрын
Anthony, great work sir. I appreciate your effort, very well done and you know the topic inside-out. Kudos to you man!
@davidhedin-abreu44267 жыл бұрын
Terrific video Anthony, I used it to teach the mathematics of RSA and to write an example Java program for encryption and decryption.
@deepakrai63538 жыл бұрын
Its very good description of RSA .I am became fan.................
@iycgtptyarvg7 жыл бұрын
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.
@muhammadlawal67196 жыл бұрын
thank you very much . i was confuse before about how to get d bt i am now satisfied with explanation.
@mariomax29606 жыл бұрын
the best course I've ever seen about rsa !!!!
@kirkouimet10 жыл бұрын
This is awesome Tony! Thanks for creating and sharing! Hope to see more like it :)
@JWentu9 жыл бұрын
One of the best explanations that i found on the topic. thankx a lot
@tehownerer15479 жыл бұрын
Amazing video. TO ANYONE CONFUSED: LEARN ABOUT THE EUCLIDEAN ALGORITHM AND THEN STUDY THE EXTENDED EUCLIDEAN ALGORITHM INDEPENDENT OF RSA. That might help.
@Ali-mi9up5 жыл бұрын
more importantly the eulers theorem
@crypticnomad5 жыл бұрын
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".
@kf44264 жыл бұрын
This is hands down the best RSA video out there. Too bad it took me so long to find it >.
@bennetbraune25133 жыл бұрын
Thank you, I got stuck implementing the RSA in Python at "d". your calculation path was easy to implement.
@vishalmishra30463 жыл бұрын
Use d = pow( e, -1, (p-1)*(q-1) ) in Python3.8 built in function (not math.pow).
@marciocastro71014 жыл бұрын
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...
@nafiz19382 жыл бұрын
no need to coprime with N, just coprime to phi
@marciocastro71012 жыл бұрын
@@nafiz1938 whatever, same problem because of big numbers.
@kimkarlson78202 жыл бұрын
@@marciocastro7101 Ever heard of Fermat primes? It shouldn't take you longer than a fraction of a millisecond to find a suitable e.
@TheMrVogue8 жыл бұрын
Minor mistake at 6:28, you said the result is two thousand five hundred seven, and we can see it is 2557. Cheers though, this is the best RSA tutorial I've found to date.
@cybotx38729 жыл бұрын
That was Excellent, Anthony ! Great Work !
@An.Individual4 жыл бұрын
Thanks for this terrific explanation.
@Lucaemar8 жыл бұрын
Finally got it, now I can complete my math's paper. Hallelujah & thank you
@raghuma19 жыл бұрын
wow awesome video...i finally found short and clear cut explanation of algorithm to find d. thank u so much for this awesome video
@ariayang29805 жыл бұрын
My mind is blown, the shortcut method. Nice 👍
@tomay30009 жыл бұрын
Nice, this is a very nice and clear explanation. Well done (y)
@Melrix9 жыл бұрын
Thank you very much! It was awesome. Nice and clear explanation.
@Chaya-uv6oq4 жыл бұрын
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 ^^
@Ha1ization8 жыл бұрын
Great work Anthony. Thank you kindly.
@bharathnayakb4 жыл бұрын
Best explanation 👍
@chaitanyavinnakota99095 жыл бұрын
Thanks a ton. Immensely helpful explanation.
@conanalbrecht515710 жыл бұрын
Very descriptive of the mathematics. Awesome.
@SkelleRok5 жыл бұрын
Thank you for this awesome and clear tutorial.
@minomino2005 жыл бұрын
Thanx bro......it help me a lot
@tiyasharma4416 жыл бұрын
So clear and crisp
@karimbarakat77324 жыл бұрын
thank you, your explanation was just great.
@wabafethacker15525 жыл бұрын
I really liked your explanation
@finestinlondon88378 жыл бұрын
Dude, this has helped amounts that you can't even imagine - thank you so much! 'Liked' the video too. I'm trying to write a bit of code to replicate RSA's encryption method, but was struggling to work out how to calculate 'd', and this worked wonders. Thank you again. Just a quick query though, how did you get -34 MOD 40 to equal 6? Mathematically, doesn't this equal -34? When I get a negative number, should I be adding the value of phi (until the value becomes positive) instead of MOD'ing the value by phi?
@JimVekemans8 жыл бұрын
39 MOD 40 = 39 100 MOD 40 = 20 because there's 20 LEFT! after subtracting 40 two times. so, you don't try to see how much less -34 is than 0, you try to find out how much MORE -34 is than -40. Which is 6.
@finestinlondon88378 жыл бұрын
+Jim Vekemans ah, this makes complete sense. So you simply just take the absolute value - thank you for your help!
@whythosenames4 жыл бұрын
3:27 did you mean d?
@michaelmcgoldrick52413 жыл бұрын
Thank you this was very helpful
@AkumaRaion9 жыл бұрын
this is a great explanation of rsa. thanks a lot.
@pobg8074 жыл бұрын
this video is PERFECTION
@alvianibnuburhan24847 жыл бұрын
You are the best brohh big thanks
@wramarante5 жыл бұрын
Useful ^ 4096 = A better word to be used at the end of the video. Thanks for sharing.
@fruney_x9 жыл бұрын
Thank you, that was clear and to the point.
@abderrahmanghorfy32819 жыл бұрын
Excellente video and explication, GREAT JOB!!!!
@SANDEEPSINGH_98 жыл бұрын
Good work Anthony...
@Magicsquarepuzzles4 жыл бұрын
Very well explained
@cycletechsa_dev5 жыл бұрын
Thanks,...... you are a life saver
@ananamz5 жыл бұрын
Love you man! Thanks for the video.
@Nada-yc8uo4 жыл бұрын
you are amazing!!! good work, you got a new sub
@teus15007 жыл бұрын
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?
@glitchy_weasel4 жыл бұрын
Excellent video, I've read some resources about RSA but there is still something that confuses me: what do you all mean to "choose" e, can I choose any value for e? Which usually is 3 or 65537 on modern applications. I mean, is "3" always going to be coprime with any phi? Like in the example in 10:15 how did you found that e=7 ?
@vishalmishra30463 жыл бұрын
e can be any Prime, since primes are co-primes with any PHI. Should be large with very few 1 bits - so 0x10001 = 65537 is one of the best choice for fast encryption (during key exchange) and signature verification.
@justincaseOne5 жыл бұрын
thank you very much...Very useful nd very clear
@mekaramu9 жыл бұрын
Super Explanation!!!!! Great Thank you
@madhabahlal-madinah43092 жыл бұрын
A simple trick to get the d as well: d = e-1 mod φ(n). Let's take the example in the video: e = 7 φ(n) = 40 7^-1 mod 40 = 23 and that's how you can get it without going through the steps of the Extended Euclidean Algorithm
@avatekmuhammed50136 жыл бұрын
Very very very nice. Thank you so much
@navjotkaur47958 жыл бұрын
thank you very much.. awsome work
@christopherderrell84708 жыл бұрын
@Anthony Vance Thank you very much for such a useful video.
@mackomako10 жыл бұрын
Excellent video!
@ajithkumar67873 жыл бұрын
Best explanation ever.. Thank you. Can I get the video for Elliptic Curve Cryptography, from you, please?
@hutaospunchableface73813 жыл бұрын
Thank the lords for this video!
@davidmiranda31298 жыл бұрын
Great video! Thanks!
@atombomb587 жыл бұрын
Thank you so much for the video
@mahmoud-ibrahim7 жыл бұрын
great video. many thanks.
@PragmaticWays7 жыл бұрын
So @11:40, what do you do when phi / e doesn't equal a whole number?
@BrunoTarasco6 жыл бұрын
it wont ever be :) and that's the point. That's why you can do PHI/E then multiply it by E again and get a whole number. You just have to discard the decimal digits :)
@benjadamore5 жыл бұрын
Fantastic!! Good job!
@Tango_Alpha_Charlie9 жыл бұрын
Thank you ... this helped me a lot. :-)
@duniajamma60317 жыл бұрын
In the last example, if you calculate 3 * 6219 mod 2328 = 33 not 1
@kolawoleolusola9 жыл бұрын
thanks this really helped me
@راجيةرحمةالله-ز6م5 жыл бұрын
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?"
@brandondupuis82438 жыл бұрын
to find d : (k*PHI(N) + 1)/e. increment k by 1 until the answer is a round number. EX: ((1x1872) + 1 )/7 = 267.571... (not working, not a round number) ---> increment k by 1---> ((2x1872) + 1)/7 = 535 .... so d = 535 in that case. now you can build a simple program to find d , using this concept and loops
@asddsaaassddd6 жыл бұрын
wouldnt this take very long if ur numbers are huge?
@zayedzihan65946 жыл бұрын
thank u, it helped...
@vishalmishra30463 жыл бұрын
Use Python3.8 built-in function d = pow(e, -1, phi) for mod inverse calculations if you don't want to implement on your own.
@asdfasdfuhf5 жыл бұрын
11:30 *40 divided by 7 is not equal to 5!?* Do I have to floor the number if it is a decimal?
@ItaiBarabi5 жыл бұрын
yes, when you divide in computers you floor the result
@Patriciatrip694610 жыл бұрын
Hey, great video but i got lost getting the e value. How did u get e to become 7?
@bonuxxfull9 жыл бұрын
e you choose it yourself , the only condition is that e is an integer >2 and great common divisor ( e,φ ) = 1
@TheDanishGamers07056 жыл бұрын
e must be an integer, 1
@anand.suralkar5 жыл бұрын
@@bonuxxfull smallest number not a coprime to phi
@feliperodrigo74458 жыл бұрын
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 ;)
@BelievinSP9 жыл бұрын
clear and concise!
@gibsonman5076 жыл бұрын
Why are you encrypting the Integer value 42 rather than the String "42" -> ASCII (5250) (6:24)
@wompaper8 жыл бұрын
I guess I'm getting something wrong but 5:27 - you want to calculate x^2753 ?