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

KeyExchangeDiffieHellmanGroup1Sha1

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