1.

What will be the ciphered text if the string “HELLO” is given as input to the code of hill cipher with keyword as “SANFOUNDRY”?(a) EZJ(b) JEZ(c) ZEJ(d) JZEThis question was posed to me during a job interview.This intriguing question comes from Cryptography topic in division Cryptography of Data Structures & Algorithms II

Answer»

Correct choice is (d) JZE

To explain: Hill cipher is a type of poly ALPHABETIC substitution. It uses a n x n MATRIX in ORDER to cipher the given plain text. USING this method we find the ciphered text to be JZE.



Discussion

No Comment Found

Related InterviewSolutions