keybob

Crates.iokeybob
lib.rskeybob
version0.4.0
sourcesrc
created_at2018-06-25 01:46:51.993159
updated_at2021-02-28 08:46:58.408105
descriptionA cryptographic key utility
homepage
repositoryhttps://github.com/spacekookie/keybob
max_upload_size
id71557
size18,115
Katharina Fey (spacekookie)

documentation

https://docs.rs/keybob

README

🔐 keybob

travis coveralls docs.rs crates.io downloads

A cryptographic key utility crate.

Features

  • Create Aes128 and Aes256 keys from scratch
  • Expand user passphrase via pbkdf2 and Blake2b
  • Custom serde Serialiser/ Deserialiser
  • No heap-allocated structures required (exception: Serialisation currently uses Vec<_>)
extern crate keybob;
use keybob::{Key, KeyType};

/* Let's assume you want to use miscreant */
extern crate miscreant;
use miscreant::aead::{Aes256Siv, Algorithm};

fn main() {
    let key = Key::new(KeyType::Aes256);
    let aes = Aes256Siv::new(key.as_slice());

    /* ... etc ... */
}
Commit count: 0

cargo fmt