diff options
author | Katharina <kookie@spacekookie.de> | 2019-04-22 02:02:08 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-04-22 02:02:08 +0200 |
commit | f12fae4479c5b97ab37823d7aa58d9156e2fc3ad (patch) | |
tree | d3cd6576730c904c6d798c956295a989723a59a3 /lockchain-crypto/src/keyfold.rs | |
parent | 9ceda952a1c0d42b11a67dd7d00178c720f9c601 (diff) |
Updating crates to 2018 edition (#9)
* Updating main README
* Updating lock file
* Updating crate ecosystem to Rust 2018 edition
Diffstat (limited to 'lockchain-crypto/src/keyfold.rs')
-rw-r--r-- | lockchain-crypto/src/keyfold.rs | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/lockchain-crypto/src/keyfold.rs b/lockchain-crypto/src/keyfold.rs index 2339a32..363ccab 100644 --- a/lockchain-crypto/src/keyfold.rs +++ b/lockchain-crypto/src/keyfold.rs @@ -1,10 +1,10 @@ //! Keyfolds map keys to encrypted keys -use lcc::crypto::{Key, KeyType}; -use lcc::traits::EncryptionHandler; -use lcc::EncryptedBody; +use crate::lcc::crypto::{Key, KeyType}; +use crate::lcc::traits::EncryptionHandler; +use crate::lcc::EncryptedBody; -use AesEngine; +use crate::AesEngine; /// Transparent key-encrypter utility /// @@ -38,11 +38,11 @@ impl Keyfold { } impl EncryptionHandler<Key> for Keyfold { - fn encrypt(&mut self, item: Key) -> EncryptedBody { + fn encrypt(&mut self, _item: Key) -> EncryptedBody { unimplemented!() } - fn decrypt(&mut self, item: EncryptedBody) -> Option<Key> { + fn decrypt(&mut self, _item: EncryptedBody) -> Option<Key> { unimplemented!() } } |