1#ifndef TENDUKE_UTL_RANDOM_INSECURERANDOMBYTES_H 
    2#define TENDUKE_UTL_RANDOM_INSECURERANDOMBYTES_H 
    4#include "./RandomBytes.h" 
   30    void generate(
unsigned char *buffer, 
size_t bufferLength) 
override;
 
   33    std::random_device device;
 
   34    std::mt19937 generator;
 
   35    std::uniform_int_distribution<std::mt19937::result_type> distribution;
 
 
 
InsecureRandomBytes()
Constructs new instance.
Definition InsecureRandomBytes.cpp:5
 
void generate(unsigned char *buffer, size_t bufferLength) override
Fills the given buffer with insecurely generated random bytes.
Definition InsecureRandomBytes.cpp:12
 
Generates random bytes.
Definition RandomBytes.h:13
 
Random number / string generation.
Definition InsecureRandomBytes.h:8
 
Utilities.
Definition Base64Decoder.h:10
 
Root for classes, functions and globals of 10Duke C++ Client.
Definition APIRequest.h:4