Create a bslh::SipHashAlgorithm seeded with the specified seed.
Synopsis
Declared in <bslh_siphashalgorithm.h>
explicit
SipHashAlgorithm(char const* seed);
Description
Create a bslh::SipHashAlgorithm, seeded with a 128‐bit (k_SEED_LENGTH bytes) seed pointed to by the specified seed. Each bit of the supplied seed will contribute to the final hash produced by computeHash(). The behaviour is undefined unless seed points to at least 16 bytes of initialized memory. Note that if data in seed is not random, all guarantees of security and Denial of Service (DoS) protection are void.
Parameters
Name |
Description |
seed |
seed of |
Created with MrDocs