20 releases
0.10.1 | Mar 8, 2023 |
---|---|
0.9.2 | Feb 24, 2023 |
0.9.0 | Dec 9, 2022 |
0.8.1 | Mar 14, 2021 |
0.1.2 | Jul 27, 2018 |
#202 in Cryptography
872 downloads per month
Used in 3 crates
160KB
3.5K
SLoC
botan-rs
This crate wraps the C API exposed by the Botan cryptography library. The current version requires Botan 2.8.0 or higher and Rust 1.58.0 or higher.
The following features are supported:
no-std
: Enable a no-std build. This requires Rust 1.64.0 or higher, as well asalloc
supportvendored
: Build a copy of the C++ library directly, without relying on a system installed version.botan3
: Link against (the currently unreleased) Botan 3.x rather than the default Botan 2.x
Currently the crate exposes ciphers, hashes, MACs, KDFs, password based key derivation (PBKDF2, Scrypt, Argon2, etc), bcrypt password hashes, random number generators, X.509 certificates, format preserving encryption, HOTP/TOTP, NIST key wrapping, multiprecision integers, and the usual public key algorithms (RSA, ECDSA, ECDH, DH, ...)
PRs and comments/issues happily accepted.
Dependencies
~125KB