How to solve this problem?

Правка en1, от 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.

Теги xor, bitwise, bitmasking

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский angelg 2015-10-07 22:10:37 255 Initial revision (published)