Murmur3Hash128

Namespace: SnowBank.IO.Hashing · class

Computes a 128-bit "Murmur3" hash

Remarks

IMPORTANT: This hash is NOT cryptographic! It can leak information about the hashed data, and must therefore not be used publicly in a data-protection scenario! (you should rather use SHA or HMAC for that kind of thing)

Methods

Continue

static Guid Continue(uint seed, byte[] bytes)

static Guid Continue(uint seed, Slice bytes)

static Guid Continue(uint seed, ReadOnlySpan<byte> bytes)

ContinueUnsafe

static Guid ContinueUnsafe(uint seed, Void* bytes, int count)

FromBytes

static Guid FromBytes(byte[] bytes)

static Guid FromBytes(Slice bytes)

static Guid FromBytes(ReadOnlySpan<byte> bytes)

FromBytesUnsafe

static Guid FromBytesUnsafe(uint seed, Byte* bytes, int count)

FromGuid

static Guid FromGuid(Guid value)