GCMCipher.start

initialize the underlying cipher..

class GCMCipher
nothrow @nogc
void
start
(,
in ubyte[] key
,
in ubyte[] iv
,
in uint macSize = 128
)

Parameters

forEncryption bool

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

key ubyte[]

Secret key.

iv ubyte[]

None.

macSize uint

Size of mac tag in bits.

Meta