Question: (2) (Known plaintext attack for affine cipher.) Suppose the plaintext starts with if and the corresponding ciphertext is PQ. This means (8,5) > (15,16). This

(2) (Known plaintext attack for affine cipher.) Suppose the plaintext starts with if and the corresponding ciphertext is PQ. This means (8,5) > (15,16). This gives the simultaneous equations 80+ B = 15 (mod 26) 60+ B = 16 (mod 26) Solve this in modular arithmetic to get the keys a = 17,B = 9
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
