AEADCipherWrapper

Wrapper class for AEAD ciphers

@safe
class AEADCipherWrapper : IAEADEngine (
T
) if (
isAEADCipher!T
) {}

Inherited Members

From IAEADEngine

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

Initialize the underlying cipher.

name
string name [@property getter]
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.

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