Class HMACMD5
- Namespace
- Renci.SshNet.Security.Cryptography
- Assembly
- Renci.SshNet.dll
Computes a Hash-based Message Authentication Code (HMAC) by using the System.Security.Cryptography.MD5 hash function.
public class HMACMD5 : HMACMD5, ICryptoTransform, IDisposable
Inheritance
Implements
Inherited Members
Constructors
HMACMD5(byte[])
Initializes a new instance of the Renci.SshNet.Security.Cryptography.HMACMD5 class with the specified key.
public HMACMD5(byte[] key)
Parameters
key
byte[]-
The key.
HMACMD5(byte[], int)
Initializes a new instance of the Renci.SshNet.Security.Cryptography.HMACMD5 class with the specified key and size of the computed hash code.
public HMACMD5(byte[] key, int hashSize)
Parameters
Properties
HashSize
Gets the size, in bits, of the computed hash code.
public override int HashSize { get; }
Property Value
Methods
HashFinal()
Finalizes the hash computation after the last data is processed by the cryptographic stream object.
protected override byte[] HashFinal()
Returns
- byte[]
-
The computed hash code.