Dash Core Source Documentation (0.16.0.1)
Find detailed information regarding the Dash Core source code.
CHash160 Class Reference
A hasher class for Bitcoin's 160-bit hash (SHA-256 + RIPEMD-160). More...
#include <hash.h>
Collaboration diagram for CHash160:
Public Member Functions | |
void | Finalize (unsigned char hash[OUTPUT_SIZE]) |
CHash160 & | Write (const unsigned char *data, size_t len) |
CHash160 & | Reset () |
Static Public Attributes | |
static const size_t | OUTPUT_SIZE = CRIPEMD160::OUTPUT_SIZE |
Private Attributes | |
CSHA256 | sha |
Detailed Description
A hasher class for Bitcoin's 160-bit hash (SHA-256 + RIPEMD-160).
Member Function Documentation
◆ Finalize()
|
inline |
Definition at line 65 of file hash.h.
References CRIPEMD160::Finalize(), CSHA256::Finalize(), CSHA256::OUTPUT_SIZE, sha, and CRIPEMD160::Write().
Referenced by Hash160().
◆ Reset()
|
inline |
Definition at line 76 of file hash.h.
References CSHA256::Reset(), and sha.
◆ Write()
|
inline |
Definition at line 71 of file hash.h.
References sha, and CSHA256::Write().
Referenced by EvalScript(), and Hash160().
Member Data Documentation
◆ OUTPUT_SIZE
|
static |
◆ sha
|
private |
Definition at line 61 of file hash.h.
Referenced by Finalize(), Reset(), and Write().
The documentation for this class was generated from the following file:
- src/hash.h