Skip to content

thewalker77/botan-rs

 
 

Repository files navigation

botan-rs

Build status crates.io docs.rs

This crate wraps the C API exposed by the Botan cryptography library.

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.

MSRV

The Minimum Supported Rust Version of this crate is Rust 1.58.0, unless you enable support for no_std builds, in which case Rust 1.64.0 is required.

Botan Versions Supported

This crate requires Botan 2.13.0 or higher.

Features

The following features are supported:

  • no-std: Enable a no-std build. This requires Rust 1.64.0 or higher, as well as alloc support
  • vendored: Build a copy of the C++ library directly, without relying on a system installed version.
  • botan3: Link against Botan 3 rather than the current default Botan 2. This enables several new features, and more efficient operation

Releases

No releases published

Packages

No packages published

Languages

  • Rust 99.6%
  • Shell 0.4%