Abram was asked to explain to one of his coworkers the XOR cipher. He showed his coworker an example of adding two bits, 1 and 1. What is the result of this sum?A. 2B. 1C. 0D. 16

Respuesta :

Answer:

The correct option is : c. 0

Explanation:

The XOR Cipher is an encryption technique which involves an operator called the xor operator. The XOR operator is denoted by (⊕).

This cryptographic technique uses key to convert the plain text into the encoded value with the help of XOR multiplication.

Example: 1 + 1 = 0

This value, 0 is encrypted. It is obtained from the plain text, the provided key and the xor operator.

for example:

Plain message :

1011

key to encrypt  Plain message :

1001

The encrypted message is :

1⊕1=0

0⊕0=0

1⊕0=1

1⊕1=0

encrypted message is :

0010

The result of adding two bits 1 and 1 in xor cipher : 1⊕1 =0