KeyExchangeDiffieHellmanGroupSha1
Represents "diffie-hellman-group1-sha1" algorithm implementation.
using Renci.SshNet.Abstractions;
namespace Renci.SshNet.Security
{
internal abstract class KeyExchangeDiffieHellmanGroupSha1 : KeyExchangeDiffieHellmanGroupShaBase
{
protected override int HashSize => 160;
protected override byte[] Hash(byte[] hashData)
{
return CryptoAbstraction.HashSHA1(hashData);
}
}
}