encryptSecretBox

Wrapper around crypto_secretbox_easy. Encrypts a message using a nonce and key and returns the cipher with MAC as a prefix.

ubyte[]
encryptSecretBox
(
in ubyte[] message
,
in Nonce nonce
,
in SecretKey key
)

Meta