Function sodiumoxide::crypto::box_::curve25519xsalsa20poly1305::seal_detached_precomputed
[−]
[src]
pub fn seal_detached_precomputed(
m: &mut [u8],
Nonce: &Nonce,
PrecomputedKey: &PrecomputedKey
) -> Tag
seal_detached_precomputed() encrypts and authenticates a message m using a precomputed key
k and a nonce n. m is encrypted in place, so after this function returns it will contain
the ciphertext. The detached authentication tag is returned by value.