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

Computes a Hash-based Message Authentication Code (HMAC) by using the MD5 hash function.
Inheritance: System.Security.Cryptography.HMACMD5
Mostra file Open project: sshnet/SSH.NET

Public Methods

Method Description
HMACMD5 ( byte key ) : System.Security.Cryptography

Initializes a HMACMD5 with the specified key.

HMACMD5 ( byte key, int hashSize ) : System.Security.Cryptography

Initializes a HMACSHA1 with the specified key and size of the computed hash code.

Protected Methods

Method Description
HashFinal ( ) : byte[]

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

Method Details

HMACMD5() public method

Initializes a HMACMD5 with the specified key.
public HMACMD5 ( byte key ) : System.Security.Cryptography
key byte The key.
return System.Security.Cryptography

HMACMD5() public method

Initializes a HMACSHA1 with the specified key and size of the computed hash code.
public HMACMD5 ( byte key, int hashSize ) : System.Security.Cryptography
key byte The key.
hashSize int The size, in bits, of the computed hash code.
return System.Security.Cryptography

HashFinal() protected method

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