C# Class DamienG.Security.Cryptography.Elf32

Implements a 32-bit ELF hash algorithm compatible with ELF binary format.
Inheritance: System.Security.Cryptography.HashAlgorithm
Afficher le fichier Open project: damieng/DamienGKit

Méthodes publiques

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

Méthodes protégées

Méthode Description
HashCore ( byte array, int ibStart, int cbSize ) : void
HashFinal ( ) : byte[]

Private Methods

Méthode Description
CalculateHash ( UInt32 seed, IList buffer, int start, int size ) : UInt32
UInt32ToBigEndianBytes ( UInt32 uint32 ) : 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 ( byte buffer ) : UInt32
buffer byte
Résultat System.UInt32

Elf32() public méthode

public Elf32 ( ) : System
Résultat System

HashCore() protected méthode

protected HashCore ( byte array, int ibStart, int cbSize ) : void
array byte
ibStart int
cbSize int
Résultat void

HashFinal() protected méthode

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

Initialize() public méthode

public Initialize ( ) : void
Résultat void