AEADCipher.start

initialize the underlying cipher. Parameter can either be an AEADParameters or a ParametersWithIV object.

interface AEADCipher
nothrow @nogc
void
start
(,
in ubyte[] key
,
in ubyte[] iv
,
in uint macSize = 0
)

Parameters

forEncryption bool

true if we are setting up for encryption, false otherwise.

macSize uint

Size of mac tag in bits.

Meta