42 static std::string
GetASCII(
size_t n);
static std::mutex mutex_
OpenSSL's random number generation is not thread-safe.
static ByteVector GetBytes(size_t n)
Generate n random bytes.
std::vector< uint8_t > ByteVector
static std::string GetASCII(size_t n)
Return a random ASCII string.