Skip to content

degski/aes_random_device

Repository files navigation

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages