Any cipher that substitutes a character for another character.