diff options
author | Justus Winter <justus@sequoia-pgp.org> | 2020-05-18 12:23:10 +0200 |
---|---|---|
committer | Justus Winter <justus@sequoia-pgp.org> | 2020-05-25 11:22:09 +0200 |
commit | c4c306e52a494ab7efc0b89e4a71013d82e8925e (patch) | |
tree | bbe4d4e30421d4e208b94892ec1748aaaf2e1f95 | |
parent | db15fab0b50a5a0bd570632a89c2761861258a65 (diff) |
openpgp: Fix documentation.
-rw-r--r-- | openpgp/src/packet/skesk.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/openpgp/src/packet/skesk.rs b/openpgp/src/packet/skesk.rs index 13fc2334..9ba48c39 100644 --- a/openpgp/src/packet/skesk.rs +++ b/openpgp/src/packet/skesk.rs @@ -154,10 +154,10 @@ impl SKESK4 { })) } - /// Convert the `SKESK4` struct to a `Packet`. - /// Derives the key inside this SKESK4 from `password`. Returns a - /// tuple of the symmetric cipher to use with the key and the key - /// itself. + /// Derives the key inside this SKESK4 from `password`. + /// + /// Returns a tuple of the symmetric cipher to use with the key + /// and the key itself. pub fn decrypt(&self, password: &Password) -> Result<(SymmetricAlgorithm, SessionKey)> { |