1.

What is the formula used for encryption of data using affine cipher(a,b are constants and x is the numerical equivalent of a letter to be encrypted)?(a) ax+b(b) (ax+b)%26(c) ax^2+bx(d) (ax^2+bx)%26This question was addressed to me in class test.I need to ask this question from Cryptography in division Cryptography of Data Structures & Algorithms II

Answer»

The correct choice is (b) (ax+b)%26

To explain: AFFINE cipher uses LINEAR algebra for the purpose of ENCRYPTION. It uses the FORMULA (ax+b)%26 for this purpose.



Discussion

No Comment Found

Related InterviewSolutions