How to solve this problem?

Revision en1, by angelg, 2015-10-07 22:10:37

Let's suppose you have an array A of numbers (0-255). Then, you pick a single variable K (0-255), and you create another array B. Where Bi = Ai ^ K. Is there a way to restore the original array A? If you are not giving A or K.

Tags xor, bitwise, bitmasking

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English angelg 2015-10-07 22:10:37 255 Initial revision (published)