changeset 66521:34f7069d89f0

(How to use): Update the example to add autoload of pgg-encrypt-symmetric-region. (User Commands): Document pgg-encrypt-symmetric-region. (Backend methods): Document pgg-scheme-encrypt-symmetric-region.
author Eli Zaretskii <eliz@gnu.org>
date Sat, 29 Oct 2005 11:39:49 +0000
parents 67afcf271a8f
children 8f27de5a8c19
files man/pgg.texi
diffstat 1 files changed, 16 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/man/pgg.texi	Sat Oct 29 11:31:08 2005 +0000
+++ b/man/pgg.texi	Sat Oct 29 11:39:49 2005 +0000
@@ -98,6 +98,8 @@
 @lisp
 (autoload 'pgg-encrypt-region "pgg"
   "Encrypt the current region." t)
+(autoload 'pgg-encrypt-symmetric-region "pgg"
+  "Encrypt the current region with symmetric algorithm." t)
 (autoload 'pgg-decrypt-region "pgg"
   "Decrypt the current region." t)
 (autoload 'pgg-sign-region "pgg"
@@ -140,6 +142,13 @@
 with GnuPG.
 @end deffn
 
+@deffn Command pgg-encrypt-symmetric-region start end
+Encrypt the current region between @var{start} and @var{end} using a
+symmetric cipher.  After invocation you are asked for a passphrase.
+
+This is currently only implemented for GnuPG.
+@end deffn
+
 @deffn Command pgg-decrypt-region start end
 Decrypt the current region between @var{start} and @var{end}.  If
 decryption is successful, it replaces the current region contents (in
@@ -307,6 +316,13 @@
 otherwise @code{nil}.
 @end deffn
 
+@deffn Method pgg-scheme-encrypt-symmetric-region scheme start end
+Encrypt the current region between @var{start} and @var{end} using a
+symmetric cipher and a passphrases.  If encryption is successful, it
+returns @code{t}, otherwise @code{nil}.  This function is currently only
+implemented for GnuPG.
+@end deffn
+
 @deffn Method pgg-scheme-decrypt-region scheme start end
 Decrypt the current region between @var{start} and @var{end}.  If
 decryption is successful, it returns @code{t}, otherwise @code{nil}.