i. Secret Key = MORNING
ii. Plaintext = attack cancelled on Monday wait for next message
iii. Considering Y and Z in one cell matrix
iv. The playfair cipher matrix is as follows:
v. Dividing the plain text into blocks:
at ta ck ca nc el le do nm on da yw ai tf or ne xt me sx sa ge (x is added because similar letters cannot be paired)
vi. Using the following rules we form the cipher text-
- If both letters are in the same column, take the letter below each one (going back to the top if at the bottom)
- If both letters are in the same row, take the letter to the right of each one (going back to the left if at the farthest right)
- If neither of the preceding two rules are true, form a rectangle with the two letters and take the letters on the horizontal opposite corner of the rectangle.
Ciphertext: DP PD DJ DB CJ LU UL AI IO RI GB ZX DO PK RN MJ YS GL XN PC EL