Function askar_crypto::encrypt::crypto_box::crypto_box_seal[][src]

pub fn crypto_box_seal(
    recip_pk: &X25519KeyPair,
    message: &[u8]
) -> Result<SecretBytes, Error>
This is supported on crate feature crypto_box only.
Expand description

Encrypt a message for a recipient using an ephemeral key and deterministic nonce