7 #include <boost/noncopyable.hpp>
11 #ifndef ISC_CRYPTO_RNG_H
12 #define ISC_CRYPTO_RNG_H
15 namespace cryptolink {
22 class RNG :
private boost::noncopyable {
42 virtual std::vector<uint8_t>
random(
size_t len) = 0;
58 std::vector<uint8_t>
random(
size_t len);
63 #endif // ISC_CRYPTO_RNG_H
virtual std::vector< uint8_t > random(size_t len)=0
Generate random value.
Defines the logger used by the top-level component of kea-dhcp-ddns.
virtual ~RNG()
Destructor.
RNG()
Constructor from a Random Number Generator.
boost::shared_ptr< RNG > RNGPtr
std::vector< uint8_t > random(size_t len)
Generate random value.
virtual RNGPtr & getRNG()
Get the global RNG.