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:
1 parent
6a5b9c1287
commit
f4df0f9ae5
2 files changed
+49
No files matched your search
@@ -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();
|
||||
|
||||
|
||||
Reference in new issue
Block a user