Writes data to an underlying source stream, while hashing the written data.
Synopsis
Declared in <hash.h>
template<typename Source>
class HashedSourceWriter
: public HashWriter
Base Classes
Name |
Description |
A writer stream (for serialization) that computes a 256‐bit hash. |
Member Functions
Name |
Description |
|
Constructs a writer that writes to and hashes an underlying source. |
Returns the first 64 bits from the resulting hash. |
|
Compute the double‐SHA256 hash of all data written to this object. |
|
Compute the SHA256 hash of all data written to this object. |
|
Writes bytes to the source and feeds them into the hash. |
|
Serializes an object to the source, hashing the bytes written. |
Created with MrDocs