C# Class Enyim.TigerHash

Implements the Tiger hash. (http://www.cs.technion.ac.il/~biham/Reports/Tiger/) Ported (and cleaned&sped up) from the Tiger.NET VB code. (http://www.hotpixel.net/software.html)
Inheritance: System.Security.Cryptography.HashAlgorithm
Afficher le fichier Open project: xianrendzw/LightFramework.Net Class Usage Examples

Méthodes publiques

Méthode Description
Initialize ( ) : void

Initializes an instance of T:TigerHash.

TigerHash ( ) : System

Initializes a new instance of the T:TigerHash class.

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:TigerHash hash algorithm for computing the hash.

HashFinal ( ) : byte[]

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

Private Methods

Méthode Description
Compress ( ) : void
LongToBytes ( ulong value, byte buffer, int offset ) : void
ProcessBlock ( ) : void
RoundABC ( ulong x, uint mul ) : void
RoundBCA ( ulong x, uint mul ) : void
RoundCAB ( ulong x, uint mul ) : void
Schedule ( ulong x ) : void

Method Details

HashCore() protected méthode

Routes data written to the object into the T:TigerHash 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:TigerHash 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:TigerHash.
public Initialize ( ) : void
Résultat void

TigerHash() public méthode

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