In Codebusters, the Affine cipher encrypts a letter with value x using the formula E(x) = (ax + b) mod 26. What constraint must 'a' satisfy?
-
A
'a' must be a prime number
-
B
'a' must be coprime to 26 (gcd(a,26) = 1)
-
C
'a' must be an even number
-
D
'a' must be less than 13