C# Class BattleNET.CRC32

Inheritance: System.Security.Cryptography.HashAlgorithm
Show file Open project: marceldev89/BattleNET Class Usage Examples

Public Methods

Method Description
CRC32 ( ) : System
CRC32 ( UInt32 polynomial, UInt32 seed ) : System
Compute ( UInt32 polynomial, UInt32 seed, byte buffer ) : UInt32
Compute ( UInt32 seed, byte buffer ) : UInt32
Compute ( byte buffer ) : UInt32
Initialize ( ) : void

Protected Methods

Method Description
HashCore ( byte buffer, int start, int length ) : void
HashFinal ( ) : byte[]

Private Methods

Method Description
CalculateHash ( UInt32 table, UInt32 seed, byte buffer, int start, int size ) : UInt32
InitializeTable ( UInt32 polynomial ) : System.UInt32[]
UInt32ToBigEndianBytes ( UInt32 x ) : byte[]

Method Details

CRC32() public method

public CRC32 ( ) : System
return System

CRC32() public method

public CRC32 ( UInt32 polynomial, UInt32 seed ) : System
polynomial System.UInt32
seed System.UInt32
return System

Compute() public static method

public static Compute ( UInt32 polynomial, UInt32 seed, byte buffer ) : UInt32
polynomial System.UInt32
seed System.UInt32
buffer byte
return System.UInt32

Compute() public static method

public static Compute ( UInt32 seed, byte buffer ) : UInt32
seed System.UInt32
buffer byte
return System.UInt32

Compute() public static method

public static Compute ( byte buffer ) : UInt32
buffer byte
return System.UInt32

HashCore() protected method

protected HashCore ( byte buffer, int start, int length ) : void
buffer byte
start int
length int
return void

HashFinal() protected method

protected HashFinal ( ) : byte[]
return byte[]

Initialize() public final method

public final Initialize ( ) : void
return void