[−][src]Function sodiumoxide::crypto::box_::curve25519xsalsa20poly1305::seal_precomputed
pub fn seal_precomputed(m: &[u8], n: &Nonce, k: &PrecomputedKey) -> Vec<u8>
seal_precomputed()
encrypts and authenticates a message m
using a precomputed key k
,
and a nonce n
. It returns a ciphertext c
.