diff options
author | Justus Winter <justus@sequoia-pgp.org> | 2019-05-31 12:02:35 +0200 |
---|---|---|
committer | Justus Winter <justus@sequoia-pgp.org> | 2019-06-01 12:55:08 +0200 |
commit | c1c5d8a9bfdb04a054ac87a9e4419764553106a2 (patch) | |
tree | 246373906a3617495f583431dce648230331e267 | |
parent | 7cd573bde8b6971884c46f3d48109023ca24e113 (diff) |
openpgp: Fix documentation.
-rw-r--r-- | openpgp/src/crypto/asymmetric.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/openpgp/src/crypto/asymmetric.rs b/openpgp/src/crypto/asymmetric.rs index 7bc293d3..e23c3c73 100644 --- a/openpgp/src/crypto/asymmetric.rs +++ b/openpgp/src/crypto/asymmetric.rs @@ -35,7 +35,7 @@ pub trait Decryptor { /// Returns a reference to the public key. fn public(&self) -> &Key; - /// Creates a signature over the `digest` produced by `hash_algo`. + /// Decrypts `ciphertext`, returning the plain session key. fn decrypt(&mut self, ciphertext: &mpis::Ciphertext) -> Result<SessionKey>; } |