Bitcoin ABC 0.30.5
P2P Digital Currency
Public Member Functions | Private Attributes | List of all members
SaltedUint256Hasher Class Reference

#include <hasher.h>

Inheritance diagram for SaltedUint256Hasher:
[legend]

Public Member Functions

 SaltedUint256Hasher ()
 
size_t hash (const uint256 &h) const
 
size_t operator() (const uint256 &h) const
 

Private Attributes

const uint64_t k0
 Salt. More...
 
const uint64_t k1
 

Detailed Description

Definition at line 15 of file hasher.h.

Constructor & Destructor Documentation

◆ SaltedUint256Hasher()

SaltedUint256Hasher::SaltedUint256Hasher ( )

Definition at line 10 of file hasher.cpp.

Member Function Documentation

◆ hash()

size_t SaltedUint256Hasher::hash ( const uint256 h) const
inline

Definition at line 23 of file hasher.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ operator()()

size_t SaltedUint256Hasher::operator() ( const uint256 h) const
inline

Definition at line 24 of file hasher.h.

Here is the call graph for this function:

Member Data Documentation

◆ k0

const uint64_t SaltedUint256Hasher::k0
private

Salt.

Definition at line 18 of file hasher.h.

◆ k1

const uint64_t SaltedUint256Hasher::k1
private

Definition at line 18 of file hasher.h.


The documentation for this class was generated from the following files: