KeyExchangeDiffieHellmanGroupSha256
Base class for "diffie-hellman" SHA-256 group algorithm implementations.
using Renci.SshNet.Abstractions;
namespace Renci.SshNet.Security
{
internal abstract class KeyExchangeDiffieHellmanGroupSha256 : KeyExchangeDiffieHellmanGroupShaBase
{
protected override int HashSize => 256;
protected override byte[] Hash(byte[] hashData)
{
return CryptoAbstraction.HashSHA256(hashData);
}
}
}