i have a ciphertext C=TLNJG formed using the equation
c=(7p+11) mod 27
,c equivalent to numerical equivalent character of ciphertext and p the plaintext
how do i get the plaintext back?
for encryption:c=(7p+11) mod 27
for decryption:p=5(c-11) mod 27
let's say i encrypt the letter B(1) I would get
c=(7+11) mod 27
c=18 mod 27=18 (letter S)
but if I do decryption using the decryption equation of the letter S I will get the letter I instead of B.Why?
p=5(18-11) mod 27
p=35 mod 27=8(letter i)