summaryrefslogtreecommitdiffstats
path: root/openpgp/src/crypto/mod.rs
diff options
context:
space:
mode:
authorJustus Winter <justus@sequoia-pgp.org>2019-02-13 12:27:26 +0100
committerJustus Winter <justus@sequoia-pgp.org>2019-02-13 12:27:26 +0100
commit906c5c106ebd13656c81304af8ad3b9a4c15ca50 (patch)
treed696649ef147947d91aafae40c9ac84e761eb66a /openpgp/src/crypto/mod.rs
parentf2cd1cf10eef430214d2df3d2dc7283b94fc1949 (diff)
openpgp: Introduce crypto::Hash.
- This trait formalizes the hashing of OpenPGP packets and related types. - Fixes #183.
Diffstat (limited to 'openpgp/src/crypto/mod.rs')
-rw-r--r--openpgp/src/crypto/mod.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/openpgp/src/crypto/mod.rs b/openpgp/src/crypto/mod.rs
index 5f94e3b4..052be2d4 100644
--- a/openpgp/src/crypto/mod.rs
+++ b/openpgp/src/crypto/mod.rs
@@ -25,6 +25,8 @@ pub use self::asymmetric::{
KeyPair,
};
+pub use self::hash::Hash;
+
/// Holds a session key.
///
/// The session key is cleared when dropped.