aboutsummaryrefslogtreecommitdiff
path: root/lockchain-core/src/crypto/mod.rs
blob: 11aace05fd681c8a9e4e91a03e8d25554db6eaeb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
//! Shared cryptographic primitives and utilities
//! 
//! 


/// We re-export keybob's API here
mod keys {
    pub use keybob::{Key, KeyType};
    use traits::AutoEncoder;

    impl AutoEncoder for Key {}
    impl AutoEncoder for KeyType {}
}

mod data;
pub mod encoding;
pub mod random;
pub mod hashing;

pub use self::data::PackedData;
pub use self::keys::{Key, KeyType};