xxHash function.