libsodium 1.0.22

Requires NuGet 4.0 or higher.

dotnet add package libsodium --version 1.0.22
                    
NuGet\Install-Package libsodium -Version 1.0.22
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="libsodium" Version="1.0.22" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="libsodium" Version="1.0.22" />
                    
Directory.Packages.props
<PackageReference Include="libsodium" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add libsodium --version 1.0.22
                    
#r "nuget: libsodium, 1.0.22"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package libsodium@1.0.22
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=libsodium&version=1.0.22
                    
Install as a Cake Addin
#tool nuget:?package=libsodium&version=1.0.22
                    
Install as a Cake Tool

Internal implementation package not meant for direct consumption. Please do not reference directly.

There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

NuGet packages (31)

Showing the top 5 NuGet packages that depend on libsodium:

Package Downloads
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

Sodium.Core

libsodium for .net core

SpaceWizards.Sodium.Interop

Native API binding for libsodium.

Noise.NET

.NET Standard 1.3 implementation of the Noise Protocol Framework (revision 33 of the spec)

Nethermind.Libp2p.Protocols.Noise

A libp2p implementation for .NET

GitHub repositories (12)

Showing the top 12 popular GitHub repositories that depend on libsodium:

Repository Stars
ravendb/ravendb
ACID Document Database
msasanmh/DNSveil
A DNS Client Supporting DNSCrypt, Anonymized DNSCrypt, DoH, DoT, UDP And TCP.
futo-org/Grayjay.Desktop
Read-only mirror of Grayjay.Desktop repo for issue tracking
space-wizards/RobustToolbox
Robust multiplayer game engine, used by Space Station 14
samuel-lucas6/Kryptor
A simple, modern, and secure encryption and signing tool that aims to be a better version of age and Minisign.
NetCordDev/NetCord
A modern, lightweight, and customizable C# Discord library with Native AOT support, immutable caching, voice capabilities, and complete API coverage.
ektrah/nsec
A modern and easy-to-use cryptographic library for .NET based on libsodium
Texnomic/SecureDNS
Secure, Modern, Fully-Featured, All-In-One Cross-Architecture & Cross-Platform DNS Server Using .NET 10
dodobrands/WebAuthn.Net
WebAuthn (Passkeys) library for .NET.
Metalnem/noise
.NET Standard 1.3 implementation of the Noise Protocol Framework (revision 33 of the spec)
ektrah/libsodium-core
libsodium for .NET - A secure cryptographic library
NethermindEth/dotnet-libp2p
A libp2p implementation for .NET in C#.
Version Downloads Last Updated
1.0.22 754,813 2026/4/9
1.0.21 130,310 2026/1/6
1.0.20.2 38,294 2025/12/29
1.0.20.1 6,635,130 2024/12/10
1.0.20 1,790,970 2024/5/25
1.0.19.2 93,390 2024/4/28
1.0.19.1 2,080 2024/4/28
1.0.19 4,201,107 2023/9/19
1.0.18.4 764,363 2022/12/11
1.0.18.2 10,885,587 2022/3/29
1.0.18.1 46,538 2021/6/13
1.0.18 4,378,275 2020/1/20
1.0.17.1 807,397 2019/4/22
1.0.17 172,939 2019/1/16
1.0.16 2,585,209 2017/12/20
1.0.15 24,049 2017/10/2
1.0.14 3,608 2017/9/24
1.0.13-preview-01 1,815 2017/8/22
1.0.12-preview-01 6,456 2017/7/13