libsodium 1.0.20

There is a newer version of this package available.
See the version list below for details.

Requires NuGet 4.0 or higher.

dotnet add package libsodium --version 1.0.20                
NuGet\Install-Package libsodium -Version 1.0.20                
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.20" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add libsodium --version 1.0.20                
#r "nuget: libsodium, 1.0.20"                
#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.
// Install libsodium as a Cake Addin
#addin nuget:?package=libsodium&version=1.0.20

// Install libsodium as a Cake Tool
#tool nuget:?package=libsodium&version=1.0.20                
  • Building with zig build now requires Zig 0.12.
  • When using the traditional build system, -O3 is used instead of -Ofast.
  • Improved detection of the compiler flags required on aarch64.
  • Improved compatibility with custom build systems on aarch64.
  • apple-xcframework: VisionOS packages are not built if Xcode doesn't include that SDK.
  • crypto_kdf_hkdf_sha512_statebytes() was added.
  • When using Visual Studio, runtime CPU feature detection is now enabled on Windows/aarch64.
  • There were issues with C++ guards affecting usage of libsodium using Swift on Windows. This has been fixed.
  • Emscripten: crypto_aead_aegis*() functions are now exported in JavaScript builds
  • Emscripten: unsupported --memory-init-file option has been removed.
  • apple-xcframework: the minimal deployment target can be set to iOS 11+.
  • .NET packages now include precompiled libraries for Windows/arm64, iOS, TvOS and Catalyst.
  • .NET precompiled libraries now work on any CPUs, using only runtime feature detection.
  • SYSV assembly should not be used when targeting Windows (reported by @meiyese, thanks!)
  • Compatibility issues with LLVM 18 and AVX512 have been addressed.
  • GitHub attestation build provenance are now added to NuGet packages.
  • JavaScript tests can now use Bun as an alternative to Node.
There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

NuGet packages (29)

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.

dpm-libsodium-net

A secure cryptographic library

Sodium.Core.Unofficial

libsodium for .net core

GitHub repositories (10)

Showing the top 5 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.
samuel-lucas6/Kryptor
A simple, modern, and secure encryption and signing tool that aims to be a better version of age and Minisign.
ektrah/nsec
A modern and easy-to-use cryptographic library for .NET 8+ based on libsodium
Texnomic/SecureDNS
Secure, Modern, Fully-Featured, All-In-One Cross-Architecture & Cross-Platform DNS Server Using .NET 8.0
Version Downloads Last updated
1.0.20.1 3,796 12/10/2024
1.0.20 83,590 5/25/2024
1.0.19.2 37,656 4/28/2024
1.0.19.1 218 4/28/2024
1.0.19 1,030,863 9/19/2023
1.0.18.4 580,324 12/11/2022
1.0.18.2 3,664,062 3/29/2022
1.0.18.1 41,705 6/13/2021
1.0.18 3,394,208 1/20/2020
1.0.17.1 701,050 4/22/2019
1.0.17 149,019 1/16/2019
1.0.16 962,278 12/20/2017
1.0.15 20,239 10/2/2017
1.0.14 1,770 9/24/2017
1.0.13-preview-01 1,161 8/22/2017
1.0.12-preview-01 5,721 7/13/2017