|
OpenXPKI::RandomReturn random numbers safe for cryptographic usehttps://www.xkcd.com/221/ ConfigurationIf your system provides /dev/urandom there is no need for any configuration.If you want to use another random source, add the following to the config: system: random: socket: location: '/dev/myentropypool' The source need to be a socket that returns a stream of bytes. If you set location to the empty string, the class will use the system tokens get_random call instead. get_randomThe call expects three positional parameters:
Visit the GSP FreeBSD Man Page Interface. |