From c9d4d70b94c8440c8cb74e2dedffa8d8dc214866 Mon Sep 17 00:00:00 2001 From: Justus Winter Date: Tue, 4 Aug 2020 16:22:53 +0200 Subject: openpgp: Improve documentation of mod asymmetric. - See #474. --- openpgp/src/crypto/mod.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'openpgp/src/crypto/mod.rs') diff --git a/openpgp/src/crypto/mod.rs b/openpgp/src/crypto/mod.rs index c4ea6ab8..eccd1b7c 100644 --- a/openpgp/src/crypto/mod.rs +++ b/openpgp/src/crypto/mod.rs @@ -13,9 +13,11 @@ //! //! - *Converting a string to a `Password`*: Use [`Password::from`]. //! - *Create a session key*: Use [`SessionKey::new`]. +//! - *Use secret keys*: See the [`KeyPair` example]. //! //! [`Password::from`]: https://doc.rust-lang.org/std/convert/trait.From.html //! [`SessionKey::new`]: struct.SessionKey.html#method.new +//! [`KeyPair` example]: struct.KeyPair.html#examples use std::io::Read; use std::ops::{Deref, DerefMut}; -- cgit v1.2.3