AEADCipherWrapper

Wrapper class for AEAD ciphers

Members

Functions

finish
size_t finish(ubyte[] macBuf, ubyte[] output)
Undocumented in source. Be warned that the author may not have intended to support it.
getOutputSize
size_t getOutputSize(size_t len)
Undocumented in source. Be warned that the author may not have intended to support it.
getUpdateOutputSize
size_t getUpdateOutputSize(size_t len)
Undocumented in source. Be warned that the author may not have intended to support it.
processAADBytes
void processAADBytes(ubyte[] aad)
Undocumented in source. Be warned that the author may not have intended to support it.
processBytes
ubyte[] processBytes(ubyte[] input, ubyte[] output)
Undocumented in source. Be warned that the author may not have intended to support it.
start
void start(bool forEncryption, ubyte[] key, ubyte[] iv)
Undocumented in source. Be warned that the author may not have intended to support it.

Properties

name
string name [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.

Inherited Members

From IAEADEngine

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

Initialize the underlying cipher.

name
string name [@property getter]
processAADBytes
void processAADBytes(ubyte[] aad)

Process additional authenticated data.

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

Encrypt or decrypt a block of bytes.

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

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

getUpdateOutputSize
size_t getUpdateOutputSize(size_t len)
getOutputSize
size_t getOutputSize(size_t len)

Meta