NSec.Cryptography
24.9.0-preview.2
Requires NuGet 4.0 or higher.
dotnet add package NSec.Cryptography --version 24.9.0-preview.2
NuGet\Install-Package NSec.Cryptography -Version 24.9.0-preview.2
<PackageReference Include="NSec.Cryptography" Version="24.9.0-preview.2" />
paket add NSec.Cryptography --version 24.9.0-preview.2
#r "nuget: NSec.Cryptography, 24.9.0-preview.2"
// Install NSec.Cryptography as a Cake Addin #addin nuget:?package=NSec.Cryptography&version=24.9.0-preview.2&prerelease // Install NSec.Cryptography as a Cake Tool #tool nuget:?package=NSec.Cryptography&version=24.9.0-preview.2&prerelease
NSec.Cryptography
NSec is a cryptographic library for .NET based on libsodium. It aims to be easy to use, secure by default, fast, and agile.
Getting Started
To get started with NSec, install the package via NuGet:
dotnet add package NSec.Cryptography
For more detailed documentation, usage examples, and API references, please visit the project homepage.
Documentation
Class | Algorithms |
---|---|
AeadAlgorithm Class | AEGIS-128L |
AEGIS-256 | |
AES256-GCM | |
ChaCha20-Poly1305 | |
XChaCha20-Poly1305 | |
HashAlgorithm Class | BLAKE2b (unkeyed) |
SHA-256 | |
SHA-512 | |
KeyAgreementAlgorithm Class | X25519 |
KeyDerivationAlgorithm2 Class | HKDF-SHA-256 |
HKDF-SHA-512 | |
MacAlgorithm Class | BLAKE2b (keyed) |
HMAC-SHA-256 | |
HMAC-SHA-512 | |
PasswordBasedKeyDerivationAlgorithm Class | Argon2id |
scrypt | |
SignatureAlgorithm Class | Ed25519 |
SignatureAlgorithm2 Class | Ed25519ph |
See the API reference for more information.
Supported Platforms
NSec is intended to run on the following platforms. Please note, not all of these platforms have been tested.
-x64 |
-x86 |
-arm64 |
-arm |
|
---|---|---|---|---|
android- |
||||
ios- |
✓ | |||
linux- |
✓ | ✓ | ✓ | |
linux-musl- |
✓ | ✓ | ✓ | |
maccatalyst- |
✓ | ✓ | ||
osx- |
✓ | ✓ | ||
tvos- |
✓ | |||
win- |
✓ | ✓ | ✓ |
See the installation instructions for more information, particularly regarding hardware and software requirements.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-ios17.5 is compatible. net8.0-maccatalyst was computed. net8.0-maccatalyst17.5 is compatible. net8.0-macos was computed. net8.0-tvos was computed. net8.0-tvos17.5 is compatible. net8.0-windows was computed. |
NuGet packages (41)
Showing the top 5 NuGet packages that depend on NSec.Cryptography:
Package | Downloads |
---|---|
Fido2
FIDO2 .NET library (WebAuthn) |
|
Pulsar.Client
.NET client library for Apache Pulsar |
|
HQ
This package contains the full-stack build for HQ.io. |
|
stellar-dotnet-sdk
The .NET Stellar SDK facilitates client integration with the Stellar Horizon API server and submission of Stellar transactions. It has two main uses: querying Horizon and building, signing, and submitting transactions to the Stellar network. |
|
SaxonCS
SaxonCS is a high-performance XSLT 3.0 processor. It conforms with the latest W3C specifications (notably XSLT 3.0, XQuery 3.1, and XPath 3.1). |
GitHub repositories (8)
Showing the top 5 popular GitHub repositories that depend on NSec.Cryptography:
Repository | Stars |
---|---|
LykosAI/StabilityMatrix
Multi-Platform Package Manager for Stable Diffusion
|
|
passwordless-lib/fido2-net-lib
FIDO2 .NET library for FIDO2 / WebAuthn Attestation and Assertion using .NET
|
|
Spreads/Spreads
Series and Panels for Real-time and Exploratory Analysis of Data Streams
|
|
Texnomic/SecureDNS
Secure, Modern, Fully-Featured, All-In-One Cross-Architecture & Cross-Platform DNS Server Using .NET 8.0
|
|
Krypton-Suite/Extended-Toolkit
A companion toolkit for the standard toolkit.
|
Version | Downloads | Last updated |
---|---|---|
24.9.0-preview.2 | 107 | 9/8/2024 |
24.5.0-preview.1 | 440 | 5/4/2024 |
24.4.0 | 208,870 | 4/27/2024 |
23.9.0-preview.3 | 26,228 | 9/24/2023 |
23.6.0-preview.2 | 3,867 | 6/17/2023 |
23.5.0-preview.1 | 5,227 | 5/14/2023 |
22.4.0 | 1,762,405 | 4/30/2022 |
22.4.0-preview3 | 920 | 4/3/2022 |
21.11.0-preview2 | 2,101 | 11/13/2021 |
20.11.0-preview1 | 18,143 | 11/14/2020 |
20.2.0 | 1,553,552 | 3/1/2020 |
20.1.0-preview2 | 1,423 | 1/26/2020 |
19.12.0-preview1 | 1,518 | 12/31/2019 |
19.5.0 | 552,727 | 5/19/2019 |
19.4.0-preview2 | 5,607 | 4/13/2019 |
19.1.0-preview1 | 2,492 | 1/20/2019 |
18.6.0 | 99,980 | 6/12/2018 |
18.5.0-preview3 | 2,431 | 5/8/2018 |
18.4.0-preview2 | 1,548 | 4/12/2018 |
18.2.0-preview1 | 2,438 | 2/28/2018 |