community
directory
books
authors
images
encyclopedia

Email:
Password:
Register

Knowledgerush Search

 

Google
  Web knowledgerush


Search for images of Affine cipher


Message boards   Post comment

Affine cipher

Affine ciphers is a special case of the more general substitution ciphers.

In affine ciphers the encryption function for a letter is (mod m) where,

  • a and m are relatively prime.
  • a and b are integers between 0 and m.
  • m is the size of the alphabet.

The decryption function is (mod m) where is the inverse of a in the group Zm

This cipher is less secure then 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. As we know a and m are relatively prime this can be used to rapidly discard many "false" keys in an automated system.

See also: Topics in cryptography, affine functions.

Referenced By

Affine | Topics in cryptography

 

Compose Your Message

Your Email Address or Pen Name (optional):
Subject:
Your Message:
 

 

 

 

 

 

This article is licensed under the GNU Free Documentation License. It uses material from the Wikipedia article "Affine cipher".

 

Contact UsPrivacy Statement & Terms of Use

 
Copyright © 1999-2003 Knowledgerush.com. All rights reserved.