Another version of the columnar transposition cipher is the cipher using a key word. In this cipher, we encrypt as follows: Given a key word, we remove all the duplicate characters in the key word. For example, if the key word is ‘SECRET’, we remove the second ‘E’ and use ‘SECRT’ as the key word. To encrypt, we form a table as follows: In the first row, we write down the key word. In the following rows, we write the plaintext. Suppose we want to encrypt the text ‘ATTACKATDAWN’. We make a table as follows:
| S | E | C | R | T |
| A | T | T | A | C |
| K | A | T | D | A |
| W | N | X | X | X |
Then we read off the columns in alphabetical order. We first read the column under ‘C’, followed by the columns under ‘E’, ‘R’, ‘S’ and ‘T’. We get the cipher text TTX TAN ADX AKW CAX. To decrypt, we reverse the process. Note that, since we know the length of the keyword, we can find the length of the columns by dividing the length of the message by the length of the keyword. Given the ciphertext ‘HNDWUEOESSRORUTXLARFASUXTINOOGFNEGASTORX’ and the key word ‘LANCE’, find the plaintext.
____ ____ ______ ______ _____ ________ ______ _________ ______.
__________ _________ ____ _________ _________ _______ _________ _________ ________ _____ ___.
________ __________ _____ __________ _______ _______ ______.
____ ____ _____ ___ ________ ________ _____.
__________ _____ ______ __________ _____ ________.
_________ ____ __________ _________ ____.
____ _____ ____ _________ __________ _____.
____ _____ __________ __________ _______ ______ ____ _________.
___ ________ ______ _____ ___ ___.
_____ ________ ______ _______ ______.
________ ____ _______ ________ ____ ____ ____ _________ ____.
_______ ________ _____ ___ _______ __________ ________ _______ _____ ____ _____ _________.
_____ ____ ______ ___ __________ _____ _____ ______.
_____ ________ ______ __________ ____ _________ ______ ____ ___ ___ _________.
___ ____ ____ ___ _____ ________ ____ _________ ________ _______ _________ __________.
___ ______ _________ ________ _______ ______ _______.
____ ______ _________ __________ ____ ____.
______ ______ ____ _______ ___ _____ _______ ________ ___.
__________ _______ __________ ________ ________ ____ ____ ________ _______ _______ _______ _____.
___ _________ _____ ______ _________ _______ _______ ____ ____ ___ ___.
____ ___ ________ ___ ______ ____ __________ ____ ________ __________.
______ _________ ____ _________ ___ _______ _____ _____ _____ _________ _________.
____ ____ _________ __________ __________.
_________ __________ _______ ____ ____ _________ _________ __________.
____ ________ ________ ________ ________ ___.
_______ __________ _____ ______ __________ _________ ________ _________ _________ __________ _________.
____ _______ __________ _____ ____.
_______ ________ ____ _________ ___ _________ ___ ______ ___ ________ ____.
_____ _______ ____ ____ _____ ______ __________ ________ _________.
__________ ______ _____ __________ _____ ___ _____ ______ ______ _________.
________ _________ _______ __________ _____ _______.
_________ ________ __________ ________ _________.
_______ ________ _________ ______ ________ _____ __________ _______.
______ ______ _____ ________.
- Solved Assignments
- Study Notes
- Guess Papers
- Question Papers
✓ Unlock up to 60% of the answer
✓ No payment required