Curve25519.NetCore
1.0.0
dotnet add package Curve25519.NetCore --version 1.0.0
NuGet\Install-Package Curve25519.NetCore -Version 1.0.0
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Curve25519.NetCore" Version="1.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Curve25519.NetCore --version 1.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Curve25519.NetCore, 1.0.0"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Curve25519.NetCore as a Cake Addin #addin nuget:?package=Curve25519.NetCore&version=1.0.0 // Install Curve25519.NetCore as a Cake Tool #tool nuget:?package=Curve25519.NetCore&version=1.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Curve25519.NetCore
An elliptic curve offering 128 bits of security and designed for use with the elliptic curve Diffie–Hellman (ECDH) key agreement scheme. It is one of the fastest ECC curves and is not covered by any known patents.
Install
From a command prompt
dotnet add package Curve25519.NetCore
Install-Package Curve25519.NetCore
You can also search for package via your nuget ui / website:
https://www.nuget.org/packages/Curve25519.NetCore/
Examples
You can find more examples in the github examples project.
var curve25519 = new Curve25519();
var alicePrivate = curve25519.CreateRandomPrivateKey();
var alicePublic = curve25519.GetPublicKey(alicePrivate);
var bobPrivate = curve25519.CreateRandomPrivateKey();
var bobPublic = curve25519.GetPublicKey(bobPrivate);
var aliceShared = curve25519.GetSharedSecret(alicePrivate, bobPublic);
var bobShared = curve25519.GetSharedSecret(bobPrivate, alicePublic);
var equal = aliceShared.SequenceEqual(bobShared);
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
.NET Core | netcoreapp3.1 is compatible. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
.NETCoreApp 3.1
- SecureRandom.NetCore (>= 1.0.0)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Curve25519.NetCore:
Package | Downloads |
---|---|
TorHiddenServiceHelper
Tor Hidden Service Helper - A .NET Core Hosted Service |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
1.0.0 | 3,307 | 8/29/2020 |