The crypto_stream_xor() function encrypts a message 'msg' using a secret key 'key' and a nonce 'nonce'. The crypto_stream_xor() function returns the ciphertext 'c'.
output slice
nonce
secret key
ciphertext in 'c'
See Implementation
The crypto_stream_xor() function encrypts a message 'msg' using a secret key 'key' and a nonce 'nonce'. The crypto_stream_xor() function returns the ciphertext 'c'.