Question: A generalization of the Caesar Cipher is the Affine Cipher given by: C = (a.P + b) mod 26 , Where P is the plain
A generalization of the Caesar Cipher is the Affine Cipher given by: C = (a.P + b) mod 26,
Where P is the plain character and C is the cipher character after encryption, a and b are
coefficients. The decryption of the Affine Cipher is given by: P = a-1(C b) mod 26, where a-1is
the inverse of a mod 26. Note that characters are assigned values of A=0 and Z=25.
a) Encrypt HI using the Affine Cipher with a = 7 and b = 5.
b) The cipher ME was obtained after Affine encryption with a = 7 and b = 5. Decrypt it.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
