BloombergLP::bslh::DefaultSeededHashAlgorithm

This class wraps an unspecified default seeded hashing algorithm.

Synopsis

Declared in <bslh_defaultseededhashalgorithm.h>

class DefaultSeededHashAlgorithm;

Description

This class wraps an unspecified default hashing algorithm, which takes a seed, that is appropriate for general purpose use such as generating hashes for a hash table.

Type Aliases

NameDescription
result_type Typedef indicating the value type returned by this algorithm.

Enums

NameDescription
Unnamed enum Compile-time constants for this seeded hash algorithm.

Member Functions

NameDescription
DefaultSeededHashAlgorithm [constructor]Create a bslh::DefaultSeededHashAlgorithm seeded with the specified seed.
computeHash Return the finalized hash value accumulated by this algorithm.
operator() Incorporate the specified data of numBytes into the hash state.