IStreamCipher.start

Initialize the cipher.

interface IStreamCipher
@safe
void
start
(,
in ubyte[] key
,
in ubyte[] nonce
)

Parameters

forEncryption bool

Encrypt if true, decrypt if false.

key ubyte[]

Secret key.

nonce ubyte[]

Initialization vector.

Meta