PresaltedSipHasher::operator()

Equivalent to CSipHasher(k0, k1).Write(val).Write(extra).Finalize(), with extra encoded as 4 little-endian bytes.

Synopsis

Declared in <crypto/siphash.h>

uint64_t
operator()(
    uint256 const& val,
    uint32_t extra) const noexcept;

Return Value

The resulting 64-bit hash.

Parameters

NameDescription
valThe 256-bit value to hash.
extraThe extra 32-bit word to hash after val.