Reads data from an underlying stream, while hashing the read data.
Synopsis
Declared in <hash.h>
template<typename Source>
class HashVerifier
: public HashWriter
Base Classes
Name |
Description |
A writer stream (for serialization) that computes a 256‐bit hash. |
Member Functions
Name |
Description |
|
Constructs a verifier that reads from 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. |
|
Reads and hashes the given number of bytes without storing them. |
|
Deserializes an object from the source, hashing the bytes read. |
|
Reads bytes from the source and feeds them into the hash. |
|
Adds data to the running hash. |
|
Serializes an object into the running hash. |
Created with MrDocs