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

Name

Description

result_type

Typedef indicating the value type returned by this algorithm.

Enums

Name

Description

Unnamed enum

Compile‐time constants for this seeded hash algorithm.

Member Functions

Name

Description

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.

Created with MrDocs