IAEADEngine.finish

Close the AEAD cipher by producing the remaining output and a authentication tag.

interface IAEADEngine
size_t
finish
(
ubyte[] macBuf
,
ubyte[] output
)

Parameters

macBuf
Type: ubyte[]

Buffer for the MAC tag.

output
Type: ubyte[]

Buffer for remaining output data.

Note: In decryption mode this does not verify the integrity of the data. Verification has to be done by the programmer!

Meta