#include <FXSecure.h>
The great trouble with a source of true entropy like FX::Secure::Randomness is that there is very little new random information accumulated by a computer with time (unless additional hardware is fitted). Therefore it makes sense to seed a cryptographically secure random number generator with true randomness and use the generator to generate lots of nearly true randomness. This is similar to normal pseudo random number generators such as fxrandom()
, but the output is far more random plus the generated sequence is far longer.
Definition at line 185 of file FXSecure.h.
Static Public Member Functions | |
static FXuval | readBlock (FXuchar *buffer, FXuval length) |
static void | freshen (FXuval amount) |
static FXuval | size () |