Completed XOR encryption