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:
@@ -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