Function: pgg-encrypt-symmetric
pgg-encrypt-symmetric is an interactive and byte-compiled function
defined in pgg.el.gz.
Signature
(pgg-encrypt-symmetric &optional START END PASSPHRASE)
Documentation
Encrypt the current buffer using a symmetric, rather than key-pair, cipher.
If optional arguments START and END are specified, only encrypt within the region.
If optional PASSPHRASE is not specified, it will be obtained from the passphrase cache or user.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/obsolete/pgg.el.gz
;;;###autoload
(defun pgg-encrypt-symmetric (&optional start end passphrase)
"Encrypt the current buffer using a symmetric, rather than key-pair, cipher.
If optional arguments START and END are specified, only encrypt within
the region.
If optional PASSPHRASE is not specified, it will be obtained from the
passphrase cache or user."
(interactive)
(let* ((start (or start (point-min)))
(end (or end (point-max)))
(status (pgg-encrypt-symmetric-region start end passphrase)))
(when (called-interactively-p 'interactive)
(pgg-display-output-buffer start end status))
status))