The encryption function for the affine cipher is given by:
\[ y = (m x + b) \mod n \]
where \( x \) is the plaintext letter's numeric value, \( y \) is the ciphertext letter's numeric value, \( m \) and \( b \) are keys of the cipher, and \( n \) is the size of
Show more…