I stumbled across this awhile back and was surprised by its depth compared to <laughin> rand().
https://en.cppreference.com/w/cpp/numeric/random
None of these random number engines are cryptographically secure. As with
any secure operation, a crypto library should be used for the purpose (e.g.
OpenSSL RAND_bytes).
All types instantiated from these templates meet the RandomNumberEngine
requirements.
Defined in header <random>
linear_congruential_engine (C++11) implements linear congruential algorithm
mersenne_twister_engine (C++11) implements Mersenne twister algorithm
subtract_with_carry_engine (C++11) implements a subtract-with-carry (lagged
Fibonacci) algorithm
philox_engine (C++26) a counter-based parallelizable generator
Just a tiny part of that page.
--
The generation of random numbers is too important to be left to chance. Robert R. Coveyou, Oak Ridge National Laboratory.
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)