Subscribe

Affine Cipher

Affine cipher maps the characters of your entered text to the alphabet by using the formula f(x) = (a*x + k) mod 26. The formula’s input is the position of a character (x) and the fixed values a and k. To check possible results with different values for a and k you can use the slider at the bottom.