nerdexam
EC-Council

312-50V9 · Question #370

XOR is a common cryptographic tool. 10110001 XOR 00111010 is?

The correct answer is D. 10001011. XOR (exclusive OR) produces a 1 when the corresponding bits differ and a 0 when they are the same, yielding 10001011 for the given operands.

Cryptography

Question

XOR is a common cryptographic tool. 10110001 XOR 00111010 is?

Options

  • A10111100
  • B11011000
  • C10011101
  • D10001011

How the community answered

(30 responses)
  • A
    3% (1)
  • B
    7% (2)
  • C
    10% (3)
  • D
    80% (24)

Why each option

XOR (exclusive OR) produces a 1 when the corresponding bits differ and a 0 when they are the same, yielding 10001011 for the given operands.

A10111100

10111100 is an incorrect result that does not match a correct bitwise XOR of the two operands.

B11011000

11011000 is an incorrect result that does not match a correct bitwise XOR of the two operands.

C10011101

10011101 is an incorrect result that does not match a correct bitwise XOR of the two operands.

D10001011Correct

Performing bitwise XOR on 10110001 and 00111010 produces 10001011. Bit by bit: 1^0=1, 0^0=0, 1^1=0, 1^1=0, 0^1=1, 0^0=0, 0^1=1, 1^0=1, which equals 10001011. XOR is foundational in symmetric cryptography because applying the same key twice recovers the original plaintext.

Concept tested: Bitwise XOR operation in cryptography

Source: https://csrc.nist.gov/glossary/term/exclusive_or

Topics

#XOR operation#binary arithmetic#symmetric encryption#cryptographic primitives

Community Discussion

No community discussion yet for this question.

Full 312-50V9 Practice