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

#include <salteduint256hasher.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 11 of file salteduint256hasher.h.

Constructor & Destructor Documentation

◆ SaltedUint256Hasher()

SaltedUint256Hasher::SaltedUint256Hasher ( )

Definition at line 4 of file salteduint256hasher.cpp.

Member Function Documentation

◆ hash()

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

Definition at line 19 of file salteduint256hasher.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 20 of file salteduint256hasher.h.

Here is the call graph for this function:

Member Data Documentation

◆ k0

const uint64_t SaltedUint256Hasher::k0
private

Salt.

Definition at line 14 of file salteduint256hasher.h.

◆ k1

const uint64_t SaltedUint256Hasher::k1
private

Definition at line 14 of file salteduint256hasher.h.


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