The color analogy is amazing. Great work simplifying a difficult and important concept.
@human.earthling7 жыл бұрын
Yes! This is the first time I have understood this concept due to the color analogy.
@1986xuan7 жыл бұрын
Analogies are so powerful
@jacquelinecahill48366 жыл бұрын
I really enjoyed this. Thanks for breaking it down.
@Percavius5 жыл бұрын
It's good in that it's simple, however unlike the discreet logarithm problem, you would be able to make a good estimate of the secret colour based on the starting colour and one of the mixed colours. For example if Eve received the starting colour yellow, and a mixed colour green, she can infer that the secret colour mixed in must be some shade of blue, which makes her search much easier. Recognizing this threw me off a bit at first.
@jsonkody5 жыл бұрын
The concept is simple and genius.
@ChristopherCricketWallace8 жыл бұрын
by far the best explanation of public key encryption EVER.
@ArtOfTheProblem3 жыл бұрын
thanks for watching! stick around
@lennonmclean3 жыл бұрын
unfortunately, public key is completely different than key exchange. public key requires different keys to encrypt and decrypt, so there's no need for diffie hellman to agree on a secret key.
@ArtOfTheProblem Жыл бұрын
made another vid: kzbin.info/www/bejne/hXe2amNje71ppsk
@FosterPinnock3 күн бұрын
Hey, could you possibly help me with this issue? USDT TRX20 is in my OKX wallet and I know the recovery phrase [ clean party soccer advance audit clean evil finish tonight involve whip action ] How do I transfer it to Binance?
@albertoradice77138 жыл бұрын
This is precisely how mathematical concepts should always be explained. You guys nailed it!
@ArtOfTheProblem Жыл бұрын
would love your feedback again kzbin.info/www/bejne/hXe2amNje71ppsk
@satnamo8 жыл бұрын
Martin Hellman said: The system...has since become known as Diffie-Hellman key exchange. While that system was first described in a paper by Diffie and me, it is a public key distribution system, a concept developed by Merkle, and hence should be called 'Diffie-Hellman-Merkle key exchange' if names are to be associated with it. I hope this small pulpit might help in that endeavor to recognize Merkle's equal contribution to the invention of public key cryptography.
@wilkmasterflex12 жыл бұрын
A great illustration. Diffie-Hellman has a well-known, fun vulnerability. Spoilers: Eve, knowledgeable herself on color theory, intercepts messages between Alice and Bob not letting their messages go directly to them. Instead she creates a color of her own. Mixing it twice with each of Alice and Bob's colors she creates two keys. She can now read Bob's message, re-encrypt, and send to Alice and pose as Bob. Same goes in the other direction. If only Alice could trust Bob's color comes from him.
@Germanywithtripti1014 жыл бұрын
an underestimatted comment
@Arkalius803 жыл бұрын
This is why you typically use a digital signing algorithm like DSA to authenticate the messages from each party.
@lennonmclean3 жыл бұрын
if only (epic RSA foreshadowing)
@alittax3 жыл бұрын
This is called the man-in-the-middle attack.
@AnimMouse3 жыл бұрын
Key signing parties!
@dm81444 жыл бұрын
I am typing typing this message in 29/10/2020 and this is one of the best and easiest explanation about public and private key system ever. well done.
@ArtOfTheProblem4 жыл бұрын
great to know people still find this
@AjayPoriya8 жыл бұрын
I nominate this video for OSCAR !!
@barbell138 жыл бұрын
Yeah Oscar would definitely like this video
@alice_in_wonderland426 жыл бұрын
Computerphille uses the same technique.
@Nefariouspat7 жыл бұрын
I've watched a few videos on public key cryptography, but never really understood how it worked until I heard this colour analogy. Absolutely phenomenal video!
@davidcalderon60628 жыл бұрын
this is the best explanation I've seen on anything.
@notmychairnotmyproblem4 жыл бұрын
THIS IS THE EASIEST EXPLANATION OF MODULAR MATH I'VE EVER SEEN Why didn't I have this channel 10 years ago when I was in college??!!
@SomeOne-tb2sd4 жыл бұрын
One the best and simplistic explanation of what appears to be a complex algorithmic process. Thank you.
@supernanotech14 жыл бұрын
Time hardened Encryption just like safe hardening how much time is needed to open it. I love this, this is the best way to explain encryption ever. I love how they have IBM sage running for this video also. Amazing
@jasoncorrigan99376 жыл бұрын
My background in advanced math concepts is somewhat limited, and so it's always been difficult for me to intuitively grasp how DH worked. After years of struggling, this is the one video that really drove the point home for me. Thank you!
@oliverbeck68395 жыл бұрын
dafuq YEARS? i grasped it in about 15 minutes lol
@199NickYT11 жыл бұрын
"While Eve is stuck grinding away at the Discrete Logarithm Problem" Hahaha that's definitely the best part right there.
@johnmacward9 жыл бұрын
Brilliant explanation about key exchange for those of you interested in how your data is encrypted over the web. Ok, when the maths comes you need to pay attention but all in all the best explanation I've found.
@AgglomeratiProduzioni7 жыл бұрын
For a few months, my teacher didn't manage to explain this to a class. In 8 minutes, this video can explain it to every dummy. If it's simple, keep it simple.
@tonyc36682 жыл бұрын
Finally a good explanation! You are a legend!
@ArtOfTheProblem2 жыл бұрын
glad you found this years later!
@tonyc36682 жыл бұрын
@@ArtOfTheProblem hahaha! I started life 3 weeks late, so it's definitely a trend for me =)
@mort85684 жыл бұрын
I'm not even a math guy or even like numbers that much but every once in a while I come back to this video purely because of how entertaining it is
@ArtOfTheProblem4 жыл бұрын
that means a lot
@georgiepentch4 жыл бұрын
Oh my god, your content would fit SO WELL into a podcast format! It's something we need!
@ArtOfTheProblem4 жыл бұрын
Funny you say that, i'm working on developing a podcast right now. I was town between just using the audio from these or doing a new conversational approach. can you listen to the demo I posted last week and give feedback? kzbin.info/www/bejne/Z6iXipKpeKmYeac
@georgiepentch4 жыл бұрын
@@ArtOfTheProblem wow sorry, I don't know why I just got this notification now, but I did listen to the demo and I loved it! Keep it up :)
@laurv83706 жыл бұрын
Very nice! Hat off! One of the best explanations I have seen, and nice put into the story. however, when you swap those powers, you should use parenthesis, that is because generally, powering is not commutative. That is, a^b^c is not equal to a^c^b, modular or non modular powering. Powering is right-associative. But (a^b)^c=a^b*a^b*...a^b (c times) which is a^(b*c)=a^(c*b)=a*a*a*a.... (b*c times), which is (a^c)^b always, modular or not. This is due to the commutativity of the _multiplication_ operation. Not the powers.
@KevinElamMusic4 жыл бұрын
Excellent video! My only complaint is the explanation of "how Alice did the same calculation as Bob" from 7:27 to about 7:40. Starting at 7:27, we see that "12 = 3^13mod17". Then conveniently, right at 7:34, when that figure is substituted into Alice's original expression, the "mod 17" DISAPPEARS and the 12 is simply replaced by "3^13". Although this IS mathematically correct, it REQUIRES a rather advanced principle of modular arithmetic: namely, that [(a*mod c)^ b]*mod c = (a^b)mod c. (In the example from the video, a = 3^13, b is 15, and c is 17). So, you effectively CAN simply remove the extra "mod c" term, but the video glosses over this difficult but crucial step. My sister and I just spent 2 hours figuring out the proof for this principle. If anyone's interested I can share a photo of the completed proof. (It can be found online also).
@dhanushshetty78403 жыл бұрын
Even I was stuck here
@ukee31 Жыл бұрын
Yo yall are smart AF
@mmuarc4 жыл бұрын
Best explanation you can find on the internet about this. The color analogy is Godlike
@5mwa11 жыл бұрын
Good explanation, better than those explanations given by the professors in lectures... My tutors can explain this to me for 1 day and I still don't get it. Now I find this concept extremely simple.
@AkashVermaNITian10 жыл бұрын
Colors made it wonderful to comprehend... really impressing!
@MEANASSJAMSTER9 жыл бұрын
Akash Verma now. I think that I understand how my Gizmo (for online banking) from HSBC works........
@Appoxo4 жыл бұрын
I actually needed the numbers to kinda grasp the concept...
@wreilly092 жыл бұрын
THIS DID IT!! You helped me understand a few points that, in my opinion, we’re not pearly presented in other videos. Thank you very much.
@kanaverum7 жыл бұрын
Perhaps the best explanation of private key exchange on the internet. Thanks very much for this video!
@Konraden12 жыл бұрын
I'm reading wiki trying to understand how public-key encryption works (I'm told its better than symmetrical encryption). I remember someone tried to explain this before using colors, so a quick search--and I find your video. This is a great video.
Brilliant trick behind Diffie Hellman explanation is very clear. Thanks a Lot.
@mipmap245 жыл бұрын
Videos like this are always remind me why I am fascinated about the cybersecurity field! This is a fantastic video!
@xetronchan10597 жыл бұрын
Most amazing and simple and clean explanation of Diffie-Hellman algorithm I've came across. Great!!!
@skidude98006 жыл бұрын
Single best explanation on any cryptography concept I've seen.
@jon_hodl Жыл бұрын
Still one of the absolute best videos for explaining asymmetric key pair encryption
@ArtOfTheProblem Жыл бұрын
she's an oldie !
@garykubiak Жыл бұрын
This video explanation is terrific! Best one I've seen!
@ArtOfTheProblem Жыл бұрын
cool to see old videos get found
@earavichandran5 жыл бұрын
Now i understand clearly about diffe Hellman method. Lovely and lively demo video. Thanks for making this wonderful video.
@ArtOfTheProblem5 жыл бұрын
thanks please share and stick around for more content.
@earavichandran5 жыл бұрын
@@ArtOfTheProblem yes.thanks for your valuable reply.
@mash00009 жыл бұрын
Use of mixing colors as an analogy to explain the DH concept was brilliant. I know DH concept well, but never thought of the color analogy. Good job!
@roxiogamer8 жыл бұрын
Oml dude this is exactly what I have been looking for! A visual explanation on how it works ! 10/10
@FyberOptic12 жыл бұрын
Great video, you described it in a perfect way to understand. Though I'm not sure if it was clear for everyone that this was merely for calculating a mutual key to use with a cipher, and not really for actually communicating information itself.
@mfratto8 жыл бұрын
That's called magic math. Great video. Very helpful. Now to watch the series.
@greg45299 жыл бұрын
Amazing and excellent explanation. Better than my lecturer!
@davidr.flores20435 жыл бұрын
Fantastic. I've watched many videos on this same topic; nevertheless, this is The Best one. A million thanks for breaking down difficult concepts in an easy, understandable way. Kudos!
@ArtOfTheProblem5 жыл бұрын
appreciate the feedback. I always watch every video on a topic before making a new one, so i'm glad you noticed :)
@ROCDUC11 жыл бұрын
Your videos are great. They have interesting visuals as well as an easy voice to listen to.
@exdunn8 жыл бұрын
I learned more from this video than 5 weeks worth of lecturing in my university class.
@KILO9937 жыл бұрын
I found your video while studying for a technical certification. Very well done. Thank you :D
@duallancers0019 жыл бұрын
This was dramatically more helpful than the meager amount of info my book offered on the subject; thank you.
@SanjayShelat5 жыл бұрын
This is an excellent explanation of what is usually a difficult issue to understand. Thank you!
@valor36az5 жыл бұрын
I don’t know what your background is just amazing explanation of concepts
@ArtOfTheProblem5 жыл бұрын
I did a degree in CS and Engineering however I've always enjoyed explaining things. thanks for the feedback
@IgorAherne8 жыл бұрын
This helped me understand it: Imagine Bob and Allice want to teleport to some secret planet without Eve joining them. 1) *Neither Alice nor Bob have a planet in mind where they would like to meet*. They want to use their own piece of puzzle to mutually arrive at the same planet. Depending on which private keys they've chosen initially the final planet will be in the very different locations of universe. 2) They publicly pick which galaxy they want to be in 3) They can pick any number they want, scramble it with the publicly known galaxy's name, and send it over to each other. 4) now each one has the scrambled piece of another person. Both pieces were scrambled with the same galaxy. 5) scrambling Allice's piece with the scrambled code received from Bob will teleport her to planet XYZ. 6) Bob will do the same thing with the scrambled code received earlier from Alice, which will teleport him to planet XYZ because Eve didn't mix-in any of her information into the exchanged (scrambled) messages and was only listening to their conversation, she is unable to align herself with the planet XYZ where those two went. Even if Eve would substitute her message instead of Bob', this would only result Alice and Eve arriving to FZK, without Bob. Alice would see that it's not Bob and no information would be disclosed.
@wassollderscheiss339 жыл бұрын
I love it! (this is the first thing I publicly love on the internet) :-)
@ArtOfTheProblem9 жыл бұрын
wassollderscheiss33 That's so awesome. Thanks for the love
@MalaAnsoo4 жыл бұрын
This is ingenious. Thanks for sharing your knowledge and creativity and helping people to understand so easily.
@ArtOfTheProblem4 жыл бұрын
appreciate the feedback and comment, stay tuned!
@Malmizaur9 жыл бұрын
wow finaly the video i was looking for with the best explanation and number proving examples thank you very much I also checked your chanel realy awesome
@ArtOfTheProblem9 жыл бұрын
+Malmizaur Episode 3 is up next: kzbin.info/www/bejne/aqKxaoKsq6qDqJo
@dangerlibya20108 жыл бұрын
you are a magician !
@scienceblossom61976 жыл бұрын
Can't thank you enough. Awesome video. I wish you also explained how the digital signature works in order to avoid Eve pretending to be either Bob or Alice.
@CarlitoProductions5 жыл бұрын
if this was 2 hours, i'd still watch it. awesome explanation
@abeer_nawaf_sul9 жыл бұрын
very smart.. my teacher also explained it in a wonderful way so it stuck in our minds .. bless him
@KautilyaSave9 жыл бұрын
Great video explanation. I loved the demonstration of colors & Mod Calculus Clock rope.
@Kevi_N.9 жыл бұрын
The trick in a nutshell: ( G^*a* mod P )^*b* mod P = G^*a*^*b* mod P = ( G^*b* mod P)^*a* mod P = *key* *a* and *b* - private numbers *key* - private key (same for both) G - public generator P - public prime module ( G^*a* mod P ) = *A* ( G^*b* mod P) = *B* *A* and *B* - public numbers both sites do: *A*^*b* mod P = *B*^*a* mod P = *key*
@yc42957 жыл бұрын
I try to calculate in Javascript but found it not the same, is there any wrong? According to the fomula "( G^a mod P )^b mod P = G^a^b mod P", Assume G = 3, a = 13, P = 17, b = 15 Math.pow(Math.pow(3, 13) % 17, 15) % 17 = 10 Math.pow(Math.pow(3, 13), 15) % 17 = 2 Math.pow(Math.pow(3, 15) % 17, 13) % 17 = 10 But 10 is not equal to 2
@romanmandeleil7 жыл бұрын
Not clear how A^b = B^a
@uid266 жыл бұрын
Paste this into console: Math.pow(Math.pow(3,15)%17, 13)%17 Result should be 10
@ForcefighterX27 жыл бұрын
Man you should get a teaching award for this explanation and video! Please become a teacher and make our children happy! :-)
@ArtOfTheProblem7 жыл бұрын
thank you, I have been thinking about this
@ninumedia9 жыл бұрын
Thank you for taking the time to record and produce this video! Beautiful explanation.
@thomaspribitzer53736 жыл бұрын
that colour analogy was mind blowing. made my day!
@MohammadNadeem14 жыл бұрын
This is sad to see the subscribers are only 71.3K. I have seen KZbin Channels with Billions of Subscribers and what they are doing is just insulting others in the name of comedy. The way this guy has explained the topic is amazing. I am subscribing to this channel because he won by subscription.
@ArtOfTheProblem4 жыл бұрын
thank you kindly....
@fubonte7 жыл бұрын
why can't i like this video more than once? thank you for an excellent explanation
@MohamedAnsari_H8 жыл бұрын
fantastic video, explained something I've wondered for a long time, Thank you.
@willydafunkykid4 жыл бұрын
Wow respect! I have rarely seen anyone explain anything that well before..
@ArtOfTheProblem4 жыл бұрын
thanks for the feedback
@IAmSinister57 жыл бұрын
This is such a good explanation, it makes so much sense logically to me now.
@mortenbrodersen86647 жыл бұрын
Best explanation I have ever seen. Well done!
@akshaymahale65219 жыл бұрын
It was just awesome, u played wid the colors and dat made the algo go so simple to understand !!!
@princyep84097 жыл бұрын
The articulation is excellent! Great read
@rschintalapati9 жыл бұрын
Amazing explanation! The best video about DH Algorithm. Thank you, it really helped me a lot.
@adityamenon12 жыл бұрын
Watched it twice - I got it the second time, but I'm still amazed by the fact that it works... what an amazing "hack"!
@milo1000111 жыл бұрын
That's why modulus is used. When you add two values, like secret + x = y, it's easy to substract and calculate secret = y - x. But when you use mod infinite number of "secret" values produce the same result "y", so you cannot reverse using substraction.
@Yashuu967 жыл бұрын
This video is so awesome! Had been looking for the answer to this problem.
@felixmintah86329 жыл бұрын
Very good example. Thanks for making me smart this last 8:37 minutes.
@mustafarangwala56578 жыл бұрын
Very nice i was thought about the color logic in my college but i wondered how it would work in numbers.Excellent video.
@blackcheetah45504 жыл бұрын
The best explanation on KZbin .. thank you very very much ❤️❤️
@hdlopesrocha2 жыл бұрын
Cryptography 101, the best intro ever!
@jacquesvanderwesthuizen72879 жыл бұрын
Very well explained. I would recommend this video to anyone studying the arts of encryption/decryption.
@silastube_8 жыл бұрын
If you can't explain it simply, you don't understand it well enough - Albert Einstein. You guys are the very definition of the above quote. Subscribed! :)
@jaketarren12 жыл бұрын
Linked to my cryptography teacher, this is how he should explain this to the class.
@AXDOOMER5 жыл бұрын
What's the name of the music at 3:55 ?
@carlossiverio3570 Жыл бұрын
This is the best explanation by far.
@ketansanil604610 жыл бұрын
Algorithm explanation was really simple and effective
@godfreytan10017 жыл бұрын
Deep concept but simply explained. Excellent!
@ashutoshnautiyal96255 жыл бұрын
this kind of learning material is actually i m looking for. Great explanation .
@atom2ueki10 жыл бұрын
definitely an awesome video show you how to understand Diffie-hellman key exchange
@h.kkhandelwal91429 жыл бұрын
Lovely videos. .... awesome way of descriptions. .... awesome job.... very well done guys
@aymanjabali5 жыл бұрын
Thank you sooo much for putting time and work into this video. you've helped a lot of people around the world
@SomdeepSengupta9 жыл бұрын
LOL ... I came for Diffe Hellman lesson. Got a lesson in Cold war politik.
@danyellbaptiste10556 жыл бұрын
EXCELLENT EXPLANATION. Thank You!
@houyao21476 жыл бұрын
Amazing!!!! This is the best explanation that i've ever seen.
@tasoskontos106 жыл бұрын
Great video! It helped me an insane amount understanding the public key cryptography consept.
@jackdrost72917 жыл бұрын
Excellent explanation of a hard thing to understand. Thank you! (Cool background music too!)
@thor070712 жыл бұрын
Great video and explanations. Wild coincidence at 1:35, he draws a pentagram.
@SibteAli-p1d Жыл бұрын
Solves the non-quantum problem. Advancements in quantum computation tech has got the exact implementation in this video (using discrete log problem) on its toes. Diffie-Hellman continues to be just an idea like it always has been - you can implement it in lots of different ways. I was looking at an interesting one which explored the idea of a point in three dimensional space which is reachable by some linear combination of two unique vectors... anyone know what I am remembering? Something like lattice-based cryptography?
@TheLexusAlexey3 жыл бұрын
I just love this, everything is so much easier!
@Derbauer5 жыл бұрын
Just......beautifully and succinctly explained!
@ArtOfTheProblem5 жыл бұрын
thanks for the feedback, stay tuned for more
@notallthatbad9 жыл бұрын
Great explanation and visual demonstration of a seemingly complex topic. The only part I may be a bit fuzzy on is when the users add their private colors to the "mixture". Wouldn't they come up with different colors? I'd think the resulting colors would have to match on both sides in order for decryption to take place. I guess my basic question is - does the "shared secret color" have to be the same exact color for decryption to happen, or is there more to it? Maybe I'm thinking too much on the concept within the bounds of colors rather than numbers, or there are more sophisticated mathematics at work here - but I love the visual explanation. Thank you!
@seppet0ni9 жыл бұрын
+tubez4321 They would come up with the same color, because on both sides they are adding their own color to a mixture of the base color and the other's private color. Basically, with public color P, secret color left L and secret color right R: Start: P, L P, R Sending mixtures: P+L -> < - P+R After sending: P + R, L P + L, R Mixing: P + R + L P + L + R ==
@AlexU2be11 жыл бұрын
Thanks! Now it's clear, much better than the previous "short" version. The end there was quite unclear.
@federicocreti46999 жыл бұрын
This video is really amazing!!!!!!!! THE COLORS: incredible!!!!!
@piriyaie7 жыл бұрын
AWESOME!!!! Please keep on teaching... You did a great job!!!
@19RedX915 жыл бұрын
The Best Explanation of Diffe Hellman, Thank you Good Sir! Subscribed