Elliptic Curve Cryptography Overview

แชร์
ฝัง
  • เผยแพร่เมื่อ 13 ต.ค. 2015
  • John Wagnon discusses the basics and benefits of Elliptic Curve Cryptography (ECC) in this episode of Lightboard Lessons.
    Check out this article on DevCentral that explains ECC encryption in more detail: community.f5.com/articles/rea...
    Corrections:
    02:24 As we all know, a prime number only has itself and 1 as factors. So, if you multiply two numbers together, the resultant number will at least have the two numbers you multiplied as factors…thus not making it prime. Technically speaking, the product of the two prime numbers in RSA is called a “semiprime” number because its only factors are 1, itself, and two prime numbers.
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 494

  • @MamoonSyed
    @MamoonSyed 8 ปีที่แล้ว +619

    how is this guy so good at writing backwards...

    • @negmone
      @negmone 7 ปีที่แล้ว +23

      That's is an awesome observation !

    • @intelX1000
      @intelX1000 7 ปีที่แล้ว +238

      Vid is flipped, kek.

    • @jayantmishra6966
      @jayantmishra6966 7 ปีที่แล้ว +56

      Shirt button on left side

    • @miro-hristov
      @miro-hristov 7 ปีที่แล้ว +28

      Ring, watch and shirt pocket on right side, lol

    • @ustreadstone
      @ustreadstone 6 ปีที่แล้ว +18

      ...cause he's left handed.

  • @jony7779
    @jony7779 8 ปีที่แล้ว +313

    I never knew Matthew McConaughey was so good at math

    • @lrakvon18
      @lrakvon18 6 ปีที่แล้ว +8

      alright alright alright

    • @schalkdormehl3057
      @schalkdormehl3057 5 ปีที่แล้ว +6

      56 bits? Those are rooky bits, you need to get that bit count way up! 256 bits at least!

    • @blasttrash
      @blasttrash 5 ปีที่แล้ว

      well he was an engineer or something in interstellar

    • @devashishbahri3353
      @devashishbahri3353 4 ปีที่แล้ว

      Looks more like Chris Martin

    • @dankilar8364
      @dankilar8364 4 ปีที่แล้ว

      LMAO!!!

  • @BirSozben
    @BirSozben 11 หลายเดือนก่อน +1

    found this while prepping for the interview. thank you for such simple and yet practical explanation!

  • @roshanbaliga997
    @roshanbaliga997 2 ปีที่แล้ว +38

    Good introduction to ECC. In you intro to RSA you mention taking random prime numbers and multiplying them to get a really big prime number. The result is a really big composite number(not prime) that is hard to factorize.

    • @AG-ig8uf
      @AG-ig8uf ปีที่แล้ว +6

      I think he meant to say semi-prime number, ie a number which only factors are two prime numbers. It is easily provable that by multiplying two prime numbers you get semi-prime number.

  • @kaushikdr
    @kaushikdr 3 ปีที่แล้ว +16

    Protip: doing G + G is the equivalent of finding the point tangent to the curve at G! And since we already have added "two" points (the curve doesn't care if the points are different), the curve will only intersect at one other point!

  • @SteveHillier
    @SteveHillier 8 ปีที่แล้ว +3

    Fantastic work John!

  • @bladi496
    @bladi496 11 หลายเดือนก่อน +15

    this is by far the best video i have come across. Simple, explained in layman's terms to beginners and under 15 minutes. rate this 10 out of 10

  • @bryanmccaffrey1
    @bryanmccaffrey1 7 ปีที่แล้ว +9

    Love how you have to plug the BIG-IP thing at the end (someone has to pay for the Light Board. Well done, sir. You are a great presenter. One of the best I've come across.

    • @devcentral
      @devcentral  7 ปีที่แล้ว

      glad you enjoyed the video!

  • @leonjones7120
    @leonjones7120 4 ปีที่แล้ว +7

    I have read about this before, but this is clearly explained! Well done.

    • @devcentral
      @devcentral  4 ปีที่แล้ว +2

      glad you enjoyed it!

  • @CurtisV
    @CurtisV 4 ปีที่แล้ว +9

    This video broke it down so well!! Thank you!!

    • @devcentral
      @devcentral  4 ปีที่แล้ว +2

      glad you enjoyed it!

  • @johngarnham861
    @johngarnham861 3 ปีที่แล้ว +4

    This is a great easy-to-understand intro to ECC!

    • @devcentral
      @devcentral  3 ปีที่แล้ว +2

      glad you enjoyed it!

  • @antelope6826
    @antelope6826 ปีที่แล้ว +1

    This was a fantastic intro to ECC, thanks for the clear explanation!

    • @devcentral
      @devcentral  ปีที่แล้ว

      Glad you liked it! We appreciate the comment!

  • @danielgospodinow
    @danielgospodinow 4 ปีที่แล้ว +3

    A very clear and interesting explanation! Thanks!

    • @devcentral
      @devcentral  4 ปีที่แล้ว +1

      glad you enjoyed it!

  • @gauthamj.m4758
    @gauthamj.m4758 5 หลายเดือนก่อน

    The best explanation that I got on Elliptic Curve Cryptography , great work John

  • @cody3509
    @cody3509 4 ปีที่แล้ว +5

    Thanks, brother, you're a huge help in my Crypto class!

    • @devcentral
      @devcentral  4 ปีที่แล้ว

      glad you enjoyed it!

  • @rettich187
    @rettich187 8 ปีที่แล้ว +277

    2:20 wrong; the product of two prime numbers is always non-prime - because it has the two prime numbers as factors.

    • @devcentral
      @devcentral  8 ปีที่แล้ว +157

      great observation! I put some clarification info on this in another comment section from another user below. Here's the info:
      During my quick explanation of RSA, I said that two prime numbers are multiplied together to produce a really big prime number (at 2:20 - 2:25 in the video). As we all know, a prime number only has itself and 1 as factors. So, if you multiply two numbers together, the resultant number will at least have the two numbers you multiplied as factors…thus not making it prime. Technically speaking, the product of the two prime numbers in RSA is called a “semiprime” number because its only factors are 1, itself, and two prime numbers. Here’s a more detailed explanation of semiprimes: en.wikipedia.org/wiki/Semiprime
      For each RSA number "n", there exist prime numbers “p” and “q” such that n = p × q
      The problem is to find these two primes, given only n. The salient point for RSA is that “n” will always be semiprime.
      All that said, I should have said “a really big semiprime number” in the video, but I didn’t want to take up too much time discussing RSA since this video is targeted for ECC.
      Thanks again for the great catch on this!

    • @jobsquotes
      @jobsquotes 6 ปีที่แล้ว +63

      EI Radon : Nice observation however please be humble and polite while pointing out the mistake.

    • @scottbuszard
      @scottbuszard 6 ปีที่แล้ว +42

      I think he was direct and to the point. Nothing too bad about that. Rather than saying "wrong", maybe saying 'Great work on the video, however I've noticed a minor mistake."

    • @slavavassiliev3531
      @slavavassiliev3531 6 ปีที่แล้ว +1

      If you are in a prime space the product of to prime numbers is still a prime number

    • @tatoman2
      @tatoman2 6 ปีที่แล้ว

      Thanks

  • @CHahn-zt3md
    @CHahn-zt3md 8 ปีที่แล้ว

    Thanks for your wonderful presentation.

  • @grishnank1
    @grishnank1 3 ปีที่แล้ว +3

    I could not get this concept at all until I watched you're video. Thank you very much.

  • @isabellaswan4590
    @isabellaswan4590 7 ปีที่แล้ว +7

    I almost got an idea wats was it all about...thank you John Wagnon

  • @ethereumlife1458
    @ethereumlife1458 6 ปีที่แล้ว +3

    Thank you for this wonderful video !

    • @devcentral
      @devcentral  6 ปีที่แล้ว

      glad you enjoyed it!

  • @stianmaurstad
    @stianmaurstad 5 ปีที่แล้ว +1

    Thank you! Beautifully explained.

    • @devcentral
      @devcentral  5 ปีที่แล้ว

      glad you enjoyed it!

  • @nancode
    @nancode 4 ปีที่แล้ว +5

    This video is, by far, the best video on eliptic curve criptography availiable... wish you could do more videos about this subject, congratulations for the amazing work!!!

    • @devcentral
      @devcentral  4 ปีที่แล้ว +2

      glad you enjoyed it!

  • @Openwrt2023
    @Openwrt2023 2 ปีที่แล้ว +7

    Excellent presentation. The Elliptic Curve in the video is drawn based on y^2=x^3-3x+5. The actual elliptic curve used in the algorithm will have much bigger prime numbers and will look much different. The same logic applies to either case, so it doesn't quite matter. Just for your information.

    • @saloudofarid9620
      @saloudofarid9620 2 ปีที่แล้ว

      thank you

    • @Mattador666
      @Mattador666 ปีที่แล้ว

      Thanks for this! I was contemplating asking if the initial elliptic curve was a static one that remained the same.

  • @modolief
    @modolief 5 ปีที่แล้ว +1

    Thanks for providing this really useful intuition on the algorithm.

    • @devcentral
      @devcentral  5 ปีที่แล้ว

      glad you enjoyed it!

  • @kaushikdr
    @kaushikdr 3 ปีที่แล้ว +17

    Fantastic work on the video! A lot of smart people forget that it is hard to learn things when they make it super complicated; I hope that I can be as good as you one day :D. I thought I would summarize the video for myself (and others if they might also benefit from it?) and ask a few questions.
    From what I understand, elliptic curve cryptography uses fewer bits to create as complex of a trapdoor function as RSA (which is basically trying to factor a really large semi-prime number).
    In elliptic curve cryptography, you start with two points on this elliptic curve (looks like an octopus and is symmetric about y-axis) and you find the third point you find when you draw a line between those to find another point on the graph and then find the point symmetric to that about the x-axis.
    E.g. If the initial two points were A and B, the third point would be notated as A + B = C. Then you do A + C to find D. And then you do A * D = E … and so on until you find some point Z on this elliptic curve.
    The number of these additions you have to do to acquire Z is the “private key”, which is why this computation is often written as K = k * G, where k is the private key, K is the point we are trying to reach, and G is the generator point (the point we start at and is constant for a certain graph).
    Some questions I have are:

    1) From what I understand, exponentiation by squaring makes this logarithmically easier and allows one to verify this quickly - but how does one square these “dot products”? These are not just vectors going through some kind of constant transformation when you do A * B (at least from what I understood).
    I have now found that addition is commutative in elliptic curves! So doing 4 * G can be simplified as (G + G) + (G + G); or basically that you can break down a multiplication in about log_2(k) steps.
    2. How do you encode a point on a graph as one number? Would you just encode the y values? I am not sure that it would be super helpful towards finding the squares of two numbers though.
    I found out that that the first half of the bits are the x coordinates and the second half are the y coordinates.
    3. What is the reason behind the reduction in bits of elliptic curve cryptography?
    Still not sure about this!
    4. What exactly happens when a point goes over the maximum? You find how much it is above the maximum, and make it that much more than the x minimum (how do you decide if the new value is positive or negative)? What happens if the new x value is also more than the maximum? Do you just keep on moving the value back until the value is below the maximum?

    • @ammyvl1
      @ammyvl1 2 ปีที่แล้ว +1

      First off: All of this is just math. Without a proper degree in math it'll be quite difficult to understand. They don't "make it hard", they use existing theorems that may not be simple to a layman to solve problems.
      Second: It's not about having a "complicated" trapdoor function, it's about having a secure one. RSA is very simple to implement and understand with some basic number theory, however it's also very secure. Something else that you could devise might be extremely complicated, but not too secure when it comes down to it. Security and complexity are different.
      Third: the octopus looking elliptic curves are only a certain family of elliptic curves. there are some where it is broken into two parts.
      To answer question three for you: It's a reduction in size, because ECC has more uncertainty than RSA with the same sized keys - that is to say, it's harder to brute force ECC than RSA.
      Edit: My answer was slightly unclear, so let me rephrase it: There are "efficient" methods to brute force RSA (even disregarding Shor's metaphorical elephant in the room). There are methods to brute force RSA that are faster than just guessing and checking everything, which actually scale better than encrypting does. ECC on the other hand has no algorithm as a shortcut - the only method to brute force it is the naive method which scales at the exact same rate that the key size does.

  • @davidhcefx
    @davidhcefx 4 ปีที่แล้ว +1

    Thanks for the nice intuition!

  • @bacon7149
    @bacon7149 5 หลายเดือนก่อน

    Well and simply explained, good job!

  • @NistenTahiraj
    @NistenTahiraj 8 ปีที่แล้ว +11

    Amazingly efficient explanation. How does this channel have so few viewers?

    • @devcentral
      @devcentral  8 ปีที่แล้ว +3

      thanks! feel free to help spread the word about our channel and videos!

  • @halvedbagel5827
    @halvedbagel5827 8 ปีที่แล้ว

    very clear explanation. thanks you sir.

  • @ikbo
    @ikbo 2 ปีที่แล้ว +1

    Fantastic overview! Thank you!

  • @liamw4623
    @liamw4623 6 ปีที่แล้ว

    This video is really interesting! Keep up the good work.

    • @devcentral
      @devcentral  6 ปีที่แล้ว

      cool...glad you liked it!!

  • @download333
    @download333 ปีที่แล้ว

    It took me a while to realize and appreciate that this dude is writing backwards so we can read it forwards. Also, love your eyeballs. They are grade A, top-shelf eyeballs.

  • @entropyfu
    @entropyfu 3 ปีที่แล้ว +1

    Excellent overview.

  • @tianhepeng9162
    @tianhepeng9162 5 ปีที่แล้ว +1

    Very good introduction. I do get the basic idea of it now.

    • @devcentral
      @devcentral  5 ปีที่แล้ว

      i'm glad it was helpful for you!

  • @daniel_tenner
    @daniel_tenner 2 ปีที่แล้ว +3

    Fantastic, clear and well made video. Got here while reading “Mastering Ethereum” and wanting a more thorough understanding of ECC maths. Got what I wanted!

    • @devcentral
      @devcentral  2 ปีที่แล้ว

      Appreciate the comment!

  • @illicitsolitude7727
    @illicitsolitude7727 7 ปีที่แล้ว +4

    Great Video! Going to write a paper about ECC, this helped a lot.

  • @xoreign
    @xoreign ปีที่แล้ว +3

    Fun fact, but my integral Calculus teacher in university was one of the creators of this :) Neil Koblitz. Very smart dude.

    • @devcentral
      @devcentral  ปีที่แล้ว

      Wow, very cool! Thanks for the comment!

  • @JM-jg6xi
    @JM-jg6xi 4 ปีที่แล้ว +1

    Thanks for your wonderful presentation

    • @devcentral
      @devcentral  4 ปีที่แล้ว

      glad you enjoyed it!

  • @infamousstreaming2899
    @infamousstreaming2899 2 หลายเดือนก่อน +1

    It baffles me how people have the knowledge enough to 1) Come up with such ideas and most importantly 2) To code such applications that can do such complex things. The cryptographic world is so unique in so many ways, as us people many times take it for granted to ease of use in such applications since we can freely use them, but lord knows the backend behind all that computation

  • @MaximumBan
    @MaximumBan 6 หลายเดือนก่อน

    Thank you! You have satisficed my curiosity

  • @tenminutetokyo2643
    @tenminutetokyo2643 5 ปีที่แล้ว +2

    Above all, thanks for keeping the vid titles short

  • @ThelmaBalbuena
    @ThelmaBalbuena หลายเดือนก่อน

    this is extremely well explained, thanks

  • @metalbag8874
    @metalbag8874 4 ปีที่แล้ว +1

    You have saved my math project. Thank you

    • @devcentral
      @devcentral  4 ปีที่แล้ว

      glad you enjoyed it!

  • @MaxGillespie
    @MaxGillespie 5 ปีที่แล้ว +1

    This video was super helpful thanks so much

    • @devcentral
      @devcentral  5 ปีที่แล้ว

      glad you enjoyed it!

  • @curtstockman
    @curtstockman 4 ปีที่แล้ว +1

    That was one very clear explanation of ECC. How can there be any thumbs down AT ALL?

    • @devcentral
      @devcentral  4 ปีที่แล้ว +1

      glad you enjoyed it!

  • @ReedoAce
    @ReedoAce 3 ปีที่แล้ว +3

    And I thought ECC stood for ERP Central Component :). Thanks for the great presentation!

  • @swapanjain892
    @swapanjain892 8 ปีที่แล้ว

    Nice Explanation!!

  • @nehamadavi7589
    @nehamadavi7589 7 ปีที่แล้ว

    great explanantion sir,for such complicated topic ..i hv exam tomorow and this gonna help me loooottttttt thnxaaaa tunssss.god bless u

  • @Value_Geek9447
    @Value_Geek9447 5 ปีที่แล้ว +1

    Man i love your videos,Thank you so much

    • @devcentral
      @devcentral  5 ปีที่แล้ว

      glad you enjoy them!

  • @aavanti4187
    @aavanti4187 3 ปีที่แล้ว +1

    Awesome video!

    • @devcentral
      @devcentral  3 ปีที่แล้ว

      Appreciate the note!

  • @sameera2797
    @sameera2797 3 ปีที่แล้ว +1

    Great informative video!

    • @devcentral
      @devcentral  3 ปีที่แล้ว

      glad you enjoyed it!

  • @wowik91
    @wowik91 2 ปีที่แล้ว +1

    i'm very impressed about your skills writing backward

    • @devcentral
      @devcentral  2 ปีที่แล้ว +1

      Thanks for the comment and here's how we produce these: th-cam.com/video/U7E_L4wCPTc/w-d-xo.html

  • @lherfel
    @lherfel ปีที่แล้ว +1

    this recursion is glossed over often, thanks

    • @devcentral
      @devcentral  ปีที่แล้ว

      thanks for the comment!

  • @kalyanhr
    @kalyanhr 6 ปีที่แล้ว

    Very informative. Thank you.

    • @devcentral
      @devcentral  6 ปีที่แล้ว +1

      glad you enjoyed it!

  • @raviaradhyula6896
    @raviaradhyula6896 6 ปีที่แล้ว

    Great explanation!

    • @devcentral
      @devcentral  6 ปีที่แล้ว

      glad you enjoyed it!

  • @jimmylander2089
    @jimmylander2089 5 ปีที่แล้ว +6

    I’m an IT undergraduate and I’m currently figuring out quadratic curves and surfaces. I heard about elliptic curve cryptography from some espionage series and I’ve been really thrilled to learn about them ever since. Just putting it out there.

  • @_broski
    @_broski 2 ปีที่แล้ว +2

    Great video! You explained this better than my uni prof XD

    • @devcentral
      @devcentral  2 ปีที่แล้ว

      Glad you enjoyed it!

  • @martinzen
    @martinzen 6 ปีที่แล้ว

    Excellent video, thanks a lot

    • @devcentral
      @devcentral  6 ปีที่แล้ว

      glad you enjoyed it!

  • @4q-3q
    @4q-3q 2 ปีที่แล้ว +1

    thank you so much, you explained it so well

    • @devcentral
      @devcentral  2 ปีที่แล้ว +1

      Glad you liked it and we appreciate the comment!

  • @osamaisathawadi
    @osamaisathawadi 6 ปีที่แล้ว

    thanks professor ... well done

  • @matheus.nogueiradagama
    @matheus.nogueiradagama 8 ปีที่แล้ว

    Good video.
    Thanks

  • @iSlamAndSciences
    @iSlamAndSciences 3 หลายเดือนก่อน

    very outstanding explanation sir

  • @snakepat332
    @snakepat332 2 ปีที่แล้ว +1

    Perfect. Thanks and great job.

    • @devcentral
      @devcentral  2 ปีที่แล้ว

      Glad you enjoyed it!

  • @hsefilms5994
    @hsefilms5994 3 ปีที่แล้ว +2

    This was incredibly helpful. Thank you!

  • @canarolucas8519
    @canarolucas8519 3 ปีที่แล้ว +1

    Great explanation.

    • @devcentral
      @devcentral  3 ปีที่แล้ว

      glad you enjoyed it!

  • @JacobRuizDesign
    @JacobRuizDesign 2 ปีที่แล้ว +1

    This was really well explained

    • @devcentral
      @devcentral  2 ปีที่แล้ว

      Thanks for the comment!

  • @lofman
    @lofman 8 ปีที่แล้ว +1

    Interesting topic! Learned a lot. You type backwards really well. :-)

  • @aaronkidwell7480
    @aaronkidwell7480 3 ปีที่แล้ว

    This is the best explanation!

    • @devcentral
      @devcentral  3 ปีที่แล้ว

      glad you enjoyed it!

  • @zamba3612
    @zamba3612 8 ปีที่แล้ว +3

    that was a really, really good intro to this topic

  • @mopitz199
    @mopitz199 6 ปีที่แล้ว +8

    Great video. I have a question, if you have the power potencial to multiply your private key and the "generator point" to get your public key, can you get the private key if you have the public key and the "generator point"? I mean iterating over and over and saving every result until match with your public key (that can be the same process that you used to get it at the first time).
    Thanks

    • @devcentral
      @devcentral  6 ปีที่แล้ว +6

      great question! this is at the heart of the underlying foundation that it is easy to compute these values going one way, but extremely difficult to compute them going the other. that is, if you have the value of the private key and the generator point, you can easily determine the value of the public key. but, if you only have the public key and the generator point, then it's very difficult to figure out the private key. the fundamental mathematics behind all of this is based on the "Elliptic Curve Discrete Logarithm Problem". at first glance, it sounds fairly trivial to start with a generator point and then keep calculating until you get to the public key value...then you would have your private key value. but it's actually very difficult in real practice to do that.
      here's an article I wrote that explains all of this in more detail: devcentral.f5.com/articles/real-cryptography-has-curves-making-the-case-for-ecc-20832
      I hope this helps!

    • @javabeanz8549
      @javabeanz8549 2 ปีที่แล้ว

      link goes to a page not found, and link in description seems to go to a black page. Are there new links?

  • @patfoiloofficial2154
    @patfoiloofficial2154 2 ปีที่แล้ว +3

    This is super nice and easy. I was trying to understand how encryption and decryption work in web 3.0 and I got just what I need on ECC

    • @devcentral
      @devcentral  2 ปีที่แล้ว

      Glad you enjoyed and we appreciate the comment!!

  • @Leech.Lattice
    @Leech.Lattice 6 ปีที่แล้ว +2

    am i the only one impressed by the way this guy is writing backward with such ease

    • @devcentral
      @devcentral  6 ปีที่แล้ว

      see how we do it here: th-cam.com/video/U7E_L4wCPTc/w-d-xo.html

  • @tybvx.1505
    @tybvx.1505 2 ปีที่แล้ว +1

    This is awesome!

    • @devcentral
      @devcentral  2 ปีที่แล้ว

      We appreciate the comment!

  • @javierespinoza3782
    @javierespinoza3782 2 ปีที่แล้ว +2

    Man these videos are so good, even my dumbass is able to understand these topics, thanks John!

    • @devcentral
      @devcentral  2 ปีที่แล้ว

      He does make technology easy to understand. We appreciate the comment!!

  • @abhijithsugunan6768
    @abhijithsugunan6768 8 ปีที่แล้ว +1

    Brilliant Introduction

    • @negmone
      @negmone 7 ปีที่แล้ว +1

      When he started writing on the board, that got my attention right away !

    • @abhijithsugunan6768
      @abhijithsugunan6768 7 ปีที่แล้ว +1

      Yeah mine too

  • @ivannovotny7511
    @ivannovotny7511 5 ปีที่แล้ว +2

    You're best one-way-function-teacher I have ever met. Finally I find out what the point and sense is.
    (I saw this super-interactive presentation technique but never discovered what do you use for the transparency and written-in-air effect. I know that somewhere in the TH-cam is it descripted but I can'find it... Can you divulge it to me? :)

    • @devcentral
      @devcentral  5 ปีที่แล้ว +4

      here you go! devcentral.f5.com/articles/lightboard-lessons-behind-the-scenes

    • @ivannovotny7511
      @ivannovotny7511 5 ปีที่แล้ว +2

      Thanks! Nice gadget!

  • @calebcurry4458
    @calebcurry4458 3 ปีที่แล้ว +1

    Great video

    • @devcentral
      @devcentral  3 ปีที่แล้ว

      glad you enjoyed it!

  • @STamilSelvan
    @STamilSelvan 8 ปีที่แล้ว

    Good Explanation

  • @anna.lewandowska.
    @anna.lewandowska. 7 ปีที่แล้ว +37

    just a technicality: eliptic curve can't be defined as a function, it's more of a formula. That's why it's called a curve, not a math function.

    • @devcentral
      @devcentral  7 ปีที่แล้ว +21

      Anna, thanks for the comment. Technically, you are correct because a math function is a relation between a set of inputs and a set of permissible outputs with the property that each input is related to exactly one output. So, in the case of the elliptic curve I drew in the video, it's true that, for a given value on the x-axis, there are multiple resulting y-axis values. So, from a technical definition of a function, this elliptic curve is not a function. That said, the concept of function can also be extended to an object that takes a combination of two (or more) argument values to a single result. When I used the term "function" in the video, I didn't take into account the very technical definition of the word. Rather, I used it in a more generic sense whereby it can be graphed on the x/y-axis. Thanks again for the clarification!

    • @83vbond
      @83vbond 3 ปีที่แล้ว

      Yes, technically the curve he drew represents a mathematical "relation", not a proper "function" [as in a function one f(x) can result in only one value of y, not two or more]

  • @vannwx
    @vannwx 2 ปีที่แล้ว +1

    This is very good video to eplain ECC. Thanks

    • @devcentral
      @devcentral  2 ปีที่แล้ว

      glad you enjoyed it!

  • @psnarayanan1334
    @psnarayanan1334 7 ปีที่แล้ว +2

    I never knew John Wagnon was so good at writing mirror image of letters

  • @Flippy1565
    @Flippy1565 5 ปีที่แล้ว +1

    awesome vid
    thx

    • @devcentral
      @devcentral  5 ปีที่แล้ว

      glad you enjoyed it!

  • @brianmorgan3266
    @brianmorgan3266 8 ปีที่แล้ว +14

    I have always operated under the knowledge that multiplying two prime numbers will result in a number that is certainly not prime, as it will have factors 1, itself, and the two numbers used to generate it?

    • @devcentral
      @devcentral  8 ปีที่แล้ว +16

      +Brian Morgan Great point and great catch! During my quick explanation of RSA, I said that two prime numbers are multiplied together to produce a really big prime number (at 2:20 - 2:25 in the video). As we all know, a prime number only has itself and 1 as factors. So, if you multiply two numbers together, the resultant number will at least have the two numbers you multiplied as factors…thus not making it prime. Technically speaking, the product of the two prime numbers in RSA is called a “semiprime” number because its only factors are 1, itself, and two prime numbers. Here’s a more detailed explanation of semiprimes: en.wikipedia.org/wiki/Semiprime
      For each RSA number "n", there exist prime numbers “p” and “q” such that n = p × q
      The problem is to find these two primes, given only n. The salient point for RSA is that “n” will always be semiprime.
      All that said, I should have said “a really big semiprime number” in the video, but I didn’t want to take up too much time discussing RSA since this video is targeted for ECC.
      Thanks again for the great catch on this!

    • @brianmorgan3266
      @brianmorgan3266 8 ปีที่แล้ว +5

      +F5 DevCentral Thanks for the response, sir. That helps clear it up. I just wasn't certain if I had missed something in my formative years, or had been lied to all that time :) You broke down a complex topic very well and made it digestible for those interesting in such processes. Thanks!

  • @karthikchandra7303
    @karthikchandra7303 2 ปีที่แล้ว +1

    Very nicely explained sir thanku

    • @devcentral
      @devcentral  2 ปีที่แล้ว

      Thanks for the comment and glad you enjoyed the video!

  • @leesweets4110
    @leesweets4110 2 ปีที่แล้ว +2

    Hold on though... on the Diffie Hellmann algorithm integers are chosen randomly. In the ECC algorithm you have to calculate the nth term by using a sequence of dot operations to arrive at your private number. The point is, calculating your private key is a linear sequence of prescribed operations with a finite terminating point. All an attacker would have to do is run through the operations themselves, which they could do.... they dont know where you stopped but they only need to find the first one that works. And if you can computer yours, surely they can compute it too.

    • @leesweets4110
      @leesweets4110 2 ปีที่แล้ว

      @qwerty ytrewq Why dont they know where it started?

    • @leesweets4110
      @leesweets4110 2 ปีที่แล้ว

      @qwerty ytrewq Dont both parties have to choose the same value though? Or some communication of the value? Seems to me that either it isnt random or, if it is, its publicly accessible information. How do you exchange the starting point between the two parties without risking an unwanted third party also having it? Im sincerely at a loss here understanding how this works...

    • @udust1
      @udust1 2 ปีที่แล้ว

      I'm learning this myself, but ill try to answer as good as I can.
      Lets call the secret=x, and the publicly known starting point=P.
      The public key x*P is the final point you land on when adding(or dotting) P to itself x times. This is also publicly known.
      There are two main operations you can do on points, a) adding two points, b) doubling a point(adding it to itself)
      a. In the video he explains how you can add two points by drawing a line, see where it intersects, and reflecting over the x-axis.
      b. You can also add a point to itself. This is almost the same as adding two points. This is done by taking the tangent line on that exact point, see where it intersects, and reflecting over the x-axis. Any tangent line on the curve intersects the curve on exactly two points. The point on the tangent line and one other point.
      The reason why an attacker can't (easily) run through the same operations is:
      Lets say x=44.
      Knowing that x=44, you can calculate 44*P this in 7 steps:
      1. (using b): 2P = P+P
      2. (using b): 4P = 2P + 2P // You have already calculated the point 2P, and know where it is on the curve, so you can just add that point to itself
      3. (using b): 8P = 4P + 4P
      4. (using b): 16P = 8P + 8P
      5. (using b): 32P = 16P + 16P
      6. (using a): 40P = 32P + 8P // Two points you already calculated
      7. (using a): 44P = 40P + 4P
      You can't do this in 7 steps as an attacker, you have to do it in 44 steps, because you have to check every number along the way to see if it matches the point x*P. If x was 9, and you did these 7 steps, you would skip the solution.
      If the secret key was a bigger, more realistic number, e.g. x=2^256, you can calculate x*P in 256 steps, which is nothing, your computer will do it in a fraction of a second.
      While the attacker has to do it in 2^256 steps, which is about the estimated amount of particles in the observable universe. And impossible to compute in a thousands if lifetimes, even if you put every computer to it.
      This is the trap door that makes it a one way function.

    • @udust1
      @udust1 2 ปีที่แล้ว

      In the Diffie Hellman key exchange they do not have to chose the same secret key.
      If they were to chose the same key, the would have to communicate it to each other safely somehow. If they already had a safe communication there would be no need for exchanging a key using Diffie Hellmann. They could just use the private key they just shared a the symmetric encryption key instead.
      If Allice and Bob were to agree on a key on an unencrypted network using DH:
      They both agree on a publicly known starting point P on a publicly known curve.
      Lets say Allice chooses the private key SA=5, and Bob chooses the private key SB=7.
      They both calculate the public key, which is private key*P, and sends this to each other over the open internet.
      So Allice calculates the point PA=5*P, and bob calculates the point PB=7*P
      Now they both multiply the public key they get from each other with their own private key.
      Allice calculates 5*PB = 35P, and Bob calculates 7*PA= 35P. They both ended up on the same point, so now they can use the x-axis of the point 35P as the symmetric key.
      And there is no way of getting to 35P, without knowing the numbers 5 or 7 just by knowing P PA and PB, the attacker would have to guess one of the numbers 5 or 7.

  • @dimitardraganov3538
    @dimitardraganov3538 2 ปีที่แล้ว +1

    prime number multiplied by another prime will not give you a prime number :] Great videos, keep up the good job!

    • @devcentral
      @devcentral  2 ปีที่แล้ว +1

      @dimitar, Great point and great catch! During my quick explanation of RSA, I said that two prime numbers are multiplied together to produce a really big prime number (at 2:20 - 2:25 in the video). As we all know, a prime number only has itself and 1 as factors. So, if you multiply two numbers together, the resultant number will at least have the two numbers you multiplied as factors…thus not making it prime. Technically speaking, the product of the two prime numbers in RSA is called a “semiprime” number because its only factors are 1, itself, and two prime numbers. Here’s a more detailed explanation of semiprimes: en.wikipedia.org/wiki/Semiprime
      For each RSA number "n", there exist prime numbers “p” and “q” such that n = p × q
      The problem is to find these two primes, given only n. The salient point for RSA is that “n” will always be semiprime.
      All that said, I should have said “a really big semiprime number” in the video, but I didn’t want to take up too much time discussing RSA since this video is targeted for ECC.
      Thanks again for the great catch on this!

    • @dimitardraganov3538
      @dimitardraganov3538 2 ปีที่แล้ว +2

      @@devcentral It was clear that you made a verbal mistake. As you mentioned the RSA numbers are semiprimes and the whole RSA cryptography relays on the fact that there is no efficient method for finding the prime factors of a semiprime number (other than brutforcing). If you are to come up with a new theorem solving this problem you can break the RSA encryption :)

  • @stockup_tools
    @stockup_tools 6 ปีที่แล้ว +1

    This was a very good explanation , really got me clear on my concepts.

    • @devcentral
      @devcentral  6 ปีที่แล้ว

      glad you enjoyed it!

    • @isabelledelmas5332
      @isabelledelmas5332 3 ปีที่แล้ว

      I'm sorry you feel that this cleared up your concepts as John Wagon's could not be more wrong. He does not understand what a prime number is, he's the definition of a mathematical function is wrong, his "dot" operation is complete none-sens, his RAS/ECC security level comparison has no foundation, his ECC public key of max is a notion that does not exist, he never explained how to dot A with itself so I'm not sure how he got 2A. In summary, the first 2 minutes do not respect the mathematical foundations I learn in middle school and the rest is a pure invention. To be honest, I thought the video was a joke that my cryptography professor directed towards when he asked to explain what was wrong in the explanation.

  • @greatcz
    @greatcz 6 ปีที่แล้ว +1

    A good way to get a general idea of ECC

    • @devcentral
      @devcentral  6 ปีที่แล้ว

      glad you enjoyed it!

  • @kerron_
    @kerron_ 6 ปีที่แล้ว +1

    Very good video

    • @devcentral
      @devcentral  6 ปีที่แล้ว

      glad you enjoyed it!

  • @AH-ps3uv
    @AH-ps3uv ปีที่แล้ว +1

    great, good content

    • @devcentral
      @devcentral  ปีที่แล้ว

      Glad you enjoyed it and we appreciate the comment!

  • @StuffBudDuz
    @StuffBudDuz ปีที่แล้ว +2

    I didn't follow any of that because I was too impressed by your ability to write backwards! 😊

  • @ffhashimi
    @ffhashimi 7 ปีที่แล้ว +2

    This is really great , thank you

    • @devcentral
      @devcentral  7 ปีที่แล้ว

      Glad you enjoyed the video!

  • @kungfucoder7126
    @kungfucoder7126 4 ปีที่แล้ว +1

    awesome good job.

    • @devcentral
      @devcentral  4 ปีที่แล้ว

      glad you enjoyed it!

  • @PongbolIEMVICHARANA
    @PongbolIEMVICHARANA 3 ปีที่แล้ว +1

    Thank you

    • @devcentral
      @devcentral  3 ปีที่แล้ว +1

      glad you enjoyed it!

  • @pappy4dolly
    @pappy4dolly 3 หลายเดือนก่อน

    Great video-At 2.24, you mentioned multiply 2 big prime numbers together and you get a
    larger prime number? I think you meant you get a large composite number.

  • @ellinikos6281
    @ellinikos6281 หลายเดือนก่อน

    4:50 He detached from reality and literally dreamed of a curve while saying "So we are gonna draw an elliptic curve on this graph" haha

  • @Aliabbashassan3402
    @Aliabbashassan3402 8 ปีที่แล้ว

    very good

  • @vernekarraghavendranagaraj8695
    @vernekarraghavendranagaraj8695 3 ปีที่แล้ว +1

    Nice video

  • @shamelessone1987
    @shamelessone1987 2 หลายเดือนก่อน

    I regret wanting to know this information, I watched several videos on the basics of assymetric encryption for a course and everyone of them just uses the "locked mailbox " analogy but I just needed to know or else I wouldnt be able to move past it... I now know enough to know that I should have been happy with the mailbox analogy lol

  • @erratic88
    @erratic88 7 ปีที่แล้ว

    Nice short explanation of a very complex subject. Actually I am looking at such explanations to help me to understand whether relatively simple 'dotting' is commonly used in implementations or whether 'point doubling' (where the line is a first derivative 'tangent' to the curve rather than a sort of chord) is actually used. IMO you got the distinction wrong there with regard to 'dotting with itself' which is 'point doubling' not exactly the same as 'dotting'. Also, the reflecting across the x axis is, I believe, part of the group operation. That is to say that A dot B gives you an intermediate point which when reflected gives you C.
    Anyway, good job with the video. It is difficult to simplify without losing some perhaps trivial distinctions, and you probably know more about it than I do in the long run.

    • @devcentral
      @devcentral  7 ปีที่แล้ว

      Thanks for the reply, Ray! Here's a more in-depth article that I wrote on this subject...it goes into more detail on the Point Addition and Point Doubling operations: devcentral.f5.com/articles/real-cryptography-has-curves-making-the-case-for-ecc-20832

    • @erratic88
      @erratic88 7 ปีที่แล้ว

      Thanks for that. It is clearer to me now about how point doubling is sometimes used on the first composition and subsequent compositions are all point additions.