forked from ak-fortuna/fortuna
fortuna: add incr_reseed_ctr
This commit is contained in:
parent
b96ce5d644
commit
9f799c83a9
|
@ -23,6 +23,8 @@ namespace fortuna {
|
|||
Fortuna::~Fortuna() = default;
|
||||
|
||||
auto Fortuna::random_data(unsigned int n_bytes) -> void {
|
||||
incr_reseed_ctr();
|
||||
|
||||
std::string n{R.Gen.generate_random_data(n_bytes)};
|
||||
fmt::print("got you {} proper bytes from generate_random_data -> {}\n",
|
||||
n_bytes, n);
|
||||
|
|
Loading…
Reference in New Issue