simple substitution cipher module