![]() |
VOOZH | about |
dotnet add package Qubic.Crypto --version 1.5.2
NuGet\Install-Package Qubic.Crypto -Version 1.5.2
<PackageReference Include="Qubic.Crypto" Version="1.5.2" />
<PackageVersion Include="Qubic.Crypto" Version="1.5.2" />Directory.Packages.props
<PackageReference Include="Qubic.Crypto" />Project file
paket add Qubic.Crypto --version 1.5.2
#r "nuget: Qubic.Crypto, 1.5.2"
#:package Qubic.Crypto@1.5.2
#addin nuget:?package=Qubic.Crypto&version=1.5.2Install as a Cake Addin
#tool nuget:?package=Qubic.Crypto&version=1.5.2Install as a Cake Tool
Pure C#/.NET implementation of Qubic cryptographic primitives. Zero external dependencies.
Note: This is an early version. APIs may change in future releases.
dotnet add package Qubic.Crypto
using Qubic.Crypto;
var crypto = new QubicCrypt();
// Derive keys from a 55-character seed
string seed = "abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabc";
byte[] privateKey = crypto.GetPrivateKey(seed);
byte[] publicKey = crypto.GetPublicKey(seed);
// Get the 60-character Qubic identity
string identity = crypto.GetIdentityFromPublicKey(publicKey);
// Hash data with KangarooTwelve
byte[] hash = crypto.KangarooTwelve(data);
// Sign and verify
byte[] signed = crypto.Sign(seed, message);
bool valid = crypto.Verify(publicKey, message, signature);
// ECDH shared key
byte[] sharedKey = crypto.GetSharedKey(seed, peerPublicKey);
MIT
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 net8.0 is compatible. net8.0-android net8.0-android was computed. net8.0-browser net8.0-browser was computed. net8.0-ios net8.0-ios was computed. net8.0-maccatalyst net8.0-maccatalyst was computed. net8.0-macos net8.0-macos was computed. net8.0-tvos net8.0-tvos was computed. net8.0-windows net8.0-windows was computed. net9.0 net9.0 was computed. net9.0-android net9.0-android was computed. net9.0-browser net9.0-browser was computed. net9.0-ios net9.0-ios was computed. net9.0-maccatalyst net9.0-maccatalyst was computed. net9.0-macos net9.0-macos was computed. net9.0-tvos net9.0-tvos was computed. net9.0-windows net9.0-windows was computed. net10.0 net10.0 is compatible. net10.0-android net10.0-android was computed. net10.0-browser net10.0-browser was computed. net10.0-ios net10.0-ios was computed. net10.0-maccatalyst net10.0-maccatalyst was computed. net10.0-macos net10.0-macos was computed. net10.0-tvos net10.0-tvos was computed. net10.0-windows net10.0-windows was computed. |
Showing the top 2 NuGet packages that depend on Qubic.Crypto:
| Package | Downloads |
|---|---|
|
Qubic.Core
Core domain models and abstractions for the Qubic network |
|
|
Qubic.Services
High-level services for Qubic applications: backend abstraction, tick monitoring, label service, wallet storage, transaction tracking, and more. |
This package is not used by any popular GitHub repositories.