<PackageReference Include="SSH.NET" Version="2024.0.0" />

HMACSHA256

public class HMACSHA256 : HMACSHA256
Computes a Hash-based Message Authentication Code (HMAC) by using the SHA256 hash function.
public HMACSHA256(byte[] key)

Initializes a new instance of the HMACSHA256 class with the specified key.

public HMACSHA256(byte[] key, int hashSize)

Initializes a new instance of the HMACSHA256 class with the specified key and size of the computed hash code.