GCM.start

Initialize the underlying cipher.

struct GCM(T)
nothrow @nogc
void
start
(,
in ubyte[] key
,
in ubyte[] iv
)
if (
is(T == void) ||
(
T.blockSize == 16
)
)

Parameters

forEncryption bool

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

key ubyte[]

Secret key.

Meta