crypto_stream_salsa20

The crypto_stream_salsa20() function produces a stream 'c' as a function of a secret key 'key' and a nonce 'nonce'.

void
crypto_stream_salsa20
()
(
ubyte[] c
,
const(ubyte)[] nonce
,
const(ubyte)[] key
)

Parameters

c ubyte[]

resulting stream

nonce const(ubyte)[]

nonce

key const(ubyte)[]

secret key

Return Value

Type: void

ciphertext in 'c'

Meta