C# Class BB.Caching.Hashing.Murmur3

Helper functions when using murmur hash.
Datei anzeigen Open project: JesseBuesking/BB.Caching

Public Methods

Method Description
ComputeHash ( byte value ) : byte[]

Computes a byte array representing the murmur hash generated from a byte array.

ComputeHash ( string value ) : byte[]

Computes a byte array representing the murmur hash generated from a string.

ComputeInt ( byte value ) : uint

Computes a uint representing the murmur hash generated from a byte array.

ComputeInt ( string value ) : uint

Computes a uint representing the murmur hash generated from a string.

Method Details

ComputeHash() public static method

Computes a byte array representing the murmur hash generated from a byte array.
public static ComputeHash ( byte value ) : byte[]
value byte /// The value. ///
return byte[]

ComputeHash() public static method

Computes a byte array representing the murmur hash generated from a string.
public static ComputeHash ( string value ) : byte[]
value string /// The value. ///
return byte[]

ComputeInt() public static method

Computes a uint representing the murmur hash generated from a byte array.
public static ComputeInt ( byte value ) : uint
value byte /// The value. ///
return uint

ComputeInt() public static method

Computes a uint representing the murmur hash generated from a string.
public static ComputeInt ( string value ) : uint
value string /// The value. ///
return uint