Crates.io | keybob |
lib.rs | keybob |
version | 0.4.0 |
source | src |
created_at | 2018-06-25 01:46:51.993159 |
updated_at | 2021-02-28 08:46:58.408105 |
description | A cryptographic key utility |
homepage | |
repository | https://github.com/spacekookie/keybob |
max_upload_size | |
id | 71557 |
size | 18,115 |
A cryptographic key utility crate.
Aes128
and Aes256
keys from scratchpbkdf2
and Blake2b
serde
Serialiser/ DeserialiserVec<_>
)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 ... */
}