Salsa20.start

Initialize the cipher.

struct Salsa20
nothrow @nogc
void
start
(,
in ubyte[] key
,
in ubyte[] iv
)

Parameters

forEncryption bool

Not used because encryption and decryption is actually the same.

key ubyte[]

secret key

iv ubyte[]

Use a unique nonce per key.

Meta