1.

What will be the ciphered text if the plain text “SAN” is encrypted using hill cipher with keyword as “GYBNQKURP”?(a) RAJ(b) JAR(c) ARJ(d) AJRThe question was asked by my school principal while I was bunking the class.The doubt is from Cryptography topic in division Cryptography of Data Structures & Algorithms II

Answer»

Correct choice is (a) RAJ

Easiest explanation - We first CONVERT the KEYWORD and plain text into their corresponding matrix respectively. Then we MULTIPLY those matrix and take MODULO 26 of the resulting matrix to get the CIPHERED text.



Discussion

No Comment Found

Related InterviewSolutions