nerdexam
EC-Council

312-50V11 · Question #413

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

(44 responses)
  • A
    89% (39)
  • B
    2% (1)
  • C
    7% (3)
  • D
    2% (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 operation#binary arithmetic#cryptographic primitives#bitwise operations

Community Discussion

No community discussion yet for this question.

Full 312-50V11 Practice