Feathercoin  0.5.0
P2P Digital Currency
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros
Classes | Functions
hash.h File Reference
#include "uint256.h"
#include "serialize.h"
#include <openssl/sha.h>
#include <openssl/ripemd.h>
#include <vector>
Include dependency graph for hash.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  CHashWriter
 

Functions

template<typename T1 >
uint256 Hash (const T1 pbegin, const T1 pend)
 
template<typename T1 , typename T2 >
uint256 Hash (const T1 p1begin, const T1 p1end, const T2 p2begin, const T2 p2end)
 
template<typename T1 , typename T2 , typename T3 >
uint256 Hash (const T1 p1begin, const T1 p1end, const T2 p2begin, const T2 p2end, const T3 p3begin, const T3 p3end)
 
template<typename T >
uint256 SerializeHash (const T &obj, int nType=SER_GETHASH, int nVersion=PROTOCOL_VERSION)
 
template<typename T1 >
uint160 Hash160 (const T1 pbegin, const T1 pend)
 
uint160 Hash160 (const std::vector< unsigned char > &vch)
 
unsigned int MurmurHash3 (unsigned int nHashSeed, const std::vector< unsigned char > &vDataToHash)
 

Function Documentation

template<typename T1 >
uint256 Hash ( const T1  pbegin,
const T1  pend 
)
inline

Definition at line 16 of file hash.h.

template<typename T1 , typename T2 >
uint256 Hash ( const T1  p1begin,
const T1  p1end,
const T2  p2begin,
const T2  p2end 
)
inline

Definition at line 67 of file hash.h.

template<typename T1 , typename T2 , typename T3 >
uint256 Hash ( const T1  p1begin,
const T1  p1end,
const T2  p2begin,
const T2  p2end,
const T3  p3begin,
const T3  p3end 
)
inline

Definition at line 83 of file hash.h.

template<typename T1 >
uint160 Hash160 ( const T1  pbegin,
const T1  pend 
)
inline

Definition at line 109 of file hash.h.

uint160 Hash160 ( const std::vector< unsigned char > &  vch)
inline

Definition at line 119 of file hash.h.

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

Definition at line 8 of file hash.cpp.

template<typename T >
uint256 SerializeHash ( const T &  obj,
int  nType = SER_GETHASH,
int  nVersion = PROTOCOL_VERSION 
)

Definition at line 101 of file hash.h.