18 releases

Uses new Rust 2024

0.1.17 Jan 16, 2026
0.1.16 Aug 8, 2025
0.1.15 Jun 15, 2025
0.1.14 Feb 28, 2025
0.1.1 Jun 7, 2022

#1409 in Cryptography


Used in 3 crates (via bdrck)

Apache-2.0

6MB
70K SLoC

C 42K SLoC // 0.0% comments Shell 10K SLoC // 0.2% comments M4 8K SLoC // 0.2% comments Visual Studio Project 4K SLoC GNU Style Assembly 3K SLoC // 0.0% comments Automake 1K SLoC Pan 520 SLoC Visual Studio Solution 488 SLoC Zig 328 SLoC // 0.0% comments Batch 221 SLoC // 0.0% comments Python 221 SLoC // 0.0% comments Rust 117 SLoC // 0.0% comments C# 35 SLoC Bitbake 22 SLoC VBScript 11 SLoC

Contains (autotools obfuscated code, 715KB) libsodium/configure, (obscure autoconf code, 34KB) libsodium/configure.ac

halite-sys

halite-sys provides unsafe Rust bindings for libsodium.

This crate tracks upstream's stable branch. In general, upstream appears to publish fixes to this branch regularly, whereas new full release versions aren't released very frequently. In general, tracking this branch seems reasonable based on the documentation describing it.

Why not use libsodium-sys or sodiumoxide? Because those crates are deprecated. Further, those crates have known security vulnerabilities.

No runtime deps