C# Class AmericasCup.Data.Crc32

Inheritance: System.Security.Cryptography.HashAlgorithm
Afficher le fichier Open project: CircuitPeople/Americas-Cup-Data-Lib

Méthodes publiques

Méthode Description
Compute ( UInt32 polynomial, UInt32 seed, byte buffer ) : UInt32
Compute ( UInt32 seed, byte buffer ) : UInt32
Compute ( byte buffer ) : UInt32
Crc32 ( ) : System
Crc32 ( UInt32 polynomial, UInt32 seed ) : System
Initialize ( ) : void

Méthodes protégées

Méthode Description
HashCore ( byte buffer, int start, int length ) : void
HashFinal ( ) : byte[]

Private Methods

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

Method Details

Compute() public static méthode

public static Compute ( UInt32 polynomial, UInt32 seed, byte buffer ) : UInt32
polynomial System.UInt32
seed System.UInt32
buffer byte
Résultat System.UInt32

Compute() public static méthode

public static Compute ( UInt32 seed, byte buffer ) : UInt32
seed System.UInt32
buffer byte
Résultat System.UInt32

Compute() public static méthode

public static Compute ( byte buffer ) : UInt32
buffer byte
Résultat System.UInt32

Crc32() public méthode

public Crc32 ( ) : System
Résultat System

Crc32() public méthode

public Crc32 ( UInt32 polynomial, UInt32 seed ) : System
polynomial System.UInt32
seed System.UInt32
Résultat System

HashCore() protected méthode

protected HashCore ( byte buffer, int start, int length ) : void
buffer byte
start int
length int
Résultat void

HashFinal() protected méthode

protected HashFinal ( ) : byte[]
Résultat byte[]

Initialize() public méthode

public Initialize ( ) : void
Résultat void