A writer stream (for serialization) that computes a 256-bit hash.
Declared in <hash.h>
class HashWriter;
| Name | Description |
|---|---|
GetCheapHash | Returns the first 64 bits from the resulting hash. |
GetHash | Compute the double-SHA256 hash of all data written to this object. |
GetSHA256 | Compute the SHA256 hash of all data written to this object. |
write | Adds data to the running hash. |
operator<< | Serializes an object into the running hash. |
| Name | Description |
|---|---|
TaggedHash | Return a HashWriter primed for tagged hashes (as specified in BIP 340). |
| Name | Description |
|---|---|
HashVerifier | Reads data from an underlying stream, while hashing the read data. |
HashedSourceWriter | Writes data to an underlying source stream, while hashing the written data. |