Question: (Known plaintext attack for affine cipher.) Suppose the plaintext starts with if and the corresponding ciphertext is PQ. 'This means (8,5) + > (15, 16).
(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 8a + B = 15 (mod 26) 6& + B = 16 (mod 26) Solve this in modular arithmetic to get the keys
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
