Skip to content

Latest commit

 

History

History
24 lines (14 loc) · 770 Bytes

README.md

File metadata and controls

24 lines (14 loc) · 770 Bytes

aes_random_device

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.

limitations

  • requires a modern Intel or AMD CPU with AES-NI support
  • aes_random_device() can be called indefinitely without having to reseed the generator

concurrency

  • thread-safe, using tls, define SAX_AES_RANDOM_DEVICE_USE_TLS=0 to disable, tls is the default

dependencies

license

  • BSD 3-Clause "Simplified" License