nerdexam
EC-Council

312-50V11 · Question #768

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

The correct answer is B. 10001011. XOR (exclusive OR) is a bitwise operation that outputs 1 when corresponding bits differ and 0 when they are the same.

Cryptography

Question

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

Options

  • A10011101
  • B10001011
  • C10111100
  • D11011000

How the community answered

(33 responses)
  • A
    9% (3)
  • B
    85% (28)
  • C
    3% (1)
  • D
    3% (1)

Why each option

XOR (exclusive OR) is a bitwise operation that outputs 1 when corresponding bits differ and 0 when they are the same.

A10011101

10011101 results from incorrect XOR calculations at multiple bit positions, particularly positions 3 and 4, where the bits actually cancel to 0.

B10001011Correct

Performing XOR bit-by-bit on 10110001 and 00111010 gives: 1^0=1, 0^0=0, 1^1=0, 1^1=0, 0^1=1, 0^0=0, 0^1=1, 1^0=1, yielding 10001011. This matches choice B and demonstrates the fundamental XOR rule that only differing bits produce a 1.

C10111100

10111100 does not match the correct bit-by-bit XOR result and appears to confuse XOR with OR or AND operations at several positions.

D11011000

11011000 is incorrect and would require flipping multiple bits from the true XOR result, indicating arithmetic errors in the calculation.

Concept tested: Bitwise XOR operation in binary cryptography

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

Topics

#XOR operation#binary arithmetic#symmetric encryption#cryptography basics

Community Discussion

No community discussion yet for this question.

Full 312-50V11 Practice