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

(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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!