C# Класс 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)
Наследование: System.Security.Cryptography.HashAlgorithm
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
Initialize ( ) : void

Initializes an instance of T:TigerHash.

TigerHash ( ) : System

Initializes a new instance of the T:TigerHash class.

Защищенные методы

Метод Описание
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.

Приватные методы

Метод Описание
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

Описание методов

HashCore() защищенный Метод

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.
Результат void

HashFinal() защищенный Метод

Returns the computed T:TigerHash hash value after all data has been written to the object.
protected HashFinal ( ) : byte[]
Результат byte[]

Initialize() публичный Метод

Initializes an instance of T:TigerHash.
public Initialize ( ) : void
Результат void

TigerHash() публичный Метод

Initializes a new instance of the T:TigerHash class.
public TigerHash ( ) : System
Результат System