RSA encryption: Step 4 | Journey into cryptography | Computer Science | Khan Academy

Поделиться
HTML-код
  • Опубликовано: 26 окт 2024

Комментарии • 22

  • @sanketshah7670
    @sanketshah7670 Год назад +3

    easily the best explanation of rsa

  • @ytsas47596
    @ytsas47596 4 года назад +3

    This series is so cool- Khan Academy really is revolutionary, and it astounds me that, especially with the quality and quantity of content produced, it's all free.

  • @yornhaha
    @yornhaha 10 месяцев назад +2

    What is K in d at 2:47 ? where does it come from?

    • @enessipahioglu9526
      @enessipahioglu9526 3 месяца назад

      honestly this videos explanation is a little bit wrong. not wrong but its confusing, the equation supposed to be e*d = 1 mod phi(n) , in this equation we dont care what "k" is, thats the "mod"less version in the video. you just find the d with extended euclidean algorithm. to find the k, you also should do this extended euclidean algorithm but if you solve that algorithm, you ll be already found the "d" that you were looking for.

  • @michaelteter
    @michaelteter 8 лет назад +16

    The background bell sound in the video is really, really distracting. I cannot imagine why it was put in the video.

    • @wiemdakhli9944
      @wiemdakhli9944 11 месяцев назад

      with the bell, I can imagine what he is saying as a story and that's fantastic

  • @1102cedric
    @1102cedric 8 лет назад +5

    What is the website or the program he uses to create the graph at 3:51 in the video? I could really use it in one of my works!

  • @danielspangler6412
    @danielspangler6412 10 лет назад +2

    FYI: The youtube title doesn't match the title on the site. It's step 4 on the main site. Awesome videos on RSA BTW. End of semester and I actually understand this now... :)

  • @inserthere6387
    @inserthere6387 6 лет назад

    awesome explanation of RSA, cool that prime factorization is the heart of all of it

  • @mble
    @mble 2 года назад

    Great video

  • @ZxddE
    @ZxddE 5 лет назад

    thank you so much this was really helpful

  • @harshitgupta7740
    @harshitgupta7740 2 года назад +5

    This might be the worst video of Khan Academy. It makes no sense at all and that background noise is so distracting. How was k calculated? It is assumed that k is 2. e is chosen at random such that (e,phi(n)) = 1. This was not told in any video before this one. What is known and what is unknown is really confusing. Is it the case that for each pair of p1 and p2, there must exist a pair of e and d? Is it e and d that decide the value of n? I chose the value of 307 and 101 as p1 and p2, but i am not able to find any e,d pairs for that.

    • @OVER9000xDxD
      @OVER9000xDxD 5 дней назад

      there is 3 other parts of rsa encryption series;
      /watch?v=IY8BXNFgnyI
      part 2 there^ says e and d are encryption and decryption I believe iirc

  • @TechWorldwithImran
    @TechWorldwithImran 5 лет назад

    what is the link if i want to calculate time rquired to multiply 2 number

  • @jo9398
    @jo9398 5 лет назад

    I'm confused with the formula at 0:53... how does the left side equal the right side in that example?

    • @Opelucid
      @Opelucid Год назад

      It's not equal. It's "congruent" that's why it's 3 bars.

  • @younginventors5917
    @younginventors5917 3 года назад

    what if 'm' is greater than 'n'?

  • @ragnarlothbrok7086
    @ragnarlothbrok7086 9 лет назад +1

    Can't make the decryption work.
    C^d = 1394^2011 = Infinity
    Please help.

    • @quantumhack8948
      @quantumhack8948 8 лет назад

      (This is for C#. If you are using another programming language, please write.) Do you using Math.Pow ? Math.Pow is double. If you are using BigInteger (for big integers) and do with for, then you are not see "Infinity".
      (Sorry my English, I am Turkish.)
      (BigInteger's reference is System.Numerics)
      Example for C#:
      int taban00 = 1394;
      int us00 = 2011;
      BigInteger bigInt = new BigInteger (1);
      for(int i = 0; i

    • @tim37021
      @tim37021 7 лет назад

      The complexity of your solution is linear. It is able to do O(lgN) computation
      You can use divide and conquer to calculate A^m % n for any large A and m
      If m is even => return (A^(m/2) mod N)^2 mod N
      if m is odd => return (A^(m-1) mod N * A mod N) mod N

  • @Hyperboid
    @Hyperboid 5 лет назад

    it feels like a vsause1 video

  • @jeanl
    @jeanl 6 лет назад

    Pretty sure the equation for d is bullshit.