Skip to main content

encrypt_secret

Function encrypt_secret 

Source
pub async fn encrypt_secret(
    plaintext: &[u8],
    recipients: &EncryptRecipients,
) -> Result<String>
Expand description

Encrypt plaintext for the given recipients, returning storage-ready ciphertext (tagged for age, untagged for GPG).