aboutsummaryrefslogtreecommitdiff
path: root/lockchain-crypto/src/lib.rs
diff options
context:
space:
mode:
authorKatharina Sabel <katharina.sabel@asquera.de>2018-05-08 01:06:58 +0200
committerKatharina Sabel <katharina.sabel@asquera.de>2018-05-08 01:06:58 +0200
commit4a86ec4771d6049fc4a8d0e82bf4a13a20bcfa1d (patch)
treefb4fc3550cb848df5c1cbcadc3b713a08b477a29 /lockchain-crypto/src/lib.rs
parent2aa9772596b12496c05c46caed9c7c8c5ae9b32a (diff)
Basic encryption functions work
Diffstat (limited to 'lockchain-crypto/src/lib.rs')
-rw-r--r--lockchain-crypto/src/lib.rs18
1 files changed, 13 insertions, 5 deletions
diff --git a/lockchain-crypto/src/lib.rs b/lockchain-crypto/src/lib.rs
index 0799c96..5daba02 100644
--- a/lockchain-crypto/src/lib.rs
+++ b/lockchain-crypto/src/lib.rs
@@ -1,17 +1,25 @@
-//!
+//! A shim-layer crate for lockchain encryption
+//!
+//! To get going with encrypted lockchain files, just initialise an
+//! AesEngine type and start working with encrypted types provided by
+//! some backend.
#[macro_use]
extern crate serde_derive;
extern crate serde;
+extern crate miscreant;
+extern crate base64;
+extern crate blake2;
+extern crate rand;
extern crate lockchain_core as lcc;
-use lcc::{traits::{AutoEncoder, Body},
- Payload};
-use std::collections::BTreeMap;
mod databody;
mod engine;
+mod keys;
+mod utils;
+mod data;
pub use databody::*;
-pub use engine::*;
+pub use engine::AesEngine;