blob: 6a1c45ee58867c55aed94e250ce3ad9cc992bb3f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
//! Shared cryptographic primitives and utilities
//!
//!
/// We re-export keybob's API here
mod keys {
pub use keybob::{Key, KeyType};
use crate::traits::{AutoEncoder, Encryptable};
impl AutoEncoder for Key {}
impl AutoEncoder for KeyType {}
impl Encryptable for Key {}
impl Encryptable for KeyType {}
}
mod data;
pub mod encoding;
pub mod random;
pub mod hashing;
pub use self::data::PackedData;
pub use self::keys::{Key, KeyType};
|