Skip to main content

encrypt_with

Function encrypt_with 

Source
pub fn encrypt_with(
    recipient: &PublicKey,
    plaintext: &[u8],
    algorithm: AeadAlgorithm,
) -> Result<EncryptedBlob, EciesError>
Expand description

Encrypt plaintext to recipient with an explicit AEAD choice.