[#HashVerifier] = HashVerifier :mrdocs: Reads data from an underlying stream, while hashing the read data. == Synopsis Declared in `<hash.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<typename Source> class HashVerifier : public xref:HashWriter.adoc[HashWriter] ---- == Base Classes [cols="1,4"] |=== | Name| Description | `xref:HashWriter.adoc[HashWriter]` | A writer stream (for serialization) that computes a 256‐bit hash. |=== == Member Functions [cols="1,4"] |=== | Name| Description | xref:HashVerifier/2constructor.adoc[`HashVerifier`] [.small]#[constructor]# | Constructs a verifier that reads from and hashes an underlying source. | xref:HashWriter/GetCheapHash.adoc[`GetCheapHash`] | Returns the first 64 bits from the resulting hash. | xref:HashWriter/GetHash.adoc[`GetHash`] | Compute the double‐SHA256 hash of all data written to this object. | xref:HashWriter/GetSHA256.adoc[`GetSHA256`] | Compute the SHA256 hash of all data written to this object. | xref:HashVerifier/ignore.adoc[`ignore`] | Reads and hashes the given number of bytes without storing them. | xref:HashVerifier/operator_rshift.adoc[`operator>>`] | Deserializes an object from the source, hashing the bytes read. | xref:HashVerifier/read.adoc[`read`] | Reads bytes from the source and feeds them into the hash. | xref:HashWriter/write.adoc[`write`] | Adds data to the running hash. | xref:HashWriter/operator_lshift.adoc[`operator<<`] | Serializes an object into the running hash. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#