Combine the specified input into the state of the specified hashAlg.
Synopsis
Declared in <bslh_hash.h>
template<
class HASH_ALGORITHM,
size_t N>
void
hashAppend(
HASH_ALGORITHM& hashAlg,
char(& 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 entire char array will be hashed in only one call to hashAlg. Also note that this hashAppend exists because some platforms don't recognize that adding a const qualifier is a better match for arrays than decaying to a pointer and using the hashAppend function for pointers.
Parameters
Name |
Description |
hashAlg |
hashing algorithm to update |
input |
character array to incorporate into the hash |
Created with MrDocs