
Research
/Security News
Critical Vulnerability in NestJS Devtools: Localhost RCE via Sandbox Escape
A flawed sandbox in @nestjs/devtools-integration lets attackers run code on your machine via CSRF, leading to full Remote Code Execution (RCE).
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
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 | |
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.
FAQs
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
We found that nsec.cryptography demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Research
/Security News
A flawed sandbox in @nestjs/devtools-integration lets attackers run code on your machine via CSRF, leading to full Remote Code Execution (RCE).
Product
Customize license detection with Socket’s new license overlays: gain control, reduce noise, and handle edge cases with precision.
Product
Socket now supports Rust and Cargo, offering package search for all users and experimental SBOM generation for enterprise projects.