pub fn encrypt_with(
recipient: &PublicKey,
plaintext: &[u8],
algorithm: AeadAlgorithm,
) -> Result<EncryptedBlob, EciesError>Expand description
Encrypt plaintext to recipient with an explicit AEAD choice.
pub fn encrypt_with(
recipient: &PublicKey,
plaintext: &[u8],
algorithm: AeadAlgorithm,
) -> Result<EncryptedBlob, EciesError>Encrypt plaintext to recipient with an explicit AEAD choice.