1.

What will be the plain text corresponding to ciphered text “rmw ” if an affine cipher is used with key values as a=5, b=10?(a) csk(b) kkr(c) srt(d) msdThis question was posed to me during an interview for a job.Question is taken from Cryptography topic in division Cryptography of Data Structures & Algorithms II

Answer»

Correct option is (c) srt

The BEST EXPLANATION: AFFINE cipher uses linear algebra for the purpose of ENCRYPTION It uses the formula a^-1(x-b)%26 for decryption of ciphered text. So the plain text will be “srt”.



Discussion

No Comment Found

Related InterviewSolutions