#include <AsyncResolverRandom.h>
Public Member Functions | |
CAsyncResolverRandom () | |
Construct a new, uninitialised random object. | |
CAsyncResolverRandom (const char data[128]) | |
Construct an initialised random object. | |
void | initialise (const char data[128]) |
Initialise the random object. | |
unsigned int | random (unsigned int n) |
Return a random number modulo n. |
|
Return a random number modulo n. If n is zero then the return is 0. |