BloombergLP::bslh::SeedGenerator::generateSeed

Generate a seed of the specified seedLength bytes and store it at the specified seedLocation. The seed will be generated with bytes from the random number generator supplied at construction. All of the returned bytes will come from the RNG, meaning if the requested seed is larger than the return type of the RNG, the RNG will be called multiple times. The behaviour is undefined unless the memory at seedLocation can store seedLength bytes.

Synopsis

Declared in <bslh_seedgenerator.h>

void
generateSeed(
    char* seedLocation,
    size_t seedLength);