pub fn encrypt(
config: &Config,
recipients: &[&str],
plaintext: Plaintext
) -> Result<Ciphertext>
Expand description
Encrypt plaintext for the given recipients.
config
: GPG configrecipients
: list of recipient fingerprints to encrypt forplaintext
: plaintext to encrypt
Panics
Panics if list of recipients is empty.