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 100 of file hash.h.
◆ GetCheapHash()
uint64_t HashWriter::GetCheapHash |
( |
| ) |
|
|
inline |
Returns the first 64 bits from the resulting hash.
Definition at line 135 of file hash.h.
◆ GetHash()
Compute the double-SHA256 hash of all data written to this object.
Invalidates this object.
Definition at line 115 of file hash.h.
◆ GetSHA256()
Compute the SHA256 hash of all data written to this object.
Invalidates this object.
Definition at line 126 of file hash.h.
◆ operator<<()
◆ write()
void HashWriter::write |
( |
Span< const std::byte > |
src | ) |
|
|
inline |
◆ ctx
The documentation for this class was generated from the following file: