UGC NET Computer Science July 2018 - II Question 50
Question 50
Encrypt the Message “HELLO MY DEARZ” using Transposition Cipher with
Key
{
Plain Text 2 4 1 3
Cipher Text 1 2 3 4
Options:
(1) HLLEO YM AEDRZ
(2) EHOLL ZYM RAED
(3) ELHL MDOY AZER
(4) ELHL DOMY ZAER
Answer: (3) ELHL MDOY AZER
Explanation Question 50
Given:
In question encryption of given message using Transposition Cipher with
Given message is “HELLO MY DEARZ”
Key - Plain Text -> 2 4 1 3
Key - Cipher Text ->1 2 3 4 Solution:
Step-1: According to key size divide number of character into blocks.
Here, key size is 4. So, character block size is 4. Step-2: Remove the spaces in the given message and write characters in sequential order. Now arrange then in group of 4 as shown in below matrix.
Key
1
2
3
4
H
E
L
L
O
M
Y
D
E
A
R
Z
Step-3: Sort column as per given Plainkey as shown in below matrix.
Given:
In question encryption of given message using Transposition Cipher with Given message is “HELLO MY DEARZ”
Key - Plain Text -> 2 4 1 3
Key - Cipher Text ->1 2 3 4
Solution:
Step-1: According to key size divide number of character into blocks. Here, key size is 4. So, character block size is 4.
Step-2: Remove the spaces in the given message and write characters in sequential order. Now arrange then in group of 4 as shown in below matrix.
Step-3: Sort column as per given Plain key as shown in below matrix.
Read the matrix horizontally one by one row.
Encrypted message will be ELHL MDOY AZER.
So, option (3) is correct.