Combine the specified input into the state of the specified hashAlg.

Synopsis

Declared in <bslh_hash.h>

template<
    class HASH_ALGORITHM,
    class TYPE,
    size_t N>
void
hashAppend(
    HASH_ALGORITHM& hashAlg,
    TYPE const(& input)[]);

Description

Passes the specified input into the specified hashAlg to be combined into the internal state of the algorithm which is used to produce the resulting hash value. Note that the elements in input will be hashed one at a time by calling hashAppend because the (template parameter) TYPE might not be hashable as a contiguous sequence of bytes.

Parameters

Name

Description

hashAlg

hashing algorithm to update

input

array whose elements to incorporate into the hash

Created with MrDocs