<PackageReference Include="SshNet.Security.Cryptography" Version="1.3.0" />

HMACSHA256

public class HMACSHA256 : HMAC
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) { } } }