Caesar cipher

Creator
Creator
Seonglae Cho
Created
Created
2024 Apr 3 5:32
Editor
Edited
Edited
2024 Apr 23 6:23
Refs
Refs
Modulo

Classical Cryptography, Substitution Ciphers

  • Substitution cipher
  • Symmetric cyptography
notion image

How to attack

  1. Exhaustive search
  1. Statistical analysis
 
 

Vigenère Cipher

  • Period - length of the key
  • polyalphabetic - key has several different letters
Similar idea to Caesar cipher, but use a phrase
notion image

How to attack

  1. Establish period; call it n
    1. Kasiski examination

      Repetitions in the ciphertext occur when characters of the key appear over the same characters in the plaintext
      notion image

      Index of coincidence (IC)

      • IC=[n(n1)1]0i25[Fi(Fi1)]IC = [n(n-1)^{-1}]\sum_{0\le i\le25}[F_i(F_i - 1)] when FiF_i is the number of times charater ii occurs in ciphertext
      • The probability that two randomly chosen letters from ciphertext will be the same for any character
      • English IC ~ .066
  1. Solve each part, using techniques from breaking Caesar cipher
    1. Decrypting Attack

      heuristic and inference
 
 
 
 
 
 

Recommendations