The crypto_box_seal() function encrypts a message m for a recipient whose public key is pkey.
It puts the ciphertext whose length is crypto_box_SEALBYTES + m.length into c.
The function creates a new key pair for each message, and attaches the public key to the ciphertext.
The secret key is overwritten and is not accessible after this function returns.
The crypto_box_seal() function encrypts a message m for a recipient whose public key is pkey. It puts the ciphertext whose length is crypto_box_SEALBYTES + m.length into c. The function creates a new key pair for each message, and attaches the public key to the ciphertext. The secret key is overwritten and is not accessible after this function returns.