Eos.Cryptography
1.18.11.23
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package Eos.Cryptography --version 1.18.11.23
NuGet\Install-Package Eos.Cryptography -Version 1.18.11.23
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="Eos.Cryptography" Version="1.18.11.23" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Eos.Cryptography --version 1.18.11.23
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Eos.Cryptography, 1.18.11.23"
#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 Eos.Cryptography as a Cake Addin
#addin nuget:?package=Eos.Cryptography&version=1.18.11.23
// Install Eos.Cryptography as a Cake Tool
#tool nuget:?package=Eos.Cryptography&version=1.18.11.23
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
How to use:
Eos.Cryptography:
using System;
namespace CryptographySample
{
using Eos.Cryptography;
class Program
{
static void Main(string[] args)
{
KeyPair keyPair = new KeyPair(KeyTypes.K1);
string pvt = keyPair.PrivateKey.ToString();
string pub = keyPair.PublicKey.ToString();
Console.WriteLine(pvt);
Console.WriteLine(pub);
keyPair = new KeyPair("5KVG5zRbKPRfMttnL9YR1r4BgC3EVwXuLE3k72HtxLCFrbr2J6s");
pvt = keyPair.PrivateKey.ToString();
pub = keyPair.PublicKey.ToString();
Console.WriteLine(pvt);
Console.WriteLine(pub);
string chainId = "038f4b0fc8ff18a4f0842a8f0564611f6e96e8535901dd45e43ac8691a1c4dca";
string packed_trx = "bc9bea5bda2907ca858500000000019028530df99b9d4c000000572d3ccdcd019028530df99b9d4c00000000a8ed3232219028530df99b9d4ca05872f7488db33b01000000000000000242534d000000000000";
string signature = keyPair.SignData(chainId, packed_trx);
bool check = keyPair.VerifySignature(chainId, packed_trx, signature);
Console.WriteLine(signature);
Console.WriteLine($"Is signature right: {check}");
Console.ReadLine();
}
}
}
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 | netcoreapp2.0 was computed. netcoreapp2.1 is compatible. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
.NET Framework | net461 is compatible. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen40 was computed. tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
.NETCoreApp 2.1
- No dependencies.
-
.NETFramework 4.6.1
- No dependencies.
-
.NETStandard 2.0
- No dependencies.
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Eos.Cryptography:
Package | Downloads |
---|---|
Eos.Api
Library for interacting with eos.io nodes. |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
1.18.12.19 | 1,347 | 12/19/2018 |
1.18.12.9 | 821 | 12/9/2018 |
1.18.11.27 | 806 | 11/27/2018 |
1.18.11.26 | 775 | 11/26/2018 |
1.18.11.23 | 652 | 11/23/2018 |
1.18.11.22 | 1,450 | 11/22/2018 |