Professional Documents
Culture Documents
Ee793 Assignment 1
Ee793 Assignment 1
Ee793 Assignment 1
DAZFI SFSPA VQLSN PXYSZ WXALC DAFGQ UISMT PHZGA MKTTF TCCFX
KFCRG GLPFE TZMMM ZOZDE ADWVZ WMWKV GQSOH QSVHP WFKLS
LEASE PWHMJ EGKPU RVSXJ XVBWV POSDE TEQTX OBZIK WCXLW
NUOVJ MJCLL OEOFA ZENVM JILOW ZEKAZ EJAQD ILSWW ESGUG
KTZGQ ZVRMN WTQSE OTKTK PBSTA MQVER MJEGL JQRTL GFJYG
SPTZP GTACM OECBX SESCI YGUFP KVILL TWDKS ZODFW FWEAA
PQTFS TQIRG MPMEL RYELH QSVWB AWMOS DELHM UZGPG YEKZU
KWTAM ZJMLS EVJQT GLAWV OVVXH KWQIL IEUYS ZWXAH HUSZO
GMUZQ CIMVZ UVWIF JJHPW VXFSE TZEDF
The first task is estimating the keyword length. Kasiski's method found the
following repeated strings and their positions.
The following table shows the distances and their factors. The most common
factors are 2, 3, 7 and 14. Since the factor 2 is unlikely, we have three estimates
3, 7 and 14. Of these three possible keyword lengths, 14 is the most likely
because it has the highest count.
Factors
Distance 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 1 2
9 0
336 X X X X X X X X X
330 X X X X X X X
294 X X X X X
210 X X X X X X X X
182 X X X X
114 X X X X
112 X X X X X X
98 X X X
57 X X
14 X X
Total 9 6 2 2 5 6 2 0 2 1 1 1 7 2 2 0 0 2 0
The following table has the average of index of coincidence values of each length
(i.e., number of cosets). The highest one is 14 with an average of 0.064378.
Hence, we have strong evidence showing that the keyword length is 14.
Length 1 2 3 4 5
Length 6 7 8 9 10
Length 11 12 13 14 15
Length 16 17 18 19 20
The table below has the smallest χ2 value of each coset and the corresponding
letter:
A 0.556354
M 0.435045
B 0.738187
R 0.589010
O 1.061695
I 0.824027
S 1.322445
E 0.372434
T 1.188328
H 0.981700
O 1.096823
M 2.236836
A 0.726619
S 0.625189