1.

What will be the ciphered text if rail fence cipher is used for encrypting the plain text “SANFOUNDRY” with the key value given to be 2?(a) SNONRAFUDY(b) SORAFUDYNN(c) SNAUDNORFY(d) SANFOUNDRYI have been asked this question in an online interview.Question is from Cryptography topic in division Cryptography of Data Structures & Algorithms II

Answer»

The correct OPTION is (a) SNONRAFUDY

For EXPLANATION: For encrypting a plain text using rail FENCE cipher we USE a table having the NUMBER of rows equal to key value as shown below. Then we read along the rows to get the ciphered text.

S

 

N

 

O

 

N

 

R

 

 

A

 

F

 

U

 

D

 

Y

So the ciphered text becomes “SNONRAFUDY”.



Discussion

No Comment Found

Related InterviewSolutions