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

System.Security.Cryptography.KeyedHashAlgorithm

public abstract class KeyedHashAlgorithm : HashAlgorithm
Represents the abstract class from which all implementations of keyed hash algorithms must derive.
public virtual byte[] Key { get; set; }

Gets or sets the key to use in the hash algorithm.

protected KeyedHashAlgorithm()