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

KeyExchangeDiffieHellmanGroup14Sha1

Represents "diffie-hellman-group14-sha1" algorithm implementation.
using System; using System.Numerics; namespace Renci.SshNet.Security { internal sealed class KeyExchangeDiffieHellmanGroup14Sha1 : KeyExchangeDiffieHellmanGroupSha1 { private static readonly BigInteger SecondOkleyGroupReversed = new BigInteger(new ReadOnlySpan<byte>(&global::<PrivateImplementationDetails>.06B03ED429C3AF63E607D1710DC09E0D9BCD28AE6FD7E963917192FEEF327A06, 257), false, false); public override string Name => "diffie-hellman-group14-sha1"; public override BigInteger GroupPrime => SecondOkleyGroupReversed; } }