#include <p6random.h>
The interface published by the global entropy service.
It can be retrieved using the p6IRunningIface::findInterfaceByString() method and should always be used instead of a separate p6IRandom interface unless you have specific a specific need (eg. providing your own entropy source for seeding p6IRandom).
This service can be disabled in the server.conf. By default the service is enabled. Following is and example:
Possible values for enable are true|false.
The quality of the entropy source can also be specified in the config. For example:
The default is high. Possible values for quality are hight|low. This is a hint for platforms that provide different quality entropy sources. It will be ignored on platforms that do not support this.