dcrypt v0.0.7 (2015-12-06T17:48:29Z)
Dub
Repo
Salsa.initState
dcrypt
crypto
engines
salsa
Salsa
struct
Salsa
(uint rounds = 20, bool xsalsa = false)
@
nogc
nothrow static nothrow @
nogc
void
initState
(
ref
uint
[16]
state
,
in
ubyte
[]
keyBytes
,
in
uint
counter
,
in
ubyte
[]
ivBytes
)
if
(
rounds
== 12 ||
rounds
== 20
)
Parameters
keyBytes
ubyte
[]
key, 16 or 32 bytes.
ivBytes
ubyte
[]
iv, exactly 8 bytes.
Meta
Source
See Implementation
dcrypt
crypto
engines
salsa
Salsa
destructors
~this
functions
processBytes
reset
returnByte
start
manifest constants
name
static functions
block
initState