Skip to content
NOUMENResearch
Network
Engineering
, home page

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

  1. crates.io metadata for boringcrates.ioRetrieved 3 December 2026
  2. boring 5.6.1 README on crates.iocrates.ioRetrieved 3 December 2026
  3. boring documentation: all itemsdocs.rsRetrieved 3 December 2026
  4. boring documentation: aead/struct.Algorithmdocs.rsRetrieved 3 December 2026
  5. boring documentation: mlkem/enum.Algorithmdocs.rsRetrieved 3 December 2026
  6. boring documentation: mldsa/enum.Algorithmdocs.rsRetrieved 3 December 2026

Full record

Package
boring
Ecosystem
crates.io
Role
Binding to a native library
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

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.