1.

What will be the ciphered text if the string “SANFOUNDRY” is given as input to the code of playfair cipher with keyword as “SECRET” (assuming j is combined with i)?(a) ZHQAPNPAFR(b) AHQAPNPAFR(c) HAQAPNPAFR(d) QHAAPNPAFRThe question was asked in unit test.My question comes from Cryptography topic in division Cryptography of Data Structures & Algorithms II

Answer»

Correct option is (b) AHQAPNPAFR

Easiest EXPLANATION - For encrypting the plain text using PLAYFAIR cipher we use a 5×5 table that is constructed by using keyword. Then we apply rules for ENCRYPTION in ORDER to get the ciphered text. Table is GIVEN as under-



Discussion

No Comment Found

Related InterviewSolutions