IntelligenceComponentscrates.io
dryoc
Pure Rust libsodium-compatible library with crypto_box, secretbox, Ed25519 signatures, BLAKE2b, SHA-2, SHA-3, HMAC, HKDF, Argon2 password hashing, ML-KEM-768, X-Wing and HPKE sealed boxes.
In short
What to know.
- Algorithms
- X25519, Ed25519, XSalsa20-Poly1305, ChaCha20-Poly1305 and 10 more3 of 14 would be broken by a large quantum computer.
- Advisories
- 2 in the storeOSV last read 3 December 2026, 16:50 UTC.
- What to do
- Check your version against the advisories below. Each lists its affected and fixed versions. Plan a move away from X25519, Ed25519, HPKE before large quantum computers exist.
2 in the store
Advisories
| Advisory | Id | Affected versions | Fixed in | Source's rating |
|---|---|---|---|---|
| Ed25519 signing key pairs with an inconsistent embedded public key are accepted | RUSTSEC-2026-0602 | from 0.0.0-0 before 2.0.1 | Fixed in 2.0.1 | |
| X25519 accepts low-order public keys, yielding session keys computable without a private key | RUSTSEC-2026-0603 | from 0.0.0-0 before 1.0.0 | Fixed in 1.0.0 |
2 listed
Findings
| Finding | Id | Severity | Updated |
|---|---|---|---|
| X25519 accepts low-order public keys, yielding session keys computable without a private key | NMN-2026-0107 | 3 December 2026 | |
| Ed25519 signing key pairs with an inconsistent embedded public key are accepted | NMN-2026-0106 | 3 December 2026 |
Reviewed 3 December 2026
Sources
- crates.io metadata for dryoccrates.ioRetrieved 3 December 2026
- dryoc 2.0.2 README on crates.iocrates.ioRetrieved 3 December 2026
- dryoc documentation: all itemsdocs.rsRetrieved 3 December 2026
Full record
- Package
- dryoc
- Ecosystem
- crates.io
- Role
- Implementation
- Repository
- github.com/brndnmtthws/dryoc
- Status
- Not marked deprecated by its registry or maintainers.
- 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
- 2 listed above.
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
- BLAKE2 (BLAKE2b, BLAKE2s) hashHashWeakened by Grover's search
- SHA-2 (SHA-224, SHA-256, SHA-384, SHA-512) hashHashWeakened by Grover's search
- SHA-3 and SHAKE hashHashWeakened by Grover's search
- HMAC macSymmetricWeakened by Grover's search
- HKDF kdfSymmetricWeakened by Grover's search
- Argon2 password-hashSymmetricWeakened by Grover's search
- ML-KEM kemPost-quantumDesigned to resist
- X25519MLKEM768 kemHybridHybrid
- HPKE public-key-encryptionClassical public keyBroken by Shor's algorithm
- 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, HPKE
- Weakened by Grover's searchGrover's search would roughly halve its effective security. 256-bit keys and outputs stay adequate.XSalsa20-Poly1305, ChaCha20-Poly1305, BLAKE2 (BLAKE2b, BLAKE2s), SHA-2 (SHA-224, SHA-256, SHA-384, SHA-512), SHA-3 and SHAKE, HMAC, HKDF, Argon2
- Designed to resistDesigned to resist known quantum attacks. That is a design goal, not a proof.ML-KEM
- HybridCombines a classical scheme with a post-quantum one, so an attacker has to break both parts.X25519MLKEM768
- Not applicableThe quantum question does not apply to this part.Cryptographically strong random number generation
Notes describe algorithm families, not any one project.