A hasher class for Bitcoin's 256‐bit hash (double SHA‐256).

Synopsis

Declared in <hash.h>

class CHash256;

Member Functions

Name

Description

Finalize

Writes the final double‐SHA‐256 hash into the output buffer.

Reset

Resets the hasher to its initial state.

Write

Adds more data to be hashed.

Static Data Members

Name

Description

OUTPUT_SIZE

Size in bytes of the produced hash.

Created with MrDocs