libsodium 1.0.20

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 (30)

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 (7)

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

Repository Stars
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
dodobrands/WebAuthn.Net
WebAuthn (Passkeys) library for .NET.
Version Downloads Last updated
1.0.20 55,928 5/25/2024
1.0.19.2 31,001 4/28/2024
1.0.19.1 202 4/28/2024
1.0.19 866,054 9/19/2023
1.0.18.4 565,333 12/11/2022
1.0.18.2 3,406,144 3/29/2022
1.0.18.1 41,473 6/13/2021
1.0.18 3,332,438 1/20/2020
1.0.17.1 697,215 4/22/2019
1.0.17 144,630 1/16/2019
1.0.16 945,867 12/20/2017
1.0.15 20,154 10/2/2017
1.0.14 1,713 9/24/2017
1.0.13-preview-01 1,147 8/22/2017
1.0.12-preview-01 5,709 7/13/2017