You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

NSec.Cryptography

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

NSec.Cryptography

Provides modern cryptographic algorithm implementations for .NET based on libsodium. Commonly Used Types: NSec.Cryptography.Aegis256 NSec.Cryptography.Argon2id NSec.Cryptography.Blake2b NSec.Cryptography.Chacha20Poly1305 NSec.Cryptography.Ed25519 NSec.Cryptography.X25519

25.4.0
nugetNuGet
Version published
Maintainers
1
Created
Source

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

ClassAlgorithms
AeadAlgorithm ClassAEGIS-128L
AEGIS-256
AES256-GCM
ChaCha20-Poly1305
XChaCha20-Poly1305
HashAlgorithm ClassBLAKE2b (unkeyed)
SHA-256
SHA-512
KeyAgreementAlgorithm ClassX25519
KeyDerivationAlgorithm2 ClassHKDF-SHA-256
HKDF-SHA-512
MacAlgorithm ClassBLAKE2b (keyed)
HMAC-SHA-256
HMAC-SHA-512
PasswordBasedKeyDerivationAlgorithm ClassArgon2id
scrypt
SignatureAlgorithm ClassEd25519
SignatureAlgorithm2 ClassEd25519ph

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.

Keywords

aead

FAQs

Package last updated on 26 Apr 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts