A writer stream (for serialization) that computes a 256-bit hash.
More...
#include <hash.h>
A writer stream (for serialization) that computes a 256-bit hash.
Definition at line 100 of file hash.h.
| CHashWriter::CHashWriter |
( |
int |
nTypeIn, |
|
|
int |
nVersionIn |
|
) |
| |
|
inline |
| uint64_t CHashWriter::GetCheapHash |
( |
| ) |
|
|
inline |
Returns the first 64 bits from the resulting hash.
Definition at line 142 of file hash.h.
Compute the double-SHA256 hash of all data written to this object.
Invalidates this object.
Definition at line 122 of file hash.h.
Compute the SHA256 hash of all data written to this object.
Invalidates this object.
Definition at line 133 of file hash.h.
| int CHashWriter::GetType |
( |
| ) |
const |
|
inline |
| int CHashWriter::GetVersion |
( |
| ) |
const |
|
inline |
| void CHashWriter::write |
( |
const char * |
pch, |
|
|
size_t |
size |
|
) |
| |
|
inline |
| const int CHashWriter::nType |
|
private |
| const int CHashWriter::nVersion |
|
private |
The documentation for this class was generated from the following file: