You are on page 1of 6

Keyword Cipher

• A keyword cipher:
is basically a form of monoalphabetic substitution. A keyword is
used to determine the letter mapping from plain to ciphertext.
First, the repeated letters in the keyword are removed, then the
cipher alphabet is generated. For generating cipher alphabet
keyword is matched with A, B, C etc., until all the letters of the
keywords are used up after which the standard alphabetical
letters are used in order, excluding those which are already in the
key.
• First, the alphabet is written out in order. Then a keyword is chosen
and written below it. If a letter appears in the keyword more than once,
only the first instance is used. Now the rest of the alphabet is written
down in alphabetical order, missing out any letters that are already in
the keyword. In the example below, the keyword is “ACTIVITY”. Because
I and T appear more than once, we write it into the grid as ACTIVY. We
then write the alphabet into the grid, leaving out the letters A, C, T, I, V
and Y
Encryption:

keyword: secret

Plaintext: A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
Encrypted: S E C R T A B D F G H I J K L M N O P Q U V W X Y Z
The given message "Zombie Here "ZOMBIE HERE becomes ZLJEFT DTO

You might also like