0
$\begingroup$

I want to XOR the password (0x3d), byte by byte, with 0x42, then 0x51, then 0xF7, then 0x6F. this would give me 0xb6..... But, Is there a shortcut to this operation?

  • 0
    I know there is a shortcut because I saw it before but I forgot how it was??? :)2012-04-21
  • 0
    Xor is associative : if + denote the xor operation, (a + b) + c = a + (b + c).2012-04-21
  • 0
    The tags don't fit the question at all.2012-04-21
  • 0
    Is there a reason why you mentioned AND in the title?2012-04-21
  • 0
    @FernandoMartin — It was firstly “number-theory elementary-number-theory algebraic-number-theory”, and I retagged it as “algebra-precalculus” because it is only symbol manipulation. I'm not sure “logic computer-science” is much better. There should be a tag “elementary-maths”.2012-04-21

2 Answers 2