added seperate decrypt to xor