We have the following encryption algorithm: XOR with the hex key AB, rotate 5 places to the left, and XOR with the hex key C4.
a. If we start with the bit pattern represented by the hex number 1234, what would the hex number be that represents the encrypted bit pattern?
b. Assume that we have intercepted a message that was encoded using the same algorithm. The encoded message as a hex number was FADE. What was the original message as a hex number?