Sending binary strings

Report a typo

Suppose Alice wants to send Bob an 8-bit binary string m (i.e., the string of length 8, consisting of 0s and 1s). They have previously chosen another 8-bit binary string rr as a key . What operations can possibly serve as an encryption function? Hint: think when Bob can recover the original message without any doubt.

Hint: we apply the operations to the strings symbolwise (we can also say "bitwise", as every 0 or 1 is called a bit). For single-bit xx and yy, x AND y=1x \text{ AND } y = 1 if x=y=1x = y = 1, otherwise it is 0. Also, x OR y=0x \text{ OR } y = 0 if x=y=0x = y = 0 and 1 otherwise. Finally, x XOR y=1x \text{ XOR } y = 1 if xyx \neq y and 0 otherwise.

Select one or more options from the list
___

Create a free account to access the full topic