SLIDE 4 4
Cryptanalysis of a Monoalphabetic Cipher
– using letter frequencies in the English language (plaintext character sets)
0.127 0.091 0.082 0.075 0.070 0.067 0.063 0.061 0.060 0.043 0.040 0.028 0.028 0.024 0.023 0.022 0.020 0.020 0.019 0.015 0.010 0.008 0.002 0.001 0.001 0.001
0.000 0.020 0.040 0.060 0.080 0.100 0.120 0.140 E T A O I N S H R D L C UMWF G Y P B V K J Q X Z
Cryptanalysis of Affine Cipher
- Suppose a attacker got the following cipher from an
affine cipher:
– FMXVEDKAPHFERBNDKRXRSREFNORUDSDKDVSHVUFE DKAPRKDLYEVLRHHRH
– Compute the frequency of occurrences of letters
- R: 8, D:7, E,H,K:5, F,S,V: 4
- Guess the letters, solve the equations, decrypt the
cipher, judge correct or not.
– Thus, eK(4)=17, eK(19)=3 – Thus, 4a+b=17 19a+b=3 This gives, a=6, b=19, since gcd (6,26)=2, so incorrect.