nerdexam
EC-Council

312-50V9 · Question #195

A common cryptographical tool is the use of XOR. XOR the following binary values: 10110001 00111010

The correct answer is A. 10001011. The XOR gate is a digital logic gate that implements an exclusive or; that is, a true output (1/HIGH) results if one, and only one, of the inputs to the gate is true. If both inputs are false (0/LOW) or both are true, a false output results. XOR represents the inequality function

Cryptography

Question

A common cryptographical tool is the use of XOR. XOR the following binary values:

10110001 00111010

Options

  • A10001011
  • B11011000
  • C10011101
  • D10111100

How the community answered

(38 responses)
  • A
    84% (32)
  • B
    8% (3)
  • C
    5% (2)
  • D
    3% (1)

Explanation

The XOR gate is a digital logic gate that implements an exclusive or; that is, a true output (1/HIGH) results if one, and only one, of the inputs to the gate is true. If both inputs are false (0/LOW) or both are true, a false output results. XOR represents the inequality function, i.e., the output is true if the inputs are not alike otherwise the output is false. A way to remember XOR is "one or the other but not both". https://en.wikipedia.org/wiki/XOR_gate

Topics

#XOR#binary operations#bitwise operators#cryptography fundamentals

Community Discussion

No community discussion yet for this question.

Full 312-50V9 Practice