Function call operators

Synopses

Declared in <crypto/siphash.h>

Equivalent to CSipHasher(k0, k1).Write(val).Finalize().

uint64_t
operator()(uint256 const& val) const noexcept;

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

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

Return Value

The resulting 64‐bit hash.

Parameters

Name

Description

val

The 256‐bit value to hash.

extra

The extra 32‐bit word to hash after val.

Created with MrDocs