#include <attributes.h>
#include <crypto/common.h>
#include <crypto/ripemd160.h>
#include <crypto/sha256.h>
#include <prevector.h>
#include <serialize.h>
#include <uint256.h>
#include <version.h>
#include <vector>
Go to the source code of this file.
|
template<typename T > |
uint256 | Hash (const T &in1) |
| Compute the 256-bit hash of an object. More...
|
|
template<typename T1 , typename T2 > |
uint256 | Hash (const T1 &in1, const T2 &in2) |
| Compute the 256-bit hash of the concatenation of two objects. More...
|
|
template<typename T1 > |
uint160 | Hash160 (const T1 &in1) |
| Compute the 160-bit hash an object. More...
|
|
template<typename T > |
uint256 | SerializeHash (const T &obj, int nType=SER_GETHASH, int nVersion=PROTOCOL_VERSION) |
| Compute the 256-bit hash of an object's serialization. More...
|
|
uint32_t | MurmurHash3 (uint32_t nHashSeed, Span< const uint8_t > vDataToHash) |
|
void | BIP32Hash (const ChainCode &chainCode, uint32_t nChild, uint8_t header, const uint8_t data[32], uint8_t output[64]) |
|
◆ ChainCode
◆ BIP32Hash()
void BIP32Hash |
( |
const ChainCode & |
chainCode, |
|
|
uint32_t |
nChild, |
|
|
uint8_t |
header, |
|
|
const uint8_t |
data[32], |
|
|
uint8_t |
output[64] |
|
) |
| |
◆ Hash() [1/2]
Compute the 256-bit hash of an object.
Definition at line 75 of file hash.h.
◆ Hash() [2/2]
template<typename T1 , typename T2 >
uint256 Hash |
( |
const T1 & |
in1, |
|
|
const T2 & |
in2 |
|
) |
| |
|
inline |
Compute the 256-bit hash of the concatenation of two objects.
Definition at line 83 of file hash.h.
◆ Hash160()
Compute the 160-bit hash an object.
Definition at line 93 of file hash.h.
◆ MurmurHash3()
uint32_t MurmurHash3 |
( |
uint32_t |
nHashSeed, |
|
|
Span< const uint8_t > |
vDataToHash |
|
) |
| |
◆ SerializeHash()
Compute the 256-bit hash of an object's serialization.
Definition at line 225 of file hash.h.