Question: Write a function to decrypt a message that was encrypted using the Affine cipher The input parameters to the function will be the ciphertext, the
Write a function to decrypt a message that was encrypted using the Affine cipher The input parameters to the function will be the ciphertext, the keys a and b that were used to encode the message and the modulus m. This function should get the modular inverse of a by calling the function above and then compute the plaintext message. Test your function with the examples above
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
