proxygen
fizz::RandomGenerator< Size > Struct Template Reference

#include <RandomGenerator.h>

Public Member Functions

std::array< uint8_t, Size > generateRandom ()
 

Detailed Description

template<size_t Size>
struct fizz::RandomGenerator< Size >

Definition at line 17 of file RandomGenerator.h.

Member Function Documentation

template<size_t Size>
std::array<uint8_t, Size> fizz::RandomGenerator< Size >::generateRandom ( )
inline

Returns an array of random data.

Definition at line 21 of file RandomGenerator.h.

References random(), and value.

21  {
22  std::array<uint8_t, Size> random;
23  randombytes_buf(random.data(), Size);
24  return random;
25  }
Integral2 random(Integral1 low, Integral2 up)

The documentation for this struct was generated from the following file: