generator wip: add time_to_reseed() member function
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
ef418cf89c
commit
f5563397ee
|
@ -43,6 +43,15 @@ auto Generator::get_state() const -> G_state {
|
|||
return G;
|
||||
}
|
||||
|
||||
auto Generator::time_to_reseed() const -> bool {
|
||||
// TODO(me): implement this
|
||||
if (true) {
|
||||
return true;
|
||||
} else {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
auto Generator::reseed(const std::string& s) -> void {
|
||||
// ref: https://www.cryptopp.com/wiki/SecBlock
|
||||
std::string da_key(reinterpret_cast<const char*>(&G.k[0]),
|
||||
|
|
Reference in New Issue