HILL CIPHER 3X3 Matrix Example Encryption and decryption

Sdílet
Vložit
  • čas přidán 19. 09. 2019
  • Hello friends! Welcome to my channel.
    My name is Abhishek Sharma.#abhics789
    In this video, i have explained the concept of HILL CIPHER ENCRYPTION AND DECRYPTION with Numerical example in Cryptography and Network Security.
    #AbhishekDit
    If you learned something new do like and share this video with your friends and don't forget to subscribe to my channel :)
    There are lectures related to different subjects on this channel.Do check them out, guys.
    Substitution and Transposition techniques:
    • Substitution and tran...
    Link is given below:
    computer graphics:
    • Computer Graphics
    engineering economics:
    • Engineering Economics
    Cryptography :
    • Playfair Cipher Algorithm
    .Net C# :
    • .NET C#
    Pointers in C :
    • Pointers in C Introduc...
    Linked List for Interviews :
    • Introduction to Linked...
    Java Tricky videos/programs for interviews :
    • Java Labelled For Loop...
    File Handling in C :
    • Reading the contents o...
    pointers playlist:
    • Pointers in C
    C Programming tips and tricks:
    • C tricky programs/videos
    Abhishek VLOGS :
    • #VLOG-1 Riding through...
    Concerts :
    • Khushboo Grewal concer...

