A deprecated Rust binding to libsodium providing type-safe, high-speed cryptography.
Sodium Oxide (sodiumoxide) was a Rust library that provided bindings to libsodium, offering high-speed cryptographic operations like encryption, decryption, and digital signatures. It aimed to solve the need for a secure, easy-to-use cryptographic library in Rust with type-safe APIs. The project is now deprecated, as the Rust cryptographic ecosystem has evolved with more modern alternatives.
Rust developers who needed a straightforward, performant cryptographic library for applications requiring secure communication, data encryption, or signature verification.
Developers chose sodiumoxide for its direct integration with the battle-tested libsodium, providing a balance of security, speed, and a type-safe Rust interface that reduced common cryptographic errors.
[DEPRECATED] Sodium Oxide: Fast cryptographic library for Rust (bindings to libsodium)
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Rust's compile-time checks prevent common misuse like incorrect key sizes or algorithm mismatches, enhancing security as highlighted in the value proposition.
Leverages libsodium's optimized C implementations for high-speed operations such as encryption and signatures, ensuring efficiency.
Supports Linux, Windows, macOS, and Android with detailed cross-compilation guides, making it portable for diverse environments.
Optional no_std feature allows usage in embedded systems, providing versatility for resource-constrained applications.
Development has officially stopped, so no new features, updates, or community support beyond critical security fixes, as stated in the README.
Linking against custom or system libsodium requires setting environment variables like SODIUM_LIB_DIR, which can be error-prone and adds setup overhead.
AES-GCM functions require specific CPU instructions and runtime detection, adding complexity and potential for runtime errors on unsupported hardware.