NSec

April 30, 2026 · View on GitHub

Maintenance License NuGet

NSec is a cryptographic library for .NET based on libsodium ❤. It provides modern cryptographic primitives in a modern API based on Span<T>. NSec aims to be easy to use, secure by default, fast, and agile.

For more information about NSec, please refer to the following resources:

Project homepage:https://nsec.rocks/
Installation:https://nsec.rocks/docs/install
Online documentation:https://nsec.rocks/docs/api/nsec.cryptography
Open issues:https://github.com/ektrah/nsec/issues
Pull requests:https://github.com/ektrah/nsec/pulls