Kasiski Attack

Поділитися
Вставка
  • Опубліковано 6 жов 2024
  • How to use a Kasiski attack to break a polyalphabetic cipher.
    For more cryptography, subscribe to my channel: / @jeffsuzukipolymath

КОМЕНТАРІ • 33

  • @NOSHEDMANTIS
    @NOSHEDMANTIS 7 років тому +3

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

  • @dergipfelderleere5536
    @dergipfelderleere5536 6 років тому +11

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

  • @unhingedvagabond
    @unhingedvagabond 6 років тому +3

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

  • @gabrielbreton8294
    @gabrielbreton8294 6 років тому +2

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

  • @davicesalu2pe2
    @davicesalu2pe2 3 роки тому

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

  • @jeffdege4786
    @jeffdege4786 2 роки тому

    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 5 років тому +1

    this was fantastic

  • @ManishaGeorgina
    @ManishaGeorgina 7 років тому

    This helped so much, thank you.

  • @TheAwesomeCamo
    @TheAwesomeCamo 5 років тому

    Great video, very helpful

  • @pyotrleflegin7255
    @pyotrleflegin7255 7 років тому +1

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

  • @w.m.4077
    @w.m.4077 7 років тому

    Very helpful, thank you

  • @JohnSmith-eo5sp
    @JohnSmith-eo5sp 3 роки тому

    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

  • @ahmidahmid9303
    @ahmidahmid9303 6 років тому

    good . thank you

  • @matscho1580
    @matscho1580 5 років тому +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  5 років тому +5

      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)

  • @dikesh4478
    @dikesh4478 4 роки тому +1

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

    • @iliasp4275
      @iliasp4275 4 роки тому +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 2 роки тому

      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 Рік тому +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 Рік тому

      @@pipoypipoy7796 thank you :)

    • @mikeb3717
      @mikeb3717 Рік тому

      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)

  • @vishavjeetsingh7862
    @vishavjeetsingh7862 5 років тому +1

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

    • @JeffSuzukiPolymath
      @JeffSuzukiPolymath  5 років тому

      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.

  • @maissamaissa1599
    @maissamaissa1599 3 роки тому

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

    • @JeffSuzukiPolymath
      @JeffSuzukiPolymath  3 роки тому

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

  • @Gamix10
    @Gamix10 3 роки тому

    This vid helped me more than the German ones

  • @afaqmnsr0
    @afaqmnsr0 2 роки тому

    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 Рік тому +1

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

  • @jasinahameedpk6807
    @jasinahameedpk6807 4 роки тому

    all that numbers are divisible by 3

    • @dikesh4478
      @dikesh4478 4 роки тому

      you should take the bigger number as possible.