secretBox

Encrypt message using key and a newly generated nonce. Return a SecreBox with the encrypted ciphertext and the generated nonce.

secretBox
(
in ubyte[] message
,
in SecretKey key
)

Meta