IntelligenceComponentscrates.io
boring
Rust bindings to BoringSSL with TLS support, RSA, DSA, Diffie-Hellman, ECDSA and ECDH, Ed25519 and X25519, ML-KEM, ML-DSA, HPKE, AEAD ciphers, hashes, HMAC and key derivation.
In short
What to know.
- Algorithms
- RSA signatures, RSA encryption, DSA, Finite-field Diffie-Hellman and 20 more11 of 24 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 RSA signatures, RSA encryption, DSA, Finite-field Diffie-Hellman, ECDSA on P-256, ECDSA on P-384, ECDSA on P-521, ECDH (Weierstrass curves), Ed25519, X25519, 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 boringcrates.ioRetrieved 3 December 2026
- boring 5.6.1 README on crates.iocrates.ioRetrieved 3 December 2026
- boring documentation: all itemsdocs.rsRetrieved 3 December 2026
- boring documentation: aead/struct.Algorithmdocs.rsRetrieved 3 December 2026
- boring documentation: mlkem/enum.Algorithmdocs.rsRetrieved 3 December 2026
- boring documentation: mldsa/enum.Algorithmdocs.rsRetrieved 3 December 2026
Full record
- Package
- boring
- Ecosystem
- crates.io
- Role
- Binding to a native library
- Repository
- github.com/cloudflare/boring
- Status
- Not marked deprecated by its registry or maintainers.
- Notes
- Since boring 5, post-quantum TLS key exchange (the hybrid X25519 with ML-KEM groups from the IETF draft) is enabled by default. Legacy DES and RC4 ciphers are also exposed.
- 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
- RSA signatures signatureClassical public keyBroken by Shor's algorithm
- RSA encryption public-key-encryptionClassical public keyBroken by Shor's algorithm
- DSA signatureClassical public keyBroken by Shor's algorithm
- Finite-field Diffie-Hellman key-exchangeClassical public keyBroken by Shor's algorithm
- ECDSA on P-256 signatureClassical public keyBroken by Shor's algorithm
- ECDSA on P-384 signatureClassical public keyBroken by Shor's algorithm
- ECDSA on P-521 signatureClassical public keyBroken by Shor's algorithm
- ECDH (Weierstrass curves) key-exchangeClassical public keyBroken by Shor's algorithm
- Ed25519 signatureClassical public keyBroken by Shor's algorithm
- X25519 key-exchangeClassical public keyBroken by Shor's algorithm
- ML-KEM kemPost-quantumDesigned to resist
- ML-DSA signaturePost-quantumDesigned to resist
- X25519MLKEM768 kemHybridHybrid
- HPKE public-key-encryptionClassical public keyBroken by Shor's algorithm
- AES cipherSymmetricWeakened by Grover's search
- AES-GCM aeadSymmetricWeakened by Grover's search
- ChaCha20-Poly1305 aeadSymmetricWeakened by Grover's search
- SHA-1 hashHashWeakened by Grover's search
- SHA-2 (SHA-224, SHA-256, SHA-384, SHA-512) hashHashWeakened by Grover's search
- HMAC macSymmetricWeakened by Grover's search
- HKDF kdfSymmetricWeakened by Grover's search
- PBKDF2 kdfSymmetricWeakened 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.RSA signatures, RSA encryption, DSA, Finite-field Diffie-Hellman, ECDSA on P-256, ECDSA on P-384, ECDSA on P-521, ECDH (Weierstrass curves), Ed25519, X25519, HPKE
- 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
- Weakened by Grover's searchGrover's search would roughly halve its effective security. 256-bit keys and outputs stay adequate.AES, AES-GCM, ChaCha20-Poly1305, SHA-1, SHA-2 (SHA-224, SHA-256, SHA-384, SHA-512), HMAC, HKDF, PBKDF2, scrypt
- Not applicableThe quantum question does not apply to this part.Cryptographically strong random number generation
Notes describe algorithm families, not any one project.