![]() |
VOOZH | about |
Requires NuGet 4.0 or higher.
dotnet add package NSec.Cryptography --version 26.4.0
NuGet\Install-Package NSec.Cryptography -Version 26.4.0
<PackageReference Include="NSec.Cryptography" Version="26.4.0" />
<PackageVersion Include="NSec.Cryptography" Version="26.4.0" />Directory.Packages.props
<PackageReference Include="NSec.Cryptography" />Project file
paket add NSec.Cryptography --version 26.4.0
#r "nuget: NSec.Cryptography, 26.4.0"
#:package NSec.Cryptography@26.4.0
#addin nuget:?package=NSec.Cryptography&version=26.4.0Install as a Cake Addin
#tool nuget:?package=NSec.Cryptography&version=26.4.0Install as a Cake Tool
NSec is a cryptographic library for .NET based on libsodium. It aims to be easy to use, secure by default, fast, and agile.
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.
| Class | Algorithms |
|---|---|
| AeadAlgorithm Class | AEGIS-128L |
| AEGIS-256 | |
| AES256-GCM | |
| ChaCha20-Poly1305 | |
| XChaCha20-Poly1305 | |
| HashAlgorithm Class | BLAKE2b (unkeyed) |
| SHA-256 | |
| SHA-512 | |
| SHA3-256 | |
| SHA3-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.
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 | net9.0 net9.0 is compatible. 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-ios18.0 net9.0-ios18.0 is compatible. net9.0-maccatalyst net9.0-maccatalyst was computed. net9.0-maccatalyst18.0 net9.0-maccatalyst18.0 is compatible. net9.0-macos net9.0-macos was computed. net9.0-tvos net9.0-tvos was computed. net9.0-tvos18.0 net9.0-tvos18.0 is compatible. net9.0-windows net9.0-windows was computed. net10.0 net10.0 was computed. 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 5 NuGet packages that depend on NSec.Cryptography:
| Package | Downloads |
|---|---|
|
CryptoExchange.Net
CryptoExchange.Net is a base library which is used to implement different cryptocurrency (exchange) API's. It provides a standardized way of implementing different API's, which results in a very similar experience for users of the API implementations. |
|
|
Fido2
FIDO2 .NET library (WebAuthn) |
|
|
Pulsar.Client
.NET client library for Apache Pulsar |
|
|
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). |
|
|
ApiSharp
Base for Rest Api, Websocket Api, Tcp Socket Api Wrappers |
Showing the top 13 popular GitHub repositories that depend on NSec.Cryptography:
| Repository | Stars |
|---|---|
|
LykosAI/StabilityMatrix
Multi-Platform Package Manager for Stable Diffusion
|
|
|
openclaw/openclaw-windows-node
Windows companion suite for OpenClaw - System Tray app, Shared library, Node, and PowerToys Command Palette extension
|
|
|
passwordless-lib/fido2-net-lib
Passkeys, FIDO2 and WebAuhtn .NET library.
|
|
|
JKorf/CryptoExchange.Net
A C# .netstandard base library used for implementing cryptocurrency exchange API's.
|
|
|
Spreads/Spreads
Series and Panels for Real-time and Exploratory Analysis of Data Streams
|
|
|
securefolderfs-community/SecureFolderFS
Powerful, secure, modern way to keep your files protected.
|
|
|
Krypton-Suite/Extended-Toolkit
A companion toolkit for the standard toolkit.
|
|
|
timokoessler/2FAGuard
A modern and secure Windows app for managing your 2FA authentication codes.
|
|
|
RedpointGames/uet
UET (Unreal Engine Tool) makes building and testing Unreal Engine projects and plugins easy. It can distribute builds with BuildGraph, remotely execute automation tests on device and across multiple machines, handles fault tolerance and automatic retries and generally makes the whole experience of automating Unreal Engine a lot more pleasant.
|
|
|
netclaw-dev/netclaw
Simple, secure, reliable agents. Self-hosted. Open source. Built with .NET.
|
|
|
elucidsoft/dotnet-stellar-sdk
Stellar API SDK for .NET 6.x
|
|
|
saucecontrol/Blake2Fast
Optimized BLAKE2 hashing implementations in C#
|
|
|
bizanc/Bizanc.io.Core
Bizanc Blockchain
|
| Version | Downloads | Last Updated |
|---|---|---|
| 26.4.0 | 74,058 | 4/30/2026 |
| 26.1.0-preview.1 | 18,478 | 1/6/2026 |
| 25.4.0 | 1,608,339 | 4/26/2025 |
| 25.3.0-preview.4 | 1,034 | 3/30/2025 |
| 25.2.0-preview.3 | 1,237 | 2/1/2025 |
| 24.9.0-preview.2 | 1,259 | 9/8/2024 |
| 24.5.0-preview.1 | 1,245 | 5/4/2024 |
| 24.4.0 | 2,141,115 | 4/27/2024 |
| 23.9.0-preview.3 | 46,618 | 9/24/2023 |
| 23.6.0-preview.2 | 4,088 | 6/17/2023 |
| 23.5.0-preview.1 | 7,544 | 5/14/2023 |
| 22.4.0 | 5,998,983 | 4/30/2022 |
| 22.4.0-preview3 | 1,208 | 4/3/2022 |
| 21.11.0-preview2 | 2,358 | 11/13/2021 |
| 20.11.0-preview1 | 19,870 | 11/14/2020 |
| 20.2.0 | 2,197,326 | 3/1/2020 |
| 20.1.0-preview2 | 1,680 | 1/26/2020 |
| 19.12.0-preview1 | 1,778 | 12/31/2019 |
| 19.5.0 | 619,932 | 5/19/2019 |
| 19.4.0-preview2 | 6,189 | 4/13/2019 |