How would I be able to show that a key $K=(a,b)$ is involutary for an Affine Cipher over the integers modulo n?
Similarly, is there a way to generalize the conditions for a key to be involutary for a substitution cipher?
(Involutary keys are keys for which the encryption function is equal to the decryption function $e_K=d_K$)