C# Class Enyim.FNV1

Implements an FNV1 hash algorithm.
Inheritance: System.Security.Cryptography.HashAlgorithm, IUIntHashAlgorithm
Afficher le fichier Open project: xianrendzw/LightFramework.Net

Protected Properties

Свойство Type Description
CurrentHashValue uint

Méthodes publiques

Méthode Description
FNV1 ( ) : System

Initializes a new instance of the T:FNV1a class.

Initialize ( ) : void

Initializes an instance of T:FNV1a.

Méthodes protégées

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

Routes data written to the object into the T:FNV1a hash algorithm for computing the hash.

HashFinal ( ) : byte[]

Returns the computed T:FNV1a hash value after all data has been written to the object.

Private Methods

Méthode Description
IUIntHashAlgorithm ( byte data ) : uint

Method Details

FNV1() public méthode

Initializes a new instance of the T:FNV1a class.
public FNV1 ( ) : System
Résultat System

HashCore() protected méthode

Routes data written to the object into the T:FNV1a hash algorithm for computing the hash.
protected HashCore ( byte array, int ibStart, int cbSize ) : void
array byte The input data.
ibStart int The offset into the byte array from which to begin using data.
cbSize int The number of bytes in the array to use as data.
Résultat void

HashFinal() protected méthode

Returns the computed T:FNV1a hash value after all data has been written to the object.
protected HashFinal ( ) : byte[]
Résultat byte[]

Initialize() public méthode

Initializes an instance of T:FNV1a.
public Initialize ( ) : void
Résultat void

Property Details

CurrentHashValue protected_oe property

The current hash value.
protected uint CurrentHashValue
Résultat uint