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.
To decrypt the given ciphertext using the columnar transposition cipher with the key word LANCE, we will follow these steps: ### Step 1: Remove duplicate letters from the key word The key word given is LANCE. It does not have any duplicates, so the key word remains LANCE. ### Step 2: Create the table layout The key word "LANCE" has 5 letters, so we will divide the ciphertext into columns based on the number of letters in the key word (5 columns). The length of the ciphertext is 40 characters, so we will have 8 rows (40 / 5 = 8). Ciphertext: HNDWUEOESSRORUTXLARFASUXTINOOGFNEGASTORX ### Step ____ _______ _______ _____ __________ ___ ___ ______.
_______ _________ ________ __________ __________ ________ __________ _____ __________ ________ __________ ____.
_________ _________ _______ _________ ____ ____ ______ __________ ____ ______ _____ _________.
________ ___ ______ __________ ___ _____.
_________ _________ ________ __________ _____ ___ ____ ____ ________ __________ _________ __________.
__________ _____ __________ _____ _______ _______.
___ _________ _____ _________ ___ _______.
___ ___ ________ ________ _______ _________ _______ __________ ______.
____ _______ _____ ___ _________ ______ _______ _____ ______ _________ ______.
_________ ___ _______ _______ _______ __________ ________.
_____ _______ ______ __________ ________ __________ ___ ________ ______.
________ ____ ________ ________ _________ _______ ________ _____ _________.
______ _____ _________ _________ ________ _____ ______ _____ _______.
___ _________ ______ __________ ________ ______ __________ ____ ________ ____ ____.
_________ ______ ______ _______ ________ __________ _____ ______ ______.
__________ _____ ____ _________ __________ __________ ______ _________ _________.
________ ______ _______ _______ __________ ______ ____ ___ ______ _____ _________.
_______ ___ ________ ________ ______ ___ ____ __________ _________ ____ ______ ________.
____ ________ _________ ______ ________ _____ ________ ____ ________ _________.
____ ___ _________ ___ _____ ___ __________.
_________ _______ _______ ________ ___ ______ ____ _________ ______ __________ ___ ______.
__________ ______ ______ _____ ___ ____ ___ ____ _________ _____ _______.
________ ___ _______ ________ _______ ___ ____ ____ _____ __________.
_____ _______ ______ ______ ______ _________ _________ _______ _____ __________ ______ _____.
_____ ______ _________ __________ _______ ________ _________ ___ ____ ______ ____ __________.
_____ ___ ______ ____ _____ _____ __________ ____ ___ ___ _____.
_______ _____ __________ ______ _________ ___ _______ _____ ___.
______ ________ _____ ______ _______ ______ ________ ____ _______ __________ ____ ________.
_____ _______ _________ ________ _________.
__________ _________ _______ ______ _____ _______.
__________ ____ ________ _______ __________ ___ ___ ___.
______ ____ _______ _________ ________ ___ _________ _______ ________ ________ _________ ______.
____ _____ ________ ____ _____ ______ _______ _______ ______ _____ _____ _____.
_________.
Get Full Answer on WhatsApp