...
This may not be sufficiently random for concurrent execution, where it may lead to correlated generated series in different threads, or for small embedded systems that have an unsigned int
type with a width of 16 bits. Note that the POSIX (The POSIX standard specifies a minimum width of 32 bits for unsigned int
. However, prior to the 2001 edition, POSIX.1 allowed 16 bit unsigned int
). Depending Depending on the application and the desired level of security, a programmer may choose alternative ways to seed PRNGs. In general, hardware is more capable than software of generating real random numbers (for example, by sampling the thermal noise of a diode).
...
...