IAEADEngine

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(in ubyte[] aad)

Process additional authenticated data.

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

Encrypt or decrypt a block of bytes.

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

Initialize the underlying cipher.

Properties

name
string name [@property getter]

Meta