1.

What will be the ciphered text corresponding to “SANFOUNDRY” if bifid cipher is used for encryption with key as “KEY” with period as 5?(a) SBPISZTKZH(b) PLNSOWGKQM(c) SELFQEXBHM(d) YFSGWNFBWThis question was posed to me in an interview for internship.The doubt is from Cryptography in portion Cryptography of Data Structures & Algorithms II

Answer»

The correct choice is (b) PLNSOWGKQM

Easy explanation - For ENCRYPTING the plain text using BIFID CIPHER we first form the polybius SQUARE with the help of given key. After this, the plain text is divided into blocks of length 5 and CORRESPONDING coordinates are noted. So the corresponding cipher text would be “PLNSOWGKQM”.



Discussion

No Comment Found

Related InterviewSolutions