Substitution cipher functional.