dcrypt ~master (2018-06-04T17:07:07Z)
Dub
Repo
ChaCha.processBytes
dcrypt
streamcipher
chacha
ChaCha
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
Source
See Implementation
dcrypt
streamcipher
chacha
ChaCha
functions
processBytes
start
static functions
permute