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