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?
Relationship between XOR and "AND"
0
$\begingroup$
logic
computer-science
-
0I know there is a shortcut because I saw it before but I forgot how it was??? :) – 2012-04-21
-
0Xor is associative : if + denote the xor operation, (a + b) + c = a + (b + c). – 2012-04-21
-
0The tags don't fit the question at all. – 2012-04-21
-
0Is 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