Hill Cipher Encryption and Decryption | Encryption and Decryption example of hill cipher

Sdílet
Vložit
  • čas přidán 11. 07. 2024
  • Hill Cipher Encryption and Decryption | Encryption and Decryption example of hill cipher | Hill Cipher in network secuirty | Hill cipher in cryptography
    Follow my blog: www.chiragbhalodia.com/2021/1...
    There are basically two types of symmetric cipher: Substitution Cipher, Transposition Cipher.
    Substitution Cipher: A substitution is a technique in which each letter or bit of the plaintext is substituted or replaced by some other letter, number or symbol to produce cipher text. For Example, ABC ⟹ XYZ.
    Types of Substitution Cipher: Caesar Cipher, Monoalphabetic Cipher, Vigenère Cipher, Playfair Cipher, One time pad cipher (Vernam cipher), Hill Cipher.
    Transposition Cipher: In transposition technique, there is no replacement of alphabets or numbers occurs instead their positions are changed or reordering of position of plain text is done to produce cipher text. For Example, ABCDE ⟹ BADEC.
    Types of Transposition Cipher: Rail Fence Cipher, Columnar Transposition Cipher.
    Hill Cipher is polyalphabetic substitution cipher. This technique was developed by mathematician Laster Hill. Hill cipher based on linear algebra. Input of this technique are keyword and plain text. Keyword is given in matrix form.
    In this video, I have explained hill cipher encryption and decryption rules with example. Also explained hill cipher example of 2x2 keyword matrix encryption and decryption. Explaine example of 3x3 keyword matrix encryption.
    0:00 Introduction
    0:16 Outline
    0:45 Types of Symmetric cipher
    1:55 Types of subsctitution techniques
    2:24 Introduction of Hill Cipher
    3:17 Hill cipher encryption rules
    5:56 Hill cipher decryption rules
    7:39 Hill cipher encryption and decryption example (2x2 keyword matrix)
    12:15 Hill cipher encryption (3x3 keyword matrix)
    13:37 Exercise of Hill cipher (Answers are available in blogs)
    If you like my video contents, please LIKE, COMMENT, SUBSCRIBE & SHARE with your friends.
    --------------------------------------------------------------------------------------------------------------
    Check out our other video on our channel page
    Caesar Cipher:
    • Caesar Cipher in netwo...
    Monoalphabetic Cipher:
    • Monoalphabetic Cipher ...
    Playfair Cipher:
    • Playfair Cipher in net...
    Vigenere Cipher:
    • Vigenere Cipher (Polya...
    Hill Cipher:
    • Hill Cipher Encryption...
    One Time Pad Cipher:
    • One time pad Cipher (V...
    --------------------------------------------------------------------------------------------------------------
    You can always connect with me at:
    Follow my blog:
    www.chiragbhalodia.com
    Like my Facebook page:
    / chiragbhalodia25
    Follow me on Instagram:
    / chiragbhalodia.25
    Follow me on twitter:
    / chiragsbhalodia
    Subscribe me on youtube:
    / chiragbhalodia
    Follow mt on Quora:
    www.quora.com/profile/Chirag-...
    --------------------------------------------------------------------------------------------------------------
    Playlist available on my channel:
    Network Security (CNS, INS, IS):
    • Network Security All U...
    Computer Network (CN) with animation:
    • Computer Network (CN) ...
    VFX Animation & Fun Videos:
    • VFX & Fun videos
    Comupter Organization & Architecture (COA, CA, CO):
    • Computer Organization ...
    Assembly Language Programming:
    • Assembly Language Tuto...
    Computer Graphics:
    • Computer Graphics Algo...
    #chirag_bhalodia
    #chiragbhalodia
    #networksecurity
    #cryptography
    #Hill_Cipher
    #Hill_Cipher_in_Network_Security
    #Hill_cipher_in_cryptography
    #Hill_Cipher_Encryption
    #Hill_Cipher_Decryption
    #Hill_Cipher_Example
    #Hill_Cipher_Example_using_2x2_key_matrix
    #Hill_Cipher_Example_using_3x3_key_matrix
    Keep learning, keep supporting 🤝✨💯

Komentáře • 69

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

    Follow my blog: www.chiragbhalodia.com/2021/10/hill-cipher.html

  • @jacknicholls4982
    @jacknicholls4982 Před 4 měsíci +1

    bro thanks so much for making a tutorial that is clear with a good example

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

      Glad it helped!....Thank you so much.....
      Please share with others....
      Please subscribe my channel...
      Please follow my blog: chiragbhalodia.com

  • @mohammedfaisal6329
    @mohammedfaisal6329 Před rokem +1

    Informative video 👍

    • @ChiragBhalodia
      @ChiragBhalodia  Před rokem

      Glad you think so!....Please share with others....Please subscribe my channel...
      Please follow my blog: chiragbhalodia.com

  • @user-ec2gu9bo1l
    @user-ec2gu9bo1l Před 2 lety +1

    from kurdistan regoin in iraq🇮🇶 seen vidoe very good thnks you❤

    • @ChiragBhalodia
      @ChiragBhalodia  Před 2 lety

      Thank you so much...... Please share with others... Keep Supporting
      Please subscribe my channel...
      Please follow my blog: www.chiragbhalodia.com/2021/10/hill-cipher.html
      Full course of Network Security: www.chiragbhalodia.com/p/network-security.html
      Full course of Computer Network: www.chiragbhalodia.com/p/computer-network.html

  • @yippinew
    @yippinew Před 2 lety +2

    Thanks for the explanation. I have a question, what if it is given that A does not start with 0 but any random number like 17? Do we still do mod 26 and add 17 to the final answer to find the corresponding alphabet?

    • @ChiragBhalodia
      @ChiragBhalodia  Před 2 lety +1

      You are welcome.... Please share with others and subscribe my channel...
      Follow my blog: www.chiragbhalodia.com/2021/10/hill-cipher.html
      You should assign any number to any character (does not repeat number)...Process of encryption and decryption will be same....but you must check that table of A...Z (assigned number) is same during encryption and decryption....It should not be changed...

    • @yippinew
      @yippinew Před 2 lety +1

      @@ChiragBhalodia Thanks for the reply sir 👍

    • @ChiragBhalodia
      @ChiragBhalodia  Před 2 lety

      You are welcome

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

    Best explained sir

    • @ChiragBhalodia
      @ChiragBhalodia  Před 2 lety

      Thank you so much....Keep watching...
      Please share with others and subscribe my channel....

    • @ChiragBhalodia
      @ChiragBhalodia  Před 2 lety

      Follow my blog: www.chiragbhalodia.com/2021/10/hill-cipher.html

  • @ishstar9493
    @ishstar9493 Před 2 měsíci +1

    how can we encrypt if the key of hill cipher is not a square matrix like plaintext="alphabets" and key="cryptography"

    • @ChiragBhalodia
      @ChiragBhalodia  Před 2 měsíci

      You have to given alphabets put in a 3x3 matrix and put a value infornt of character.
      Please share with others...
      Please subscribe my channel...
      Please follow my blog: chiragbhalodia.com

  • @appugirl
    @appugirl Před 5 měsíci +2

    Thank you so much sir 🙏❤

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

      You are welcome....
      Please share with others...
      Please subscribe my channel...
      Please follow my blog: chiragbhalodia.com

  • @kibogolyrics737
    @kibogolyrics737 Před 2 lety +2

    almost this is a great task but if possible you may explain this for us the transposition techniques with examples

    • @ChiragBhalodia
      @ChiragBhalodia  Před 2 lety

      Thanx.... Please share this video with others....Subscribe my channel...
      Watch this video for columnar transposition technique: czcams.com/video/ymhELvEbLwE/video.html

    • @ChiragBhalodia
      @ChiragBhalodia  Před 2 lety

      Follow my blog: www.chiragbhalodia.com/2021/10/hill-cipher.html

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

    Hey what to do if there's whitespaces in the plain text?

    • @ChiragBhalodia
      @ChiragBhalodia  Před rokem

      If there is white space in plain text, you can cosider the value of white space and then you can calculate....

  • @MuhammadAhmad-ic6ey
    @MuhammadAhmad-ic6ey Před 3 lety +3

    understand able👍

    • @ChiragBhalodia
      @ChiragBhalodia  Před 3 lety

      Great 👍... Share with others......Subscribe my channel...
      Follow my blog for more content : edu-resources1.blogspot.com/

    • @ChiragBhalodia
      @ChiragBhalodia  Před 2 lety

      Follow my blog: www.chiragbhalodia.com/2021/10/hill-cipher.html

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

    thanks sir, the cipher of 2*2 matrix of SUNDAY IS=SEHWUS and 3*3 MATRIX IS = ECIEFV

    • @ChiragBhalodia
      @ChiragBhalodia  Před 2 lety +1

      Answer is wrong... Please try again and put comment here...
      Please share this video with others and subscribe my chhanel...

    • @ChiragBhalodia
      @ChiragBhalodia  Před 2 lety

      Follow my blog: www.chiragbhalodia.com/2021/10/hill-cipher.html

    • @sorahprince8659
      @sorahprince8659 Před rokem +2

      SEJZUS

    • @ChiragBhalodia
      @ChiragBhalodia  Před rokem

      true

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

    Are the answers SEJZUS for 1 and FEMEFV for 2?

    • @ChiragBhalodia
      @ChiragBhalodia  Před 2 lety +2

      Yes....Your answer is absolutely right....
      Please share this video with others.....Subscribe my channel....

    • @alexliu5979
      @alexliu5979 Před 2 lety +2

      @@ChiragBhalodia thank you so much and I will be subscribing to your channel 🥰

    • @ChiragBhalodia
      @ChiragBhalodia  Před 2 lety +1

      Follow my blog: www.chiragbhalodia.com/2021/10/hill-cipher.html

  • @aynurliyeva8945
    @aynurliyeva8945 Před 2 lety +2

    what if the plain text is 5 letters? (in 2x2 matrix)

    • @ChiragBhalodia
      @ChiragBhalodia  Před 2 lety +1

      You can add letter "Z" to make a pair with last character...
      Please share this video with others and subscribe my channel...

    • @ChiragBhalodia
      @ChiragBhalodia  Před 2 lety +1

      Follow my blog: www.chiragbhalodia.com/2021/10/hill-cipher.html

    • @monishlal
      @monishlal Před rokem +2

      @@ChiragBhalodia what if 7letters and given matrix is 3x3 ??? Pls reply sir

    • @ChiragBhalodia
      @ChiragBhalodia  Před rokem

      You can add ZZ as last two characters...

  • @azadershewi3851
    @azadershewi3851 Před 2 lety +2

    SEJZUS right?

    • @ChiragBhalodia
      @ChiragBhalodia  Před 2 lety

      Correct....!!! Also try 2nd Example...
      Please share this video with your friends... Subscribe my channel....

    • @ChiragBhalodia
      @ChiragBhalodia  Před 2 lety

      Follow my blog: www.chiragbhalodia.com/2021/10/hill-cipher.html

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

    please share the PPT Slide link also

    • @ChiragBhalodia
      @ChiragBhalodia  Před 3 lety

      i can't share ppts but I will put content at my blog. Follow my blog: edu-resources1.blogspot.com/

    • @ChiragBhalodia
      @ChiragBhalodia  Před 2 lety

      Follow my blog: www.chiragbhalodia.com/2021/10/hill-cipher.html

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

    Oke

  • @Vignesh0307
    @Vignesh0307 Před rokem +1

    One help

  • @hanadialsheyab1381
    @hanadialsheyab1381 Před rokem +1

    Ex 1 ( SEJZUS)
    Ex2 ( FEMEFV)

    • @ChiragBhalodia
      @ChiragBhalodia  Před rokem

      True...!!!
      Please share with others...
      Please subscribe to my channel...
      Please follow my blog: www.chiragbhalodia.com/p/network-security.html

  • @Vignesh0307
    @Vignesh0307 Před rokem +1

    Hii sir

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

    nice information...
    Let's visit & support each other .. thank you

    • @ChiragBhalodia
      @ChiragBhalodia  Před 3 lety

      Sure 👍...subscribe my channel and share with others.

    • @ChiragBhalodia
      @ChiragBhalodia  Před 2 lety

      Follow my blog: www.chiragbhalodia.com/2021/10/hill-cipher.html

  • @Vignesh0307
    @Vignesh0307 Před rokem +1

    Plain text : pay

    • @Vignesh0307
      @Vignesh0307 Před rokem +1

      3*3 encryption and decryption value answer video potunga sir

    • @Vignesh0307
      @Vignesh0307 Před rokem +1

      Please

    • @Vignesh0307
      @Vignesh0307 Před rokem +1

      17 17 5
      21 18 21
      2 2 19

    • @Vignesh0307
      @Vignesh0307 Před rokem

      Intha value ku video potunga sir

    • @ChiragBhalodia
      @ChiragBhalodia  Před rokem

      Encyption is easy as per video.... but I cannot make a video of decryption because it takes much time in calculation due to inverse matrix calculation.

  • @shubhmusic340
    @shubhmusic340 Před 2 lety +1

    IS THE ANSWER SEHWXW

    • @ChiragBhalodia
      @ChiragBhalodia  Před 2 lety

      Fow which exercise 1 or 2????? By the way your answer is wrong for both exercises... Try again tell me in comment. If again wrong I will give you the final answer with solution.

    • @alexliu5979
      @alexliu5979 Před 2 lety +1

      It’s SEJZUS for exercise 1 and FEMEFV for exercise 2

    • @ChiragBhalodia
      @ChiragBhalodia  Před 2 lety

      Yes....Your answer is absolutely right....

    • @ChiragBhalodia
      @ChiragBhalodia  Před 2 lety

      Follow my blog: www.chiragbhalodia.com/2021/10/hill-cipher.html