23 const std::string &tmpdir,
26 unsigned char data[16];
void rand_fill(T &obj)
Fill a data object with random bytes.
Abstract base class for cryptographically strong random number generators.
std::string basename(const std::string &path)
std::string join(const std::string &p1, const std::string &p2)
Support deferred server-side state creation when client connects.
std::string tmp_filename(const std::string &fn, const std::string &tmpdir, StrongRandomAPI &rng)
std::string render_hex(const unsigned char *data, size_t size, const bool caps=false)
Implementation of the base classes for random number generators.