blob: 2090e69c408c20655edddf2933d4a38c63bf6504 (
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 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};
|