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

mod data;

/// 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 {}
}

pub mod passwords;
pub mod encoding;
pub mod hashing;
pub mod random;

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