IntelligenceComponentscrates.io
libcrux
Re-export crate for the libcrux library of formally verified implementations, including ML-KEM, ML-DSA, X25519, P-256 ECDSA and ECDH, Ed25519, RSA-PSS, AES-GCM, ChaCha20-Poly1305, SHA-2, SHA-3, BLAKE2, HMAC, HKDF and HPKE.
In short
What to know.
- Algorithms
- ML-KEM, ML-DSA, X25519MLKEM768, X25519 and 12 more6 of 16 would be broken by a large quantum computer.
- Advisories
- None in the storeOSV last read 3 December 2026, 16:50 UTC.
- What to do
- Plan a move away from X25519, ECDH (Weierstrass curves), ECDSA on P-256, Ed25519, RSA signatures, HPKE 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 libcruxcrates.ioRetrieved 3 December 2026
- libcrux 0.0.7 README on crates.iocrates.ioRetrieved 3 December 2026
- libcrux documentation: all itemsdocs.rsRetrieved 3 December 2026
Full record
- Package
- libcrux
- Ecosystem
- crates.io
- Role
- Implementation
- Repository
- github.com/cryspen/libcrux
- Status
- Not marked deprecated by its registry or maintainers.
- Notes
- Pre-release (0.0.x); the maintainers recommend depending on the individual libcrux-* sub-crates instead.
- 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
- ML-KEM kemPost-quantumDesigned to resist
- ML-DSA signaturePost-quantumDesigned to resist
- X25519MLKEM768 kemHybridHybrid
- X25519 key-exchangeClassical public keyBroken by Shor's algorithm
- ECDH (Weierstrass curves) key-exchangeClassical public keyBroken by Shor's algorithm
- ECDSA on P-256 signatureClassical public keyBroken by Shor's algorithm
- Ed25519 signatureClassical public keyBroken by Shor's algorithm
- RSA signatures signatureClassical public keyBroken by Shor's algorithm
- AES-GCM aeadSymmetricWeakened by Grover's search
- ChaCha20-Poly1305 aeadSymmetricWeakened 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
- BLAKE2 (BLAKE2b, BLAKE2s) hashHashWeakened by Grover's search
- HMAC macSymmetricWeakened by Grover's search
- HKDF kdfSymmetricWeakened by Grover's search
- HPKE public-key-encryptionClassical public keyBroken by Shor's algorithm
What a large quantum computer would change
- Designed to resistDesigned to resist known quantum attacks. That is a design goal, not a proof.ML-KEM, ML-DSA
- HybridCombines a classical scheme with a post-quantum one, so an attacker has to break both parts.X25519MLKEM768
- Broken by Shor's algorithmRests on factoring or discrete logarithms. A large fault-tolerant quantum computer running Shor's algorithm would break it.X25519, ECDH (Weierstrass curves), ECDSA on P-256, Ed25519, RSA signatures, HPKE
- Weakened by Grover's searchGrover's search would roughly halve its effective security. 256-bit keys and outputs stay adequate.AES-GCM, ChaCha20-Poly1305, SHA-2 (SHA-224, SHA-256, SHA-384, SHA-512), SHA-3 and SHAKE, BLAKE2 (BLAKE2b, BLAKE2s), HMAC, HKDF
Notes describe algorithm families, not any one project.