Jump to content

Science:Math Exam Resources/Courses/MATH312/December 2010/Question 06/Statement

From UBC Wiki

Recall that an affine cryptosystem with encryption key KE=(26,a,b) and decryption key KD=(26,c,d) works as follows. Each letter is assigned a numerical value, in alphabetical order:

A0,B1,...,Z25

These numbers are then viewed modulo 26: They are encrypted by the formula

xyax+bmod26

and decrypted by the formula

yxcy+dmod26

It is known that the most frequently occurring letter in the English language is E (with numerical value 4) and the second most frequently occurring letter is T (with numerical value 19). Suppose these letters are encoded as F (numerical value 5) and G (numerical value 6), respectively.

(a) Find the encryption key KE

(b) Find the decryption key KD