Added a method to GPrng to get a random uint32, which is about twice as fast as GetRandom<uint32_t>

This commit is contained in:
Leonetienne committed 2022-05-26 12:52:04 +02:00
1 parent 6a5b9c1287
commit f4df0f9ae5
2 files changed
+49

No files matched your search

+3
View File
@@ -46,6 +46,9 @@ namespace Leonetienne::GCrypt {
return t;
}
//! Will return a random unsigned 32-bit integer
std::uint32_t operator()();
//! Will return a random block
Block GetBlock();