IAEADEngine

Undocumented in source.

Members

Functions

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

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

getOutputSize
size_t getOutputSize(size_t len)
getUpdateOutputSize
size_t getUpdateOutputSize(size_t len)
processAADBytes
void processAADBytes(ubyte[] aad)

Process additional authenticated data.

processBytes
ubyte[] processBytes(ubyte[] input, ubyte[] output)

Encrypt or decrypt a block of bytes.

start
void start(bool forEncryption, ubyte[] key, ubyte[] nonce)

Initialize the underlying cipher.

Properties

name
string name [@property getter]

Meta