Dash Core  0.12.2.1
P2P Digital Currency
hash.cpp File Reference
#include "hash.h"
#include "crypto/common.h"
#include "crypto/hmac_sha512.h"
#include "pubkey.h"

Go to the source code of this file.

Functions

uint32_t ROTL32 (uint32_t x, int8_t r)
 
unsigned int MurmurHash3 (unsigned int nHashSeed, const std::vector< unsigned char > &vDataToHash)
 
void BIP32Hash (const ChainCode &chainCode, unsigned int nChild, unsigned char header, const unsigned char data[32], unsigned char output[64])
 

Function Documentation

◆ BIP32Hash()

void BIP32Hash ( const ChainCode chainCode,
unsigned int  nChild,
unsigned char  header,
const unsigned char  data[32],
unsigned char  output[64] 
)

Definition at line 75 of file hash.cpp.

Referenced by CKey::Derive(), and CPubKey::Derive().

◆ MurmurHash3()

unsigned int MurmurHash3 ( unsigned int  nHashSeed,
const std::vector< unsigned char > &  vDataToHash 
)

Definition at line 16 of file hash.cpp.

Referenced by CBloomFilter::Hash().

◆ ROTL32()

uint32_t ROTL32 ( uint32_t  x,
int8_t  r 
)
inline

Definition at line 11 of file hash.cpp.

Referenced by MurmurHash3().