Monoalphabetic Substitution
Background
The monoalphabetic substitution takes a letter of an alphabet and substitutes it with another letter, this way a ciphertext is generated. The way of converting is fixed. A character of the plaintext will be replaced by the same ciphertext character, during the entire ciphertext. There is no additional key. The only way of security is to keep the substitution-table secret.
A popular example for the monoalphabetic substitution is the caesar cipher.
A popular example for the monoalphabetic substitution is the caesar cipher.
Principle
The first step is to write down the plaintext alphabet. It includes all characters needed for the message. In this example only upper case letters will be used.
ABCDEFGHIJKLMNOPQRSTUVWXYZ
The second step is to build an additional random alphabet:
/QWERTZ*LKJHGFDSAÄÖÜMNBVCX
An A becomes /. B is replaced by Q. C replaced by W, etc.
The word „EXAMPLE“ would be encoded by: „RV/GSHR“.
ABCDEFGHIJKLMNOPQRSTUVWXYZ
The second step is to build an additional random alphabet:
/QWERTZ*LKJHGFDSAÄÖÜMNBVCX
An A becomes /. B is replaced by Q. C replaced by W, etc.
The word „EXAMPLE“ would be encoded by: „RV/GSHR“.
Security
The Monoalphabetic substitution can easily be cracked with a frequency-analysis.
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.