| 93 | } |
| 94 | |
| 95 | long int SimpleRandomizer::getRandomNumber(long int to) |
| 96 | { |
| 97 | assert(to > 0); |
| 98 | return std::uniform_int_distribution<long int>(0, to - 1)(*this); |
| 99 | } |
| 100 | |
| 101 | void SimpleRandomizer::getRandomBytes(unsigned char* buf, size_t len) |
| 102 | { |
no outgoing calls
no test coverage detected