Takes a RandomStream (ex: SystemEntropyStream or HashDRBGStream) and
wraps it into a UniformRNG InputRange.
Note that to conform to the expected InputRange interface, this must keep a
copy of the last generated value in memory. If using this for security-related
purposes, it may occasionally be appropriate to make an extra popFront()
call before and/or after retreiving entropy values. This may decrease the
chance of using a compromized entropy value in the event of a
memory-sniffing attacker.
Takes a RandomStream (ex: SystemEntropyStream or HashDRBGStream) and wraps it into a UniformRNG InputRange.
Note that to conform to the expected InputRange interface, this must keep a copy of the last generated value in memory. If using this for security-related purposes, it may occasionally be appropriate to make an extra popFront() call before and/or after retreiving entropy values. This may decrease the chance of using a compromized entropy value in the event of a memory-sniffing attacker.
Declaration: