implemented XORShuffle cipher