I want to perform an XOR calculation with a different offset to be displayed in the calculation.
Example:
key = [0, 1, 0]
text = ["0", "1", "0", "1", "0", "1", "0", "1", "1", "1"]
XOR calculation:
key[0] ^ text[0] ;
key[1] ^ text[1] ;
key[2] ^ text[2] ;
key[0] ^ text[3] ;
key[1] ^ text[4] ;
key[2] ^ text[5] ;
key[0] ^ text[6] ;
key[1] ^ text[7] ;
key[2] ^ text[8] ;
key[0] ^ text[9] ;
How to do it?
source
share