Function sodiumoxide::crypto::box_::curve25519xsalsa20poly1305::seal    
                   
                       [−]
                   
               [src]
pub fn seal(m: &[u8],
Nonce: &Nonce,
PublicKey: &PublicKey,
SecretKey: &SecretKey)
-> Vec<u8>
seal() encrypts and authenticates a message m using the senders secret key sk,
the receivers public key pk and a nonce n. It returns a ciphertext c.