C# Класс Renci.SshNet.Security.Cryptography.SHA1Hash

SHA1 algorithm implementation
Наследование: System.Security.Cryptography.HashAlgorithm
Показать файл Открыть проект Примеры использования класса

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

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

Initializes an implementation of the T:System.Security.Cryptography.HashAlgorithm class.

SHA1Hash ( ) : System.Security.Cryptography

Initializes a new instance of the SHA1Hash class.

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

Метод Описание
HashCore ( byte array, int ibStart, int cbSize ) : void

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

HashFinal ( ) : byte[]

Finalizes the hash computation after the last data is processed by the cryptographic stream object.

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

Метод Описание
BigEndianToUInt32 ( byte bs, int off ) : uint
F ( uint u, uint v, uint w ) : uint
G ( uint u, uint v, uint w ) : uint
H ( uint u, uint v, uint w ) : uint
InternalInitialize ( ) : void
ProcessBlock ( ) : void
ProcessWord ( byte input, int inOff ) : void
UInt32ToBigEndian ( uint n, byte bs, int off ) : void
Update ( byte input ) : void

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

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

Routes data written to the object into the hash algorithm for computing the hash.
protected HashCore ( byte array, int ibStart, int cbSize ) : void
array byte The input to compute the hash code for.
ibStart int The offset into the byte array from which to begin using data.
cbSize int The number of bytes in the byte array to use as data.
Результат void

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

Finalizes the hash computation after the last data is processed by the cryptographic stream object.
protected HashFinal ( ) : byte[]
Результат byte[]

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

Initializes an implementation of the T:System.Security.Cryptography.HashAlgorithm class.
public Initialize ( ) : void
Результат void

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

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