pub fn seal(m: &[u8], n: &Nonce, pk: &PublicKey, sk: &SecretKey) -> Vec<u8> ⓘ
Expand description
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
.