ISRO Scientist/Engineer CSE 2018Computer Networks › Network Security and Cryptography
ISRO Scientist/Engineer CSE 2018 PYQ: In cryptography, the following uses transposition ciphers and the keyword is LAYER. Encrypt the following…
In cryptography, the following uses transposition ciphers and the keyword is LAYER. Encrypt the following message. (Spaces are omitted during encrypton)
$\text{WELCOME TO NETWORK SECURITY!}$
- A$\text{WMEKREETSILTWETCOOCYONRU!}$
- B$\text{EETSICOOCYWMEKRONRU!LTWET}$Correct answer
- C$\text{LTWETONRU!WMEKRCOOCYEETSI}$
- D$\text{ONRU!COOCYLTWETEETSIWMEKR}$
Answer
(B) $\text{EETSICOOCYWMEKRONRU!LTWET}$
Approach
This is a columnar transposition cipher. The keyword LAYER has 5 distinct letters, so we write the plaintext (spaces removed) row-wise into a 5-column grid, then read columns in the alphabetical order of the keyword letters to produce the ciphertext.
Reviewed by ISRO IQ Editorial Team.