A writer stream (for serialization) that computes a 256-bit hash.
More...
#include <hash.h>
A writer stream (for serialization) that computes a 256-bit hash.
Definition at line 99 of file hash.h.
◆ GetCheapHash()
Returns the first 64 bits from the resulting hash.
Definition at line 136 of file hash.h.
◆ GetHash()
Compute the double-SHA256 hash of all data written to this object.
Invalidates this object.
Definition at line 113 of file hash.h.
◆ GetSHA256()
Compute the SHA256 hash of all data written to this object.
Invalidates this object.
Definition at line 127 of file hash.h.
◆ operator<<()
HashWriter & HashWriter::operator<< |
( |
const T & |
obj | ) |
|
|
inline |
◆ write()
void HashWriter::write |
( |
Span< const std::byte > |
src | ) |
|
|
inline |
◆ ctx
The documentation for this class was generated from the following file: