GCM.doFinal

Finish the operation by either appending or verifying the MAC at the end of the data.

struct GCM(T)
size_t
doFinal
(
ubyte[] output
)
if (
is(T == void) ||
(
isBlockCipher!T &&
T.blockSize == 16
)
)

Return Value

Type: size_t

number of bytes written into out.

Throws

InvalidCipherTextException if the MAC does not match.

Meta