Kasiski Attack

Sdílet
Vložit
  • čas přidán 11. 02. 2016
  • How to use a Kasiski attack to break a polyalphabetic cipher.
    For more cryptography, subscribe to my channel: / @jeffsuzukipolymath

Komentáře • 33

  • @ManishaGeorgina
    @ManishaGeorgina Před 7 lety

    This helped so much, thank you.

  • @unhingedvagabond
    @unhingedvagabond Před 6 lety +3

    Dude, you're a truly genius! Thank you very much :O

  • @TheAwesomeCamo
    @TheAwesomeCamo Před 5 lety

    Great video, very helpful

  • @w.m.4077
    @w.m.4077 Před 6 lety

    Very helpful, thank you

  • @gabrielbreton8294
    @gabrielbreton8294 Před 6 lety +2

    Thanks a lot ! It help a lot me to write the code the decrypt Vigenere cipher !

  • @NOSHEDMANTIS
    @NOSHEDMANTIS Před 7 lety +3

    Thank you for this concise and clear video - you taught me what my University Cryptography lecturer could not

  • @jeffdege4786
    @jeffdege4786 Před rokem

    Kasiski was first to publish this break, but it was used long before him.
    Charles Babbage's notes show him using the Kasiski examination and Kerckhoffs' method as early as the 1820s.

  • @Vaasu97
    @Vaasu97 Před 5 lety +1

    this was fantastic

  • @dergipfelderleere5536
    @dergipfelderleere5536 Před 6 lety +11

    This actually helped me more than the videos in my motherlanguage xD nice work!

  • @pyotrleflegin7255
    @pyotrleflegin7255 Před 7 lety +1

    Sir George Wheatstone broke the polyalphabetic as well, a bit like Liebnitz and Newton both discovering the calculus.

  • @ahmidahmid9303
    @ahmidahmid9303 Před 5 lety

    good . thank you

  • @davicesalu2pe2
    @davicesalu2pe2 Před 3 lety

    this is one of the best explanations I've ever seen, thank you so much

  • @JohnSmith-eo5sp
    @JohnSmith-eo5sp Před 3 lety

    0:37 Vigenere Ciphers were used heavily by The South and heavily broken by The North during America's previous Civil War from 1861 to 1865

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

    6:10 Why 6 and not 3 since more numbers in your list are divisible by 3 then 6? I mean i see the point that a keylength of 3 would be short but still possible.

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

      Generally speaking, you want the largest number that divides most. Unfortunately, that's not a very precise specification, which is where the "art of the Kasiski attack" comes into play.
      (The good news is that if the key length was 3, then using 6 would still work)

  • @maissamaissa1599
    @maissamaissa1599 Před 3 lety

    What if we have only one occurrence of the trigram, what should be the distance ???? Please help

    • @JeffSuzukiPolymath
      @JeffSuzukiPolymath  Před 3 lety

      With just one appearance of a trigram, you won't be able to use it. You need at least two.

  • @afaqmnsr0
    @afaqmnsr0 Před rokem

    At 7:13 , what is this E? where did it come from. Was following the video nicely but lost it at this point.

    • @mikeb3717
      @mikeb3717 Před 9 měsíci

      E is the most common letter in English texts, so it's the easiest assumption. E - 11.1607%.

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

    First keyword was C since E --> G
    But in the second case E-->W and how do you came to S?

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

      Iin the first row we have the normal alphabet and in the second, one swifted so that E matches W you can see that A matches S
      abcdefghijklmnopqrstuvwxyz
      stuvwxyzabcdefghijklmnopqr

    • @alejandracaceres4683
      @alejandracaceres4683 Před rokem

      Would u mind telling me how did he get E? where does it como from? Ik it's a shift of 2, but why?

    • @pipoypipoy7796
      @pipoypipoy7796 Před rokem +2

      @@alejandracaceres4683 because in most English texts, E is the most common letter. He assumed that all the Gs in the cipher text were originally E in the plain text since G is the most common letter in the cipher text.

    • @alejandracaceres4683
      @alejandracaceres4683 Před rokem

      @@pipoypipoy7796 thank you :)

    • @mikeb3717
      @mikeb3717 Před 9 měsíci

      E is the 5th letter, W is the 23rd, so the difference is +18. Starting from A (1), simply because it's the first letter, if we go 18 spaces forward then we are looking at S (19)

  • @jasinahameedpk6807
    @jasinahameedpk6807 Před 4 lety

    all that numbers are divisible by 3

    • @dikesh4478
      @dikesh4478 Před 4 lety

      you should take the bigger number as possible.

  • @vishavjeetsingh7862
    @vishavjeetsingh7862 Před 5 lety +1

    Why are you saying 5 A,F,Ws What we care about is the frequency in a column, not whole text

    • @JeffSuzukiPolymath
      @JeffSuzukiPolymath  Před 5 lety

      Once we've found (or think we've found) the key length, we can separate the text into subtexts, each with the same shift. So the "5 A, F, W" is a reference to the 5 A, F, Ws in the subtext, not the whole text.

  • @Gamix10
    @Gamix10 Před 3 lety

    This vid helped me more than the German ones