C# Class Ampere.Murmur

Datei anzeigen Open project: MikePopoloski/ampere

Public Methods

Method Description
Hash ( Stream stream, uint seed ) : Key128
Hash ( string input, uint seed ) : int

Private Methods

Method Description
fmix ( uint h ) : uint
rotl32 ( uint x, byte r ) : uint

Method Details

Hash() public static method

public static Hash ( Stream stream, uint seed ) : Key128
stream Stream
seed uint
return Key128

Hash() public static method

public static Hash ( string input, uint seed ) : int
input string
seed uint
return int