While choosing the value of a and m (m is the no. of alphabets) in affine cipher it must be ensured that?
(a) a and m are prime numbers
(b) a and m are odd numbers
(c) a and m are coprime
(d) a and m are even numbers
This question was posed to me during an interview.
The question is from Cryptography topic in section Cryptography of Data Structures & Algorithms II