Question: Alice has a cipher machine whose encryption steps are as follows: Let the message m be represented as a natural number m = a b
Alice has a cipher machine whose encryption steps are as follows:
- Let the message m be represented as a natural number m=abcde... ;
- Add the digits in m to obtain Sm=a+b+c+d+e+ ;
- Then invert the order of the digits in m to obtain m=...edcba ;
- The ciphertext c is given as c=m+2Sm .
Unfortunately due to a hardware error the cipher machine behaves erratically: sometimes it works correctly, sometimes it outputs a random number.
After encryption of her secret number $m$, Alice found out that the result c=2k for some kZ . Is the ciphertext c obtained by Alice a genuine encryption or a random output? Justify
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
