Skip to content
NOUMENResearch
Network
Engineering
, home page

IntelligenceComponentscrates.io

botan

Rust wrapper for the Botan C++ library, exposing ciphers, hashes, MACs, KDFs, password hashing, random generators, X.509 and classical and post-quantum public key algorithms.

In short

What to know.

Algorithms
RSA signatures, RSA encryption, Finite-field Diffie-Hellman, ECDSA on P-256 and 30 more12 of 34 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, Finite-field Diffie-Hellman, ECDSA on P-256, ECDSA on P-384, ECDSA on P-521, ECDSA on secp256k1, ECDH (Weierstrass curves), Ed25519, Ed448, X25519, X448 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 botancrates.ioRetrieved 3 December 2026
  2. botan 0.14.1 README on crates.iocrates.ioRetrieved 3 December 2026
  3. botan documentation: all itemsdocs.rsRetrieved 3 December 2026
  4. botan documentation: enum.PublicKeyAlgorithmdocs.rsRetrieved 3 December 2026
  5. botan documentation: enum.EcGroupIddocs.rsRetrieved 3 December 2026

Full record

Package
botan
Ecosystem
crates.io
Role
Binding to a native library
Status
Not marked deprecated by its registry or maintainers.
Notes
Algorithms are selected by name at run time, so availability depends on the Botan version and build it links against.
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, Finite-field Diffie-Hellman, ECDSA on P-256, ECDSA on P-384, ECDSA on P-521, ECDSA on secp256k1, ECDH (Weierstrass curves), Ed25519, Ed448, X25519, X448
  • Designed to resistDesigned to resist known quantum attacks. That is a design goal, not a proof.ML-KEM, ML-DSA, SLH-DSA, Classic McEliece, FrodoKEM, LMS (Leighton-Micali signatures), XMSS
  • 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), SHA-3 and SHAKE, BLAKE2 (BLAKE2b, BLAKE2s), RIPEMD-160, HMAC, HKDF, PBKDF2, scrypt, Argon2, bcrypt
  • Not applicableThe quantum question does not apply to this part.Cryptographically strong random number generation

Notes describe algorithm families, not any one project.