I have a question to decipher an affine cipher. The cipher text is RBYDKLQTSLQJBYN and I am told that E(A)=L and E(O) = B.
L -> 12
B -> 2
A -> 1
O -> 15
So basically I set up two equations in Z26:
I take the top and subtact the bottom:
Now my problem is I cannot find the inverse of 12 in Z26 because they are not relatively prime. I am not sure how to proceed from this point? Can someone point me in right direction? I've tried subtracting the equations in the reverse order, but run into the same relatively prime issue.