HSalsa

pure nothrow @nogc
ubyte[32]
HSalsa
(
uint rounds = 20
)
(
in ubyte[] key
,
in ubyte[] nonce
)
if (
rounds == 12 ||
rounds == 20
)

Parameters

key ubyte[]

32 byte key.

nonce ubyte[]

24 byte nonce.

Return Value

Type: ubyte[32]

256 bit value.

Meta