degski / aes_random_device

C++17 - cryptographically secure random_device

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

C++17 - cryptographically secure random_device

License:Other


Languages

Language:C++ 100.0%