/// <summary> /// Computes a 64-bit hash of the specified bytes. /// </summary> /// <param name="dataToHash">The data to hash.</param> /// <returns>The 64-bit hash value.</returns> public static ulong MurmurHash64(byte[] dataToHash) { return(MurmurHash.Get64BitHash(dataToHash)); }
/// <summary> /// Computes a 64-bit hash of the specified string. /// </summary> /// <param name="valueToHash">The string value to hash.</param> /// <returns>The 64-bit hash value.</returns> public static ulong MurmurHash64(string valueToHash) { return(MurmurHash.Get64BitHash(valueToHash)); }