temp solution for xor key