MacDonalds.NSec.Cryptography
24.6.0-preview.2-33826-65
See the version list below for details.
Requires NuGet 4.0 or higher.
dotnet add package MacDonalds.NSec.Cryptography --version 24.6.0-preview.2-33826-65
NuGet\Install-Package MacDonalds.NSec.Cryptography -Version 24.6.0-preview.2-33826-65
<PackageReference Include="MacDonalds.NSec.Cryptography" Version="24.6.0-preview.2-33826-65" />
paket add MacDonalds.NSec.Cryptography --version 24.6.0-preview.2-33826-65
#r "nuget: MacDonalds.NSec.Cryptography, 24.6.0-preview.2-33826-65"
// Install MacDonalds.NSec.Cryptography as a Cake Addin #addin nuget:?package=MacDonalds.NSec.Cryptography&version=24.6.0-preview.2-33826-65&prerelease // Install MacDonalds.NSec.Cryptography as a Cake Tool #tool nuget:?package=MacDonalds.NSec.Cryptography&version=24.6.0-preview.2-33826-65&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-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
-
net8.0
- libsodium-android (>= 1.0.20)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
25.6.0-preview.2-33826-65 | 59 | 6/28/2024 |
24.6.0-preview.2-33826-65 | 51 | 6/26/2024 |
22.4.0 | 125 | 6/28/2024 |