The crypto_stream_salsa20() function produces a stream 'c' as a function of a secret key 'key' and a nonce 'nonce'.
resulting stream
nonce
secret key
ciphertext in 'c'
See Implementation
The crypto_stream_salsa20() function produces a stream 'c' as a function of a secret key 'key' and a nonce 'nonce'.