crypto_stream

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

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

Parameters

c ubyte[]

output slice

nonce const(ubyte)[]

nonce

key const(ubyte)[]

secret key

Return Value

Type: void

stream in 'c'

Meta