BlockCipher.start

Initialize the cipher.

interface BlockCipher
@safe nothrow @nogc
void
start
(,
in ubyte[] userKey
,
in ubyte[] iv = null
)

Parameters

forEncryption bool

if true the cipher is initialised for encryption, if false for decryption.

userKey ubyte[]

A secret key.

iv ubyte[]

A nonce.

Meta