IStreamCipher.start

Initialize the cipher.

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

Parameters

forEncryption
Type: bool

Encrypt if true, decrypt if false.

key
Type: ubyte[]

Secret key.

nonce
Type: ubyte[]

Initialization vector.

Meta