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

KeyExchangeDiffieHellmanGroup16Sha512

Represents "diffie-hellman-group16-sha512" algorithm implementation.
using Renci.SshNet.Common; namespace Renci.SshNet.Security { internal sealed class KeyExchangeDiffieHellmanGroup16Sha512 : KeyExchangeDiffieHellmanGroupSha512 { private static readonly byte[] MoreModularExponentialGroup16Reversed = new byte[513] { byte.MaxValue, byte.MaxValue, byte.MaxValue, byte.MaxValue, byte.MaxValue, byte.MaxValue, byte.MaxValue, byte.MaxValue, 153, 49, 6, 52, 201, 53, 244, 77, 143, 192, 166, 144, 220, 183, byte.MaxValue, 134, 193, 221, 143, 141, 152, 234, 180, 147, 169, 90, 176, 213, 39, 145, 6, 208, 28, 72, 112, 33, 118, 221, 27, 184, 175, 215, 226, 206, 112, 41, 97, 31, 237, 231, 91, 81, 134, 161, 59, 35, 162, 195, 144, 160, 79, 150, 178, 153, 93, 192, 107, 78, 71, 89, 124, 40, 166, 202, 190, 31, 20, 252, 142, 46, 249, 142, 222, 4, 219, 194, 187, 219, 232, 76, 212, 42, 202, 233, 131, 37, 218, 11, 21, 182, 52, 104, 148, 26, 60, 226, 244, 106, 24, 39, 195, 153, 38, 91, 186, 189, 16, 154, 113, 136, 215, 230, 135, 167, 18, 60, 114, 26, 1, 8, 33, 169, 32, 209, 130, 75, 142, 16, 253, 224, 252, 91, 219, 67, 49, 171, 229, 116, 160, 79, 226, 8, 226, 70, 217, 186, 192, 136, 9, 119, 108, 93, 97, 122, 87, 23, 225, 187, 12, 32, 123, 23, 24, 43, 31, 82, 100, 106, 200, 62, 115, 2, 118, 216, 100, 8, 138, 217, 6, 250, 47, 241, 107, 238, 210, 26, 38, 210, 227, 206, 157, 97, 37, 74, 224, 148, 140, 30, 215, 51, 9, 219, 140, 174, 245, 171, 199, 228, 225, 166, 133, 15, 151, 179, 125, 12, 6, 93, 87, 113, 234, 138, 10, 239, 219, 88, 4, 133, 251, 236, 100, 186, 28, 223, 171, 33, 85, 168, 51, 122, 80, 4, 13, 23, 51, 173, 45, 196, 170, 138, 90, 142, 114, 21, 16, 5, 250, 152, 24, 38, 210, 21, 229, 106, 149, 234, 124, 73, 149, 57, 24, 23, 88, 149, 246, 203, 43, 222, 201, 82, 76, 111, 240, 93, 197, 181, 143, 162, 7, 236, 162, 131, 39, 155, 3, 134, 14, 24, 44, 119, 158, 227, 59, 206, 54, 46, 70, 94, 144, 50, 124, 33, 24, 202, 8, 108, 116, 241, 4, 152, 188, 74, 78, 53, 12, 103, 109, 150, 150, 112, 7, 41, 213, 158, 187, 82, 133, 32, 86, 243, 98, 28, 150, 173, 163, 220, 35, 93, 101, 131, 95, 207, 36, 253, 168, 63, 22, 105, 154, 211, 85, 28, 54, 72, 218, 152, 5, 191, 99, 161, 184, 124, 0, 194, 61, 91, 228, 236, 81, 102, 40, 73, 230, 31, 75, 124, 17, 36, 159, 174, 165, 159, 137, 90, 251, 107, 56, 238, 237, 183, 6, 244, 182, 92, byte.MaxValue, 11, 107, 237, 55, 166, 233, 66, 76, 244, 198, 126, 94, 98, 118, 181, 133, 228, 69, 194, 81, 109, 109, 53, 225, 79, 55, 20, 95, 242, 109, 10, 43, 48, 27, 67, 58, 205, 179, 25, 149, 239, 221, 4, 52, 142, 121, 8, 74, 81, 34, 155, 19, 59, 166, 190, 11, 2, 116, 204, 103, 138, 8, 78, 2, 41, 209, 28, 220, 128, 139, 98, 198, 196, 52, 194, 104, 33, 162, 218, 15, 201, byte.MaxValue, byte.MaxValue, byte.MaxValue, byte.MaxValue, byte.MaxValue, byte.MaxValue, byte.MaxValue, byte.MaxValue, 0 }; public override BigInteger GroupPrime => new BigInteger(MoreModularExponentialGroup16Reversed); public override string Name => "diffie-hellman-group16-sha512"; } }