1.

What is the formula used for decoding the ciphered text using affine cipher(a,b are constants and x is the numerical equivalent of a letter to be encrypted)?(a) a^-1(x-b)%26(b) (ax+b)%26(c) b^-1(x-a)%26(d) b^-1(x-a)I got this question by my college professor while I was bunking the class.My question is based upon Cryptography topic in division Cryptography of Data Structures & Algorithms II

Answer»

The correct option is (a) a^-1(x-b)%26

To EXPLAIN: Affine cipher uses LINEAR ALGEBRA for the purpose of encryption. It uses the formulaa^-1(x-b)%26 for DECRYPTION of ciphered TEXT.



Discussion

No Comment Found

Related InterviewSolutions