C# Class Runevision.Structures.RandomHash

Inheritance: HashFunction
Show file Open project: mortennobel/A-Study-in-Composition

Public Methods

Method Description
GetHash ( ) : uint
GetHash ( byte buf ) : uint
GetHash ( int buf ) : uint
RandomHash ( int seed ) : System

Private Methods

Method Description
CalcSubHash ( uint value, byte buf, int index ) : uint
CalcSubHash ( uint value, uint read_value ) : uint
RotateLeft ( uint value, int count ) : uint

Method Details

GetHash() public method

public GetHash ( ) : uint
return uint

GetHash() public method

public GetHash ( byte buf ) : uint
buf byte
return uint

GetHash() public method

public GetHash ( int buf ) : uint
buf int
return uint

RandomHash() public method

public RandomHash ( int seed ) : System
seed int
return System