keybob 0.1.1

A cryptographic key utility
Documentation

🔐 keybob

A utility for cryptographic keys which makes the generation from scratch, user input as well as serialisation and deserialisation super easy.

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 ... */
}