aboutsummaryrefslogtreecommitdiff
path: root/lockchain-crypto/src/engine.rs
blob: 1030bf2d6e496f1aadd69e7d824b90d745b68f51 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
//!

use databody::DataBody;
use lcc::{traits::{Encryptable, EncryptionHandler},
          EncryptedBody};

impl Encryptable for DataBody {}

pub struct AesEngine {}

impl EncryptionHandler<DataBody> for AesEngine {
    fn encrypt(&mut self, item: DataBody) -> EncryptedBody {
        unimplemented!()
    }

    fn decrypt(&mut self, item: EncryptedBody) -> DataBody {
        unimplemented!()
    }
}