A writer stream (for serialization) that computes a 256‐bit hash.
Synopsis
Declared in <hash.h>
class HashWriter;
Member Functions
Name |
Description |
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. |
|
Adds data to the running hash. |
|
Serializes an object into the running hash. |
Non-Member Functions
Name |
Description |
Return a HashWriter primed for tagged hashes (as specified in BIP 340). |
Derived Classes
Name |
Description |
Reads data from an underlying stream, while hashing the read data. |
|
Writes data to an underlying source stream, while hashing the written data. |
Created with MrDocs