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

MD5 algorithm implementation
Inheritance: System.Security.Cryptography.HashAlgorithm
Exibir arquivo Open project: ElanHasson/SSIS-Extensions Class Usage Examples

Public Methods

Method Description
Initialize ( ) : void

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

MD5Hash ( ) : System

Initializes a new instance of the MD5Hash class.

Protected Methods

Method 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

Method Description
F ( int u, int v, int w ) : int
G ( int u, int v, int w ) : int
H ( int u, int v, int w ) : int
InternalInitialize ( ) : void
K ( int u, int v, int w ) : int
ProcessBlock ( ) : void
ProcessWord ( byte input, int inOff ) : void
RotateLeft ( int x, int n ) : int
UnpackWord ( int word, byte outBytes, int outOff ) : void
Update ( byte input ) : void

Method Details

HashCore() protected method

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.
return void

HashFinal() protected method

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

Initialize() public method

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

MD5Hash() public method

Initializes a new instance of the MD5Hash class.
public MD5Hash ( ) : System
return System