SwiftlyS2

MurmurHash2

Class MurmurHash2

Namespace: SwiftlyS2.Shared.Misc

Assembly: SwiftlyS2.CS2.dll

public static class MurmurHash2

Inheritance

Inherited Members

Methods

Hash(byte[], uint)

Compute MurmurHash2 (32-bit) of a byte array with an optional seed.

public static uint Hash(byte[] data, uint seed = 826366246)
Parameters
Returns

HashString(string, uint)

Convenience method for strings (UTF8).

public static uint HashString(string text, uint seed = 826366246)
Parameters
Returns

HashStringLowercase(string, uint)

Convert a string to lowercase and then hash it.

public static uint HashStringLowercase(string text, uint seed = 826366246)
Parameters
Returns

On this page