CBC.start

Initialize the cipher and, possibly, the initialization vector (IV). If the cipher is already initialized a new IV can be set without the overhead of a new key setup: init(forEncryption, null, newIV)

struct CBC(Cipher)
nothrow @nogc
void
start
(,
in ubyte[] userKey
,
in ubyte[] iv = null
)
if ()

Parameters

forEncryption bool

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

Meta