I need a function $f_{n}$ wich for all integer n is an Involution on the integer.
Put in another way I need a function $f_{n}$ so that $f_{n}(f_{n}(x))=x$ for all integer x and n)
ps: And wich is as much as possible is "different" when given different n since this function is supposed to be used with x corresponding to a character to encode and n a corresponding to a character of the key.
A classical example is $f_n(x) = x \oplus n$ where $\oplus$ is the binary XOR.