This is a linear cipher. It allows you to select values for a and b
and enciphers using C = aP+b (mod 26). It then allows you to decipher as well
by solving the linear congruence for P in terms of C and using the resulting coefficients a' and b'.


Choose the value of a:

Choose the value of b:

Enter plain text to be encrypted below: