A generalization of the Ceaser cipher known as the affine cipher
has the following form: For each plaintext Letter p, substitute the
cipher text Letter C:
C= (k1*P +K2 ) mode 26
A ciphertext has been generated with an affine cipher. The most
frequent letter of the ciphertext is ā€˜F’, and the second most
frequent letter of the ciphertext is ā€˜N’. Break this code.