IntelligenceComponentscrates.io
libsodium-sys
Raw FFI bindings to the libsodium C library, used by sodiumoxide.
In short
What to know.
- Algorithms
- X25519, Ed25519, XSalsa20-Poly1305, ChaCha20-Poly1305 and 7 more2 of 11 would be broken by a large quantum computer.
- Advisories
- None in the storeOSV last read 3 December 2026, 16:50 UTC.
- What to do
- Its source marks it deprecated or unmaintained: plan a replacement. Plan a move away from X25519, Ed25519 before large quantum computers exist.
0 in the store
Advisories
No advisory in the store for this package.
OSV listed none on 3 December 2026, 16:50 UTC. That does not mean the package has no problems.
Reviewed 3 December 2026
Sources
- crates.io metadata for libsodium-syscrates.ioRetrieved 3 December 2026
- libsodium-sys 0.2.7 README on crates.iocrates.ioRetrieved 3 December 2026
- libsodium-sys documentationdocs.rsRetrieved 3 December 2026
- sodiumoxide repository (archived)github.comRetrieved 3 December 2026
- sodiumoxide README (deprecation notice)raw.githubusercontent.comRetrieved 3 December 2026
Full record
- Package
- libsodium-sys
- Ecosystem
- crates.io
- Role
- Binding to a native library
- Repository
- github.com/sodiumoxide/sodiumoxide
- Status
- Marked deprecated or unmaintained by its source.
- Notes
- Published from the sodiumoxide repository, which is archived and whose README declares the project deprecated; libsodium-sys-stable is a maintained fork of these bindings.
- Reviewed
- Entry reviewed 3 December 2026. Catalogue entry, curated by hand and incomplete by design.
- Advisories read
- Last read from OSV 3 December 2026, 16:50 UTC
- Findings
- No finding refers to this package yet.
Algorithms it provides
- X25519 key-exchangeClassical public keyBroken by Shor's algorithm
- Ed25519 signatureClassical public keyBroken by Shor's algorithm
- XSalsa20-Poly1305 aeadSymmetricWeakened by Grover's search
- ChaCha20-Poly1305 aeadSymmetricWeakened by Grover's search
- AES-GCM aeadSymmetricWeakened by Grover's search
- SHA-2 (SHA-224, SHA-256, SHA-384, SHA-512) hashHashWeakened by Grover's search
- BLAKE2 (BLAKE2b, BLAKE2s) hashHashWeakened by Grover's search
- HMAC macSymmetricWeakened by Grover's search
- Argon2 password-hashSymmetricWeakened by Grover's search
- scrypt password-hashSymmetricWeakened by Grover's search
- Cryptographically strong random number generation rngOtherNot applicable
What a large quantum computer would change
- Broken by Shor's algorithmRests on factoring or discrete logarithms. A large fault-tolerant quantum computer running Shor's algorithm would break it.X25519, Ed25519
- Weakened by Grover's searchGrover's search would roughly halve its effective security. 256-bit keys and outputs stay adequate.XSalsa20-Poly1305, ChaCha20-Poly1305, AES-GCM, SHA-2 (SHA-224, SHA-256, SHA-384, SHA-512), BLAKE2 (BLAKE2b, BLAKE2s), HMAC, Argon2, scrypt
- Not applicableThe quantum question does not apply to this part.Cryptographically strong random number generation
Notes describe algorithm families, not any one project.