HashContext.h
Go to the documentation of this file.
HashContext & update(const ByteArray< size_ > &array)
Definition: HashContext.h:86
HashContext & update(const void *data, size_t size)
Definition: HashContext.h:80
HashContext & update(const FSTR::ObjectBase &obj)
Definition: HashContext.h:68
State getState()
Get intermediate hash state.
Definition: HashContext.h:108
void setState(const State &state)
Restore intermediate hash state.
Definition: HashContext.h:123
HashContext & reset()
Reset the context for a new calculation.
Definition: HashContext.h:42
std::array< uint8_t, size_ > ByteArray
Class template for fixed byte array.
Definition: ByteArray.h:24
Class template for a Hash implementation 'Context'.
Definition: HashContext.h:23
size_t read(size_t offset, void *buffer, size_t count) const
Read contents of a String into RAM.
Definition: ObjectBase.hpp:72
Hash calculate(Ts &&... args)
Calculate hash on some data.
Definition: HashContext.h:53
Definition: Blob.h:15
Hash getHash()
Finalise and return the final hash value.
Definition: HashContext.h:96
Definition: HashContext.h:29
1.8.13