7#include <boost/noncopyable.hpp>
11#ifndef ISC_CRYPTO_RNG_H
12#define ISC_CRYPTO_RNG_H
22class RNG :
private boost::noncopyable {
42 virtual std::vector<uint8_t>
random(
size_t len) = 0;
58std::vector<uint8_t>
random(
size_t len);
virtual RNGPtr const & getRNG() const
Get the global RNG.
RNG()
Constructor from a Random Number Generator.
virtual ~RNG()
Destructor.
virtual std::vector< uint8_t > random(size_t len)=0
Generate random value.
boost::shared_ptr< RNG > RNGPtr
Type representing the pointer to the RNG.
std::vector< uint8_t > random(size_t len)
Generate random value.
uint16_t generateQid()
Generate a Qid.
Defines the logger used by the top-level component of kea-lfc.