ChaCha.processBytes

struct ChaCha(uint rounds)
@safe nothrow @nogc
ubyte[]
processBytes
(
in ubyte[] input
,
ubyte[] output
)
in { assert (initialized, "ChaCha not initialized."); assert (output.length >= input.length, "Output buffer too small."); }
if (
rounds % 2 == 0
)

Return Value

Type: ubyte[]

Slice pointing to processed data which might be smaller than output.

Meta