Affine cipher Guide, Meaning , Facts, Information and Description
The Affine cipher is a special case of the more general substitution cipher. It is monoalphabetic and symmetric.In affine ciphers the encryption function for a letter is where,
- and are relatively prime (otherwise would have no multiplicative inverse modulo ).
- is the size of the alphabet.
This cipher is less secure than a substitution cipher as it is vulnerable to all of the attacks that work against substitution ciphers as well as other attacks. The cipher's primary weakness comes from the fact that if the cryptanalyst can discover (by means of frequency analysis, brute force, guessing or otherwise) the plaintext of two ciphertext characters then the key can be obtained by solving a simultaneous equations. Since we know and are relatively prime this can be used to rapidly discard many "false" keys in an automated system.
See also: topics in cryptography, affine functions.
This is an Article on Affine cipher. Page Contains Information, Facts Details or Explanation Guide About Affine cipher
