Hill Cipher (Decryption)

แชร์
ฝัง
  • เผยแพร่เมื่อ 7 พ.ย. 2024

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

  • @bitethebyte
    @bitethebyte ปีที่แล้ว +34

    Making this video requires more hard work and dedication then the whole playlists available for various subjects on TH-cam.
    Thanks a lot sir.

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

    At the end of the video, I believe L should be set to "11" rather than 14 in the decryption of RRL to PAY. I spent a bit of time questioning this, as I calculated with (17 17 14) as is written, which failed to produce P. It is written/solved correctly in the calculations, but the formula at this point has (17 17 14). Hope this helps anyone like me who felt like they couldn't do basic multiplication :)

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

      Thanks alot bro was trying to figure it out. Saved me time!!!

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

      Le me : after wasting my 30 mint to figure out how it will be 14 instead of 11 after wasting time my mind figure out let's check comment section now I'm here lol

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

      Btw thanks bro Appreciated 😊

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

      659 mod 26

    • @ShiennaYongco
      @ShiennaYongco 7 หลายเดือนก่อน +1

      i felt stupid.

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

    That you even explained the linear algebra part in details step by step is admirable!

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

    You are a genius...even for a movement you dint let me confuse thanks a lot !!! Professor

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

    i am very thankful to you sir for explaining it so transparently ,hats off sir

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

    That was 3 days of cryptography. Thanks a lot Sir!

  • @KassimHondaTech-qw4pm
    @KassimHondaTech-qw4pm 8 หลายเดือนก่อน

    Gosh! Despite my extensive web browsing, this video provided very clear explanations of everything!

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

    22:00 I love the way the sir is teaching explaining each and every step 😘😘😍

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

    helped me with my maths investigation, thanks a lot.

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

    i am very happy u r uploading so many lectures

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

    i have an exam today and this is so helpful, i'll come to say thanks on the reply after the exam...

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

    Nice video overall with detailed explanation. One thing that confused me was the way you wrote the equations in the table at 20:09. on the right side of the equation, it is written 1 * 23 = 23 mod 26, 2 * 23 = 20 mod 26, etc... which can be interpreted as the value of the left side and right side are the same which is not the case in your explanation. Rather according to your explanation it would make more sense to write them as (1 * 23) mod 26 = 23, (2 * 23) mod 26 = 20 etc... and an overall formula of finding the value of inverse of any given number x where there is mod y could be z given x^-1 mod y = (z * x) mod y= 1.
    Edit: I feel like the way I wrote the formula could be misleading. I think it would be better if described as:
    - an overall formula for finding the inverse of any given number where there is a mod could be
    (z * x) mod y= 1, where
    x is the original number, y is the mod number and z is the inverse.

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

      nope what he write is correct,

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

      @@kartikforwork My reply also had an some issues which I corrected but how is what he wrote correct?

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

    23 Inverse mod 26 can be found by gcd.
    Such a good explanation sir 👏thanks a lot

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

    You really saved me, thanks sir🙏🏻🙏🏻

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

    OMG!! I'd been watching a lot of videos and websites but this video explained all very clear!!

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

    Thank for ur. Good.teaching 😊

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

    @27:56 RRL = [17 17 11] but on the calculation took it as 11 so no problem

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

    Really easy and understandable awesome way...

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

    In some sources and videos encryption formula for hill cipher is given as C=k*Pmod26 and some sources C=P*kmod26, since its a matrix multiplication both the answers are different.. so what should we follow🥺?

    • @eshapatil-mz1or
      @eshapatil-mz1or 9 หลายเดือนก่อน

      c=k*pmod 26 is right one

  • @PeterParker-xr5wt
    @PeterParker-xr5wt ปีที่แล้ว

    nothing but the right way of using technology.

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

    Thankyou very much sir ❤🎉

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

    Is there any shortcut to find multiplicative inverse of a number

  • @AkshayKumar-oh7mr
    @AkshayKumar-oh7mr 8 หลายเดือนก่อน

    Well done🎉

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

    what will i do if the multiplicative inverse is not available in modulo 26 ? what is the multiplicative inverse of 4 in modulo 26?

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

    I have a doubt why we need to take mod 26 always after adjoint and u also took mod 26 after determinant and also again after inverse plz clarify my doubt

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

      I think its because we have 26 letters in English alphabet
      Once we complete 26 alphabets, we go back to the beginning.
      Thats the reason for that i guess.

    • @abhilashmadhav.m536
      @abhilashmadhav.m536 10 หลายเดือนก่อน

      did you understand it? pls explain if you did?

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

      Be cause of total number of alphabet is 26

  • @e.l.d5795
    @e.l.d5795 2 หลายเดือนก่อน +1

    Sir is it necessary to take mod 26 in the determinant of K and its adjoint .

  • @arjunk2223
    @arjunk2223 10 หลายเดือนก่อน +1

    Why including mod function while doing diterminant

  • @PMe-my1td
    @PMe-my1td 2 ปีที่แล้ว +1

    Thanks! Can you do a video on finding the key with a Plain-text and Cipher only for a 3x3 matrix?

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

    gr8 sir hope u will upload soon all videos

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

    at 21:10 , WHAT WLL BE THE INPUT IF WE PERFORM EEA? I mean, for EEA, the format we do that in is, " a mod b ". So, what will be the values of the 'a' and 'b' respectively for this quetion we are solving in the video?

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

    Sir in ist row instead of 17 there is 7 at 2nd place in ist row plz correct this becoz key is same for encryption and decryption

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

    My question is for 26:28
    I understand the K x K inverse. But do you multiply these matrices as a whole or each numbers?
    Also, how did it end up being the result matrix before you use the mod 26?

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

    thx it really helps me

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

    While it is 3×3 matrix you just copied 2more columns & 2more rows, but what if its 2×2 matrix then how to do sir

  • @SohamMahapatra-x3j
    @SohamMahapatra-x3j 4 วันที่ผ่านมา

    why can we find the value of k-1 directly with calculator??

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

    One question, when I got the determinant of the matrix I got 1154 mod 26 which results in 10 mod 26. how do I get the multiplcaitve inverse since it always end in 0, what do I do?

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

    there is a little mistake in 27:54 RRL --> (17 17 11 ) not (17 17 14 ) and thank you very much sir

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

    Thank you sir

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

    12:20 what if its 2X2 matrix or some other

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

    Thank a lot sir!

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

    why we need to take the modulo while finding determinant and adjoint, we are taking modulo at the end?

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

    thanks a lot , helped me so much❤❤

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

    Thalaiva , you are great 👌

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

    Sir kindly upload rest of the videos as soon as possible

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

    how to get a reminder sir?

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

    I'm stuck in my calculation, can you help me out, My determinant is 8 and its multiplicative inverse does not exist under mod 26, What should I do?

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

    hi bro nice teaching ,but i have one doubt that is in inverse is odd(20:29) instead of even ,what we can do bro? how to find that value??

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

    Sir may I know the 13 inverse of mod 26???? If no multicative ..then how will solve this problem sir ??? Please tell because my internal qstn the qstn mtrx 19 is differ in 9 ..so using this method u guide 13 I get detk ...so what can I do sir ????

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

    Thank you❤

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

    Thank you!

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

    Hello, please help explain to me how the 23 became 17 more simply. 🙇‍♂🙇‍♂ Thank you!

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

    OMG, maths 🤯. got me confused, what is all this modulo modulo going on

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

    Thanks genius.

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

    plz upload whole syllabus

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

    what if i cant calculate the multiplicative inverse? i got K^-1= 24^(-1) * matrix * mod 26

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

    Isnt the formula C= K*P mod 26 not P*K mod 26??

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

    16:40
    There is a big deffrence acording what you explan

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

    awesome

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

    Sir upload the video of control system ✅

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

      Sure. The next lecture is coming soon.

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

      @@nesoacademy your videos are very helpful but can you please tell name of application you use for java ?

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

    does that mean we cant find multiplicative inverse mod 26 of even numbers? because whatever is multiplied with even number can't result in odd number and hence 1 as the remainder.

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

      I do not know the particilarities of mod26, but in mod 6 you have the matrix [ 2, 3; 3 2 ]. Even though no element is inversable in mod 6, the matrix itself is inversable.
      Maybe same matrices can be found in mod 26.

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

    sir if the key value matrix is not given in the question ,how to find the key matrix sir.reply soon.

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

    @ Neso academy we are getting different cipher text when we use KP approach ..

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

    sir why you put mod 26 after calulating mod,it should go off ryt?? ,that make me confuse,

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

      It is taking everytime so that the result cannot exceed 25.

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

      There are 26 letters in english language.

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

    why do you mod everytime. can't we find 1/det(k) and adj(k) [without mod by 26]. Multiply 1/det(K) and adj(k) then mod by 26.

    • @abhilashmadhav.m536
      @abhilashmadhav.m536 10 หลายเดือนก่อน

      we applied mod 26 on det k and now we have also applied mod 26 on adj k. since applying mod 26 on both detk and adj k, how will mod 26 still remain to be used in the k inverse equation ? Please tell if you have understood coz i dont understand it.

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

    😊😊😊😊 very happy

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

    VALUE OF L = 11 DURING THE DECRYPTION OF RRL NOT 14 🤣 and funny part is my faculty also do the same mistake but her total somehow match's the correct total 🤣🤣

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

    YALLAH Y AJ PAPER MA NA AYE.AMEEN

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

    thanks

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

    adjoint of k could be calculated in calculator.
    if any one knows the steps pls paste the link.

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

    great

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

    L=11 at 28.02 mistaken

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

    What if the total letters is not a multiple off matrix size .??
    i.e if text was neso academy and matrix size was 3x3 then how to breaj the letters??

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

      Insert a filler character X
      nes oac ade myx

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

      @@tamillenin2276 Something like padding?

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

    Easy to learn but difficult to do

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

    The ending part was not explaind properly

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

    I am once again asking for the code, please

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

    it'd take 10 mins in the exam just to find the inverse

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

    There is the small mistake in place of 14 there must be 11 I hope everyone can see that.

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

    Sir -936 mod 26 =0

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

      Bro is that wrong I am also getting the same reminder .what did you do ?

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

    sharath sir .........

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

    ❤️

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

    By mistakely it written as 14 instead of 11

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

    First view first Comment

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

    How did you get multiplcative inverse of 23 as 17? Shouldn't it be 1/23? I am very confused. Someone pls help.

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

    Op🔥

  • @PeterParker-xr5wt
    @PeterParker-xr5wt ปีที่แล้ว

    gottcha.

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

    End of brain

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

    bhai ye tera adjint kaise nikala hai vo bilkul bhi samajh mai nahi aaya.
    Make new video to understand the concept

  • @ToanPham-wr7xe
    @ToanPham-wr7xe 3 หลายเดือนก่อน

    😮

  • @jahnu.1366
    @jahnu.1366 2 ปีที่แล้ว

    billa

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

    9:48 -936 mod 26 = 0 @nesoacademy

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

      But we get -939 mod 26 okay it's mod value is-3 and it is in negative so we add 26 then 26-3=23😅

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

      Appreciate you bro 🤣