HmacContext.h
Go to the documentation of this file.
HmacContext(const Secret &key)
Initialise HMAC context with key.
Definition: HmacContext.h:41
std::array< uint8_t, size_ > ByteArray
Class template for fixed byte array.
Definition: ByteArray.h:24
HmacContext & init(const Secret &key)
Initialise HMAC with key.
Definition: HmacContext.h:50
HashContext & reset(EngineArgs &&... engineArgs)
Reset the context for a new calculation.
Definition: HashContext.h:41
HmacContext & update(Ts &&... args)
Update HMAC with some message content.
Definition: HmacContext.h:82
Class template for a Hash implementation 'Context'.
Definition: HashContext.h:22
Hash calculate(Ts &&... args)
Calculate hash for some data.
Definition: HmacContext.h:108
Definition: Blake2s.h:18
Hash getHash()
Finalise and return the final hash value.
Definition: HashContext.h:95