.N .NET Landscape

NSec

Security & Identity
github.com/ektrah/nsec

A modern and easy-to-use cryptographic library for .NET based on libsodium

aeadaes-gcmblake2bchacha20-poly1305cryptocryptographycsharpcurve25519dotnetdotnet-coreed25519encryption
GitHub stars
450
Forks
52
Open issues
2
NuGet downloads
18,771,542
latest 26.4.0
License
MIT
Language
C#
Last push
5 months ago
30 Apr 2026
Created
1 Jan 2017

NSec

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