cryptographically-secure stl-style random_device
, a wrapper around aes-stream
(Frank Denis) and libsodium
(Frank Denis)
prng is default-fully-seeded with std::random_device
.
- requires a modern Intel or AMD CPU with AES-NI support
- aes_random_device() can be called indefinitely without having to reseed the generator
- thread-safe, using tls, define SAX_AES_RANDOM_DEVICE_USE_TLS=0 to disable, tls is the default
- libsodium
- aes-stream
- C++17 and a corresponding STL-library
- BSD 3-Clause "Simplified" License