The affine cipher is still a monoalphabetic substitution cipher .
It inherits the weaknesses of that class of ciphers .
Since the affine cipher is still a monoalphabetic substitution cipher , it inherits the weaknesses of that class of ciphers .