Vigenere Cipher Explained (with Example)

Sdílet
Vložit
  • čas přidán 2. 07. 2024
  • In this video I walk through the basics of the Vigenère cipher!
    Link to Python implementation: • Cryptography: Vigenere...
    Link to read more about how to break the vigenere: crypto.interactive-maths.com/...

Komentáře • 28

  • @AladdinPersson
    @AladdinPersson  Před 3 lety +13

    *Update to the video:*
    Several has mentioned an error in the video which is that the dictionary used mapping characters to values is incorrect as A should be mapped to the value 0 and not the value 1, and this is the same for the rest, i.e that they should all be subtracted by 1

    • @donaldtomas7535
      @donaldtomas7535 Před 3 lety

      @Theodore Braxton Definitely, I have been using instaflixxer for since december myself =)

  • @hats5864
    @hats5864 Před 4 lety +10

    Hey man, just want to say thanks for the great explanation. Just got into cryptography and Im loving it. You explained it really well!

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

    You explained this amazingly mate - cheers for that.

  • @alfarrouq9756
    @alfarrouq9756 Před rokem

    Great explanation thank you!

  • @curiousmatt4052
    @curiousmatt4052 Před 8 měsíci

    Great video! Thank u so much)

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

    very good explanation thx buddy

  • @iasontzortzis9472
    @iasontzortzis9472 Před 2 lety

    Great video helped a lot in understanding it :)

  • @jojojihn8761
    @jojojihn8761 Před 3 lety

    Thanks man. Writing an exam about this tomorrow. Helped a Lot

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

    Am I wrong or is E suppose to be 5, not 6?

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

      You're absolutely right, there's a mistake in the video E is supposed to be 5 not 6!

  • @__Jun__
    @__Jun__ Před 3 lety

    What should I do when you subtract the encryption that ends up with 0?
    My grammar sucks, sorry :/

    • @HasanAli-jw7ty
      @HasanAli-jw7ty Před 7 měsíci

      0 is A, the table used is wrong. It should start with 0 for A, 1 for B, and so on.

  • @kateandkonnyinfunfamily3402

    nice video bro.....what is your nationality????

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

    Shouldn't A start at 0 rather than 1?

  • @venkatsaiputtagumpalla4367

    what if sum is 26

  • @Crimin4L
    @Crimin4L Před 3 lety

    I am seeing that the alphabet should start at 0 not 1.

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

    i think you got the spelling of love wrong it was spelt loove

  • @neelsalunke6422
    @neelsalunke6422 Před 3 lety

    Bro this is vernam cipher
    NOt vigenere
    And a starts at 0.

    • @AladdinPersson
      @AladdinPersson  Před 3 lety

      You're right that it should start at 0, but I do think this is in fact the vigenere cipher.
      If you read:
      en.wikipedia.org/wiki/Vigen%C3%A8re_cipher
      www.geeksforgeeks.org/vigenere-cipher/
      This is the method I described in the video, from my understanding the vernam cipher uses an XOR operation similar to One-Time-Pad which this does not.

  • @user-sb9vs5gc4m
    @user-sb9vs5gc4m Před 2 lety

    How did -11 become 15, i need explanation sir

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

      Usually when the number is less than the mod, it's other alternative remainder (or additive inverse mod 26) is negative. Here 15 is congruent to 15 mod 26 since it's less than 26. But the inverse that is -11 is also congruent because 15+11=26, so if you take 11 on the other side it will be negative, as in 15 is congruent to -11 mod 26

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

      @@nyusyadacunha5973
      Can't say how much I'm grateful, thanks that was helpful !

  • @madsyhmi
    @madsyhmi Před 2 lety

    udinn