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