L. Affine Cipher (4 pts) 11|2|3|4| 5|4|? |-|110-| 11 | 12| 13| 1411 11.6 117 li. Iig |20 |21 |22 |23 |24 |25 The Affine cipher is a simple substitution cipher that is similar to the Caesar cipher. The key' for the Affine cipher consists of 2 numbers, we'll call them a and b. . We assume the use of a 26 character alphabet (m - 26). . a should be chosen to be relatively prime to m (Le.a should have no factors in common with m). . The algorithm for computing t e Affine cipher is: o For each letter in the plaintext Convert the letter to the corresponding number p (see table above). Compute the cipher number using the formula - c ap+ b (mod m) Find the cipher letter in the alphabet that corresponds to the number c. Append the cipher letter to the cipher text you are generating - - a) Practice encrypting with the Affine cipher Given the following plaintext messages, compute the Affine cipher with a - 9 and b-4 (m is 26 since we have an alphabet of 26 letters) Plaintext Ciphertext attackatdawn retreatnow Instructor Initials L. Affine Cipher (4 pts) 11|2|3|4| 5|4|? |-|110-| 11 | 12| 13| 1411 11.6 117 li. Iig |20 |21 |22 |23 |24 |25 The Affine cipher is a simple substitution cipher that is similar to the Caesar cipher. The key' for the Affine cipher consists of 2 numbers, we'll call them a and b. . We assume the use of a 26 character alphabet (m - 26). . a should be chosen to be relatively prime to m (Le.a should have no factors in common with m). . The algorithm for computing t e Affine cipher is: o For each letter in the plaintext Convert the letter to the corresponding number p (see table above). Compute the cipher number using the formula - c ap+ b (mod m) Find the cipher letter in the alphabet that corresponds to the number c. Append the cipher letter to the cipher text you are generating - - a) Practice encrypting with the Affine cipher Given the following plaintext messages, compute the Affine cipher with a - 9 and b-4 (m is 26 since we have an alphabet of 26 letters) Plaintext Ciphertext attackatdawn retreatnow Instructor Initials