Tools for decoding XOR encryption