HMACSHA256
Computes a Hash-based Message Authentication Code (HMAC) by using the HMACSHA256 hash function.
namespace SshNet.Security.Cryptography
{
public class HMACSHA256 : HMAC
{
protected override int BlockSize => 64;
public HMACSHA256(byte[] key)
: base(new SHA256HashProvider(), key)
{
}
public HMACSHA256(byte[] key, int hashSize)
: base(new SHA256HashProvider(), key, hashSize)
{
}
}
}