RSA algorithm example|rsa algorithm encryption and decryption example|rsa example|rsa algorithm

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

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

  • @o.g_.__
    @o.g_.__ 19 дней назад

    Thanks you... to find D it can be D × E mod phi(n) should be equal to 1.

  • @abhijeetsrivastava4617
    @abhijeetsrivastava4617 4 года назад +1

    Bhai bhai love u overflow bhut bdhia btaya

  • @augustoalmeida2586
    @augustoalmeida2586 5 лет назад +2

    lets say if i wanna encrypt 12 08 00 12 08 ...would you encrypt each interger or as a whole ??

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

      See dea it totally depends on machine capablities....you can encrypt large blocks as well but its fast though increases complexity but where as if we do it integer by integer the complexity will be very low but takes lot of time as we are repeating same process again and again....so your answer is we can do both depending by chossing fixed length block size as well as character by character

    • @ReelyGudat
      @ReelyGudat 5 лет назад +1

      You would have given the input before right?.... Like single or double digit

    • @ReelyGudat
      @ReelyGudat 5 лет назад +1

      @@LastNightStudy1903 xcs

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

      @@ReelyGudat okk i will try to from my further videos

  • @sivoham55
    @sivoham55 3 дня назад

    Calculating A mod B
    step1: res = A / B
    step 2: ans = A - res * B [take result without decimal points]

  • @preyas2198
    @preyas2198 5 лет назад +2

    Excellent explanation

  • @krishnateja50
    @krishnateja50 10 месяцев назад

    Thank you!

  • @veeru2005
    @veeru2005 11 месяцев назад +4

    thank you for the lesson, but the phones gonna die. Just like me, if i dont get my shit together, buthte phones battery is critically low, JUST like my mental health..

  • @divyak3790
    @divyak3790 Год назад +2

    Sir today enaku 7th semaster CNS exam sir nethu unga vedio parthathala eniki ethe qus and ans vanthuthunga sir enaku RSA algorithm ethu varaikum PT exam la kuda padikala kashtama erukum solitu aana unga vd parthe 13 mrk solaya eduthurupen sir conform ans crt

  • @sadiyafarhad
    @sadiyafarhad 2 года назад +1

    Tqsm sir 😊

  • @ganeshmudigonda9659
    @ganeshmudigonda9659 5 лет назад +3

    What we have to do when we get d as fraction value

    • @LastNightStudy1903
      @LastNightStudy1903  5 лет назад +1

      of d & e you will never get fraction value if yu get so you are somewhere wrong....if you talking about other values let me know

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

      @@LastNightStudy1903 p=5 ,q=7 d=5 find e this q came in last year college exam plz solve asap

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

      take floor value

  • @savitanekar5855
    @savitanekar5855 Год назад +1

    If we take e=3 then answer will be wrong???? Why

  • @poojapoojadhapte1430
    @poojapoojadhapte1430 5 месяцев назад

    Nice

  • @Nixxone2k
    @Nixxone2k 2 года назад +1

    Tqs bro

  • @Sakshi_20810
    @Sakshi_20810 9 дней назад

    Gcd 1 hai ya nhi kaise smja hai yaha reply pls tomorrow I have cns paper I didn't understand that

    • @Omkale239
      @Omkale239 8 дней назад

      ruclips.net/video/qQMq4DYJkn0/видео.htmlsi=IIyC1oZ8yCdp2LpV
      Best of luck!

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

    what comes 17xd = mod (60) I can't figure it out as 1, or is it better to go with 2nd hidden layer method of (60x1)+1/17 = 3.58 is that correct then d = 3 or 4

    • @LastNightStudy1903
      @LastNightStudy1903  4 года назад +1

      your d is 113...use the same hit and trial method taking 60...you would get[ (60*32)+1 ]/17....i hope you got your answer...

    • @nusratnila5739
      @nusratnila5739 3 года назад +2

      @@LastNightStudy1903 why you use 60*32? I mean why 32?

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

      D is 53

  • @pratyakshparihar3329
    @pratyakshparihar3329 Месяц назад

    how to find the GCD?

  • @Poojapooja-ok4rr
    @Poojapooja-ok4rr 4 года назад +1

    Thank you so much 😊

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

    can you do this for me?message size or m=6,e=5,n=35,d=29.what is encrypted(c) and decrypted(m) value?

    • @somerandomnaame8229
      @somerandomnaame8229 2 года назад +1

      Hi,
      I'm fairly new to this topic, but I figured out your problem.
      To calculate Φ(n), p=7, q=5 hence Φ(35) = 6*4=24
      Gcd(5,24) =1 so your problem is valid.
      C = (m^e)%35
      6^5%35 = 6 hence c is 6
      M=(c^d)%35
      (6^29)%35
      To calculate this part, you can use browser or se this video m.ruclips.net/video/EEsUxxhy50c/видео.html
      You'll get the mod as 6 which is your m.

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

    Please provide PDF of your notes of cns. Very urgent ya

  • @tadepallimadhuri6561
    @tadepallimadhuri6561 2 года назад +1

    thankkkkkkkkkkkkkkkkkk youuuuuuuuuuuuuuuuuuuuuuuuuuuuuu

  • @misspaula9186
    @misspaula9186 2 года назад +2

    amazing, thank you

  • @malakwaseem1166
    @malakwaseem1166 3 года назад +7

    Q.1. Perform encryption and decryption using RSA Algorithm for the following.
    P=17; q=11; e=7; M=88.
    Please solve this question

  • @bhavanihn307
    @bhavanihn307 4 года назад

    Tq sir 😊

  • @sanyatjeetpawde3621
    @sanyatjeetpawde3621 4 года назад +1

    can you please solve 5*d=1 mod 396.

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

    the name last night study is ok but each video is more then 5 mins yaar

  • @akilankabilan2929
    @akilankabilan2929 5 лет назад +3

    1 mod(20)= 1 then d val becomes 3 how?

    • @LastNightStudy1903
      @LastNightStudy1903  5 лет назад +5

      See its not just 1%20 its actually is
      7*e=1mod20
      so here you need to find a number which multiplied by 7 and then mod with 20 gives you 1...
      in that case 7*3=21
      21%20=1
      so 3 is answer...

    • @akilankabilan2929
      @akilankabilan2929 5 лет назад +1

      @@LastNightStudy1903 OK...now I am understood

    • @akilankabilan2929
      @akilankabilan2929 5 лет назад +1

      8*d= 1 mod(20)
      d=?

    • @akilankabilan2929
      @akilankabilan2929 5 лет назад +1

      Tell the ans...

    • @LastNightStudy1903
      @LastNightStudy1903  5 лет назад +1

      see dea in this case....
      8*d=1mod20
      e,fie(n) not equal to 1
      which breaks the rule of
      e,fie(n)=1
      so you can write down its not solvable ahead because it voilates above rule...

  • @devaraj1621
    @devaraj1621 5 лет назад +1

    Why take a small sum?

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

      can you explain the time frame you are taking about....like at what time in video you have doubt?

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

    Muh se gutka thuk ke bol lo bhai