C# Class Renci.SshNet.Security.Cryptography.SHA1Hash

SHA1 algorithm implementation
Inheritance: System.Security.Cryptography.HashAlgorithm
Afficher le fichier Open project: ElanHasson/SSIS-Extensions Class Usage Examples

Méthodes publiques

Méthode Description
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.

Méthodes protégées

Méthode Description
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.

Private Methods

Méthode Description
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

Method Details

HashCore() protected méthode

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.
Résultat void

HashFinal() protected méthode

Finalizes the hash computation after the last data is processed by the cryptographic stream object.
protected HashFinal ( ) : byte[]
Résultat byte[]

Initialize() public méthode

Initializes an implementation of the T:System.Security.Cryptography.HashAlgorithm class.
public Initialize ( ) : void
Résultat void

SHA1Hash() public méthode

Initializes a new instance of the SHA1Hash class.
public SHA1Hash ( ) : System.Security.Cryptography
Résultat System.Security.Cryptography