Return a good seed for a random number generator.

Synopsis

Declared in <folly/Random.h>

uint32_t
randomNumberSeed();

Description

Note that this is a legacy function, as it returns a 32‐bit value, which is too small to be useful as a "real" RNG seed. Use the functions in class Random instead.

Return Value

A 32‐bit seed value.

Created with MrDocs