Komentáře • 117

  • @tabindakhan3913
    @tabindakhan3913 Před 4 lety +16

    in the key matrice g= 6 but sometimes u have written 16 and some times 6 in the key matrice

    • @AbhishekSharmaDit
      @AbhishekSharmaDit  Před 4 lety +14

      Wo 6 hi hoga by mistake 16 likhdia hoga ✌️

    • @riyaalok2424
      @riyaalok2424 Před 4 lety

      6 sae answer nahi aa raha bhai

    • @Viralvlogvideos
      @Viralvlogvideos Před 3 lety +3

      its is 6 but u wrote 16 and then u againe changed it

    • @AbdulRafay-vi6hz
      @AbdulRafay-vi6hz Před 3 lety

      because sometimes the value is 16 that means you decryption could be wrong but the method is correct...so Thank you

    • @abhinavs03
      @abhinavs03 Před 3 lety +2

      Saale G is 6

  • @shrayansjain9176
    @shrayansjain9176 Před 4 lety +9

    This was very helpful especially the whole process to find inverse(k). Thanks a lot

  • @simpykumari7025
    @simpykumari7025 Před 3 lety

    Very precise and useful... Thank you

  • @shilpahr45
    @shilpahr45 Před 4 lety +11

    ur expressing method is nice and we can get things easily thank you sir do have notes soft copy

  • @mayurighosh7487
    @mayurighosh7487 Před 4 lety +3

    You really put some hard work , other channels just leave the calculation and write answers directly

  • @manikantaananthoja
    @manikantaananthoja Před 4 lety +8

    In Adj(k) you wrote n=7 in -197+26(n)
    ....
    But n=8 just correct that one...that's all bhai

  • @s.nageshwari6896
    @s.nageshwari6896 Před 2 lety

    Tq so much bro,you make it , easy to understand

  • @jananiebalaji3698
    @jananiebalaji3698 Před 4 lety +3

    Thank you sir. Kal mera exam hai. bacha liya aapke video ne mujhe. :)

  • @chinni438
    @chinni438 Před 4 lety

    Very very nice explanation superb

  • @user-gx7hs7et2t
    @user-gx7hs7et2t Před rokem

    hey what to do if there's whitespace between plaintext for e.g. i am ciphertext , so when encrypting do i need to ignore the whitespace?

  • @achalrajyaguru7644
    @achalrajyaguru7644 Před 4 lety +3

    What if our PT is of size l and key is of size m. how to do lxm?. Also what if our PT doesn't have enough characters to form a matrix?

  • @gauravsharma5584
    @gauravsharma5584 Před 6 měsíci +5

    Tip : skip this question.

  • @lakshsinghania
    @lakshsinghania Před 4 měsíci

    abhishek sir what if the plain text is SAFEMESSAGE or SAFEMESSAG instead of SAFEMESSAGES ? it doesnt make exact 3x1 matrices then what to do ?

  • @muhammadbahrozshamim2099

    Is repeating letter allowed e.g if my plain text is "HEll". When i will divide it for 2x2 key matrix, will the repeating letter will be allowed?

  • @arunkc9147
    @arunkc9147 Před 6 měsíci +1

    What if determinant of key matrix is - ve? Should we add 26 ro make it +ve too?

  • @jarvis9263
    @jarvis9263 Před měsícem

    very useful in life

  • @dikshikayeul847
    @dikshikayeul847 Před 3 lety +1

    Sir, can you share your notes that you have made, it will be very helpful.

  • @harshitabinwal4226
    @harshitabinwal4226 Před 3 lety +1

    Nice explanation 🥰🥰

  • @rohannagshiva5971
    @rohannagshiva5971 Před 3 lety

    thanks a lot sir

  • @dharma_reddy
    @dharma_reddy Před 3 lety

    How to find inverse if we get the determinant of the key matrix an even number. I think we cant do the same process if we get determinant an even number where we cannot find inverse using this method. Can you do the same problem using key matrix[1 7;9 3].

  • @anitathakur4303
    @anitathakur4303 Před rokem

    Loved your video😍🥳

  • @hiteshmanjunath5511
    @hiteshmanjunath5511 Před 2 lety

    Bro..if we get 0 as determinant in decryption process??

  • @suriyajan3597
    @suriyajan3597 Před 2 lety

    Thankyou sir!

  • @ankursingh-mo2ok
    @ankursingh-mo2ok Před 8 měsíci

    what happens if the mod exceeds 25 what am i supposed to do , reverse count from 'A' taking it as 26?

  • @allinone_747
    @allinone_747 Před 2 lety

    Sir is repeated letters allowed in plain text?

  • @abdulrashid4734
    @abdulrashid4734 Před 2 lety

    Sir g agr inverse ma determinent ki value minus ma ajaye PIR kya krengy

  • @anupamagautam1395
    @anupamagautam1395 Před 3 lety

    amazing

  • @trishulnaik4234
    @trishulnaik4234 Před 3 lety

    Can anyone help
    What if plain text length is 5,7,etc -> say "Hello pi". What will the key matrix (nXn) be? should we fill p matrix or will it be (7X1)

  • @zohaibshakeel6045
    @zohaibshakeel6045 Před 2 lety

    Thanks brother lots of love from Pakistan 🇵🇰

  • @suhast.s9498
    @suhast.s9498 Před 5 měsíci

    hello, sir loved your explaination have some doubts if you dont mind clarifying

  • @saroshahmed7097
    @saroshahmed7097 Před 2 lety

    Thank you brother love from Pakistan ❤

  • @shristiuniyal6792
    @shristiuniyal6792 Před 3 lety +5

    hey abhishek can you tell me what to do if the determinent is negative?

    • @enzo9299
      @enzo9299 Před rokem

      determinant can never be negative, because we always take mod of the value, which is eventually positive.

  • @pavanpreetham7138
    @pavanpreetham7138 Před 2 lety

    Can you tell me the solution for this .
    plain text: key
    secret text :cryptography
    Encrypt by hill cipher

  • @sultanalikhan7286
    @sultanalikhan7286 Před 2 lety

    sir uper key me ap ne N=13 LIKHA HE OR NECHE MARTIX ME WO 3 KESE HU GYA CAN U EXPLIAN IT PLZ?

  • @yadavji_official5548
    @yadavji_official5548 Před 4 lety

    Or agr determinants negative aa jaye to kya krenge

  • @UtkarshNayan-cf1zp
    @UtkarshNayan-cf1zp Před měsícem

    Hello boss , The value of determinant comes out to be 763

  • @jisanahmed4780
    @jisanahmed4780 Před 13 dny

    is the determinant right? my ans is 763

  • @smdshoaibali5200
    @smdshoaibali5200 Před 3 lety +1

    Encryption may aap 13 ki jagah 3 likhaa hai plzz see once and tell me how u wrote that 🙏🙏

  • @Computer_Info
    @Computer_Info Před 4 lety

    nice tutorial i like it. i have a question which is 'when u use 3x3 matrix , if u have left one letter and how to encrypt it ? for example the plain text is UNSAFEMESSAGE and the key is z same u use one tutorial.'

  • @nilankshadogra6447
    @nilankshadogra6447 Před rokem

    Sir mod 26 kyu kiya ???..

  • @Night_Rider5242
    @Night_Rider5242 Před rokem +2

    (ATM) I think there is a miss calculation.
    196+26(7)
    When 26*7=182 and remainder is -15
    If I do 26*8=204 and remainder is 7.
    Sir Please clearify

  • @AceHardy
    @AceHardy Před 4 lety

    ✔️

  • @WHATMAKESMONEY369
    @WHATMAKESMONEY369 Před rokem +1

    16:00 the whole matrix & k inverse is wrong….appreciate your method sir bit don’t miss guide us wrong calculations. Students please correct the matrix.

  • @akhilpanwar6974
    @akhilpanwar6974 Před 4 lety +2

    what if agar hamara plain text "SAFEMESSAGE" hota to, vacant space mai kya dalte?

  • @renukachowdary709
    @renukachowdary709 Před 4 lety +3

    Can u say any easy process to find the multiple for getting 1243*5 mod 26=1

  • @mamaandi1155
    @mamaandi1155 Před 2 lety

    d-1 d inverse ki value 5 kesy aye hai please help

  • @user-ff8jp3bg5e
    @user-ff8jp3bg5e Před měsícem

    how to get d^-1 = 5

  • @safmaqboolbasha
    @safmaqboolbasha Před 3 měsíci

    minor error in key matrix g is 6 somewhere its written 16 by mistake. also when removing minus signs n is not 7 it is 8
    -197+26(8) = 11

  • @mdazam2315
    @mdazam2315 Před 3 lety

    Pls sir provide the notes...

  • @WHATMAKESMONEY369
    @WHATMAKESMONEY369 Před rokem +1

    @ 12:44 the product is -157 not -197 pls correct it sir

  • @Viralvlogvideos
    @Viralvlogvideos Před 3 lety +1

    14:49 error yeh bro for 2nd Element it is 7*16 not 7*6 u wrote wrong so correct answer is 7*16-8*17= - 24 --> - ( - 24) = + 24

  • @arslanakram7319
    @arslanakram7319 Před 4 lety

    Thanks Boy

  • @faizamanzoor4279
    @faizamanzoor4279 Před rokem

    in reversing( -ve) the value of n = 8

  • @2290prime
    @2290prime Před 3 lety +1

    In some places you've taken the value 6, in some places you've taken value 16.

  • @pankajdhokti9193
    @pankajdhokti9193 Před rokem

    Calculations??

  • @parasjain410
    @parasjain410 Před 3 lety

    What if the value of determinant comes out to be negative?

    • @suchitathakur5913
      @suchitathakur5913 Před rokem

      It is always a positive value. If you are getting -3 then convert it into 3 out of the determinant.

  • @ShivamCE-yw2uq
    @ShivamCE-yw2uq Před 3 lety +1

    Sir, what if the number of characters are in odd number then how can we define the last vector

  • @ashutoshshukla8186
    @ashutoshshukla8186 Před 9 měsíci +1

    Adjoint Matrix calculated is wrong

  • @mhamza5732
    @mhamza5732 Před 4 lety +1

    aby pechy police lgi hai tery?? jo tez tez ja ra ha

  • @chinni438
    @chinni438 Před 4 lety

    Can u make vedios on data mining techniques

  • @UshaswiniCHERUKULA
    @UshaswiniCHERUKULA Před 5 měsíci

    In encryption 2st matix last 8,13,6

  • @humanAbsu
    @humanAbsu Před 4 lety +5

    Bro plzz apni calculation shi se kara kro🤯

  • @priyanshudarji1923
    @priyanshudarji1923 Před 2 lety

    Bro for encryption for 1st SAF plzz check the C cause instead of 13 you have written 3, so I guess the answer will change

    • @priyanshudarji1923
      @priyanshudarji1923 Před 2 lety

      Sry it won't be changing cause multiplication will be 0 , I am sorry

  • @beone888
    @beone888 Před 4 měsíci

    at 12:38 how 4*16 - 13*17 = -197(it should be -157)
    there are more calculation mistake in your video

  • @rashmisinha7228
    @rashmisinha7228 Před 4 lety

    What to do if.. Plain text is not i. The multiple of 3 for above 3X3 key mateix

  • @Sam-oo4py
    @Sam-oo4py Před 4 lety +1

    Adjoint of k is wrong. Check ur numbers. The first element substracted result is wrong. The second element, u said something and u multiplied something else.

    • @AbhishekSharmaDit
      @AbhishekSharmaDit  Před 4 lety +4

      It will be 6 everywhere
      I have written 16 sometimes
      I have pinned the comment also✌️

  • @prakharkant8225
    @prakharkant8225 Před 3 lety

    Ambiguity in determinant of key confusing............

  • @vipulshrma8
    @vipulshrma8 Před 3 lety

    hmm

  • @kraghupati
    @kraghupati Před 4 lety +7

    Too many mistakes in the calculations. Please correct.

  • @siddharthsoni8784
    @siddharthsoni8784 Před 2 lety

    n =8

  • @akshay.ppvvtt
    @akshay.ppvvtt Před 2 měsíci

    calculator exist

  • @joewhite7466
    @joewhite7466 Před 2 lety

    was that supposed to be english?

  • @manngala4425
    @manngala4425 Před 6 měsíci

    sahi hai baki ke toh try kiya hua bhi nhi
    best ho aap

  • @vinayhans2829
    @vinayhans2829 Před 4 lety

    oh bhai es ko solve karne ke liys kaafi time chahiye

  • @abdulrashid4734
    @abdulrashid4734 Před 2 lety

    Zaror reply dena sir g

  • @HiMu2324
    @HiMu2324 Před 4 lety +1

    Encryption m 13 ki jagah 3 likh diya h...

  • @mohsinkhan973
    @mohsinkhan973 Před 3 lety +1

    wrong calculations sy shi answer waah bhai waah

  • @jaideeplobo6096
    @jaideeplobo6096 Před 2 lety

    This is difficult

  • @kshetrasrinamburi7986
    @kshetrasrinamburi7986 Před 2 lety

    Determinent is 1043 check again

  • @Sumit_yadav748
    @Sumit_yadav748 Před měsícem

    Bro you've done a mistake in key Matrix, you've took 3 instead of 13 for "N",
    Edit:it doesn't make difference anyway

  • @user-dh2xd1io6d
    @user-dh2xd1io6d Před 3 lety

    منو عراقي

  • @dhanmanichoudhury2759
    @dhanmanichoudhury2759 Před 3 lety +1

    determinant is 763 not 1243, yeh meine calculator mein check kia

  • @aashutoshpatel8854
    @aashutoshpatel8854 Před 2 lety

    Bhai tu kar kya raha he

  • @rohithnshetty9574
    @rohithnshetty9574 Před 2 lety

    Bhai mod karneka method bata dete tho achha hotaa .... Sirf reminder boldiya apne 111% 26 = 15.7 ata he

  • @nabeelnawaz218
    @nabeelnawaz218 Před 10 měsíci

    bht mistakes hain ,,not recommended

  • @UshaswiniCHERUKULA
    @UshaswiniCHERUKULA Před 5 měsíci

    You did mistake

  • @KaizokuDOFFY
    @KaizokuDOFFY Před rokem

    encryption is easy but decryption is too complex. if i could get live assissttance.