diff --git a/generator.h b/generator.h index 4fcf4ab..8dd8a31 100644 --- a/generator.h +++ b/generator.h @@ -19,6 +19,10 @@ public: /* n is the number of random bytes to generate */ auto generate_random_data(uint n) -> std::string; + auto is_seeded() const -> bool { + return !(this->G.ctr == 0x00); + }; + private: struct G_state { // 32*8