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

Renci.SshNet.Security.Chaos.NaCl.Ed25519

static class Ed25519
namespace Renci.SshNet.Security.Chaos.NaCl { internal static class Ed25519 { public static readonly int PublicKeySizeInBytes; public static readonly int SignatureSizeInBytes; public static readonly int ExpandedPrivateKeySizeInBytes; public static readonly int PrivateKeySeedSizeInBytes; public static readonly int SharedKeySizeInBytes; public static bool Verify(ArraySegment<byte> signature, ArraySegment<byte> message, ArraySegment<byte> publicKey); public static bool Verify(byte[] signature, byte[] message, byte[] publicKey); public static void Sign(ArraySegment<byte> signature, ArraySegment<byte> message, ArraySegment<byte> expandedPrivateKey); public static byte[] Sign(byte[] message, byte[] expandedPrivateKey); public static byte[] PublicKeyFromSeed(byte[] privateKeySeed); public static byte[] ExpandedPrivateKeyFromSeed(byte[] privateKeySeed); public static void KeyPairFromSeed(out byte[] publicKey, out byte[] expandedPrivateKey, byte[] privateKeySeed); public static void KeyPairFromSeed(ArraySegment<byte> publicKey, ArraySegment<byte> expandedPrivateKey, ArraySegment<byte> privateKeySeed); public static byte[] KeyExchange(byte[] publicKey, byte[] privateKey); public static void KeyExchange(ArraySegment<byte> sharedKey, ArraySegment<byte> publicKey, ArraySegment<byte> privateKey); } }