From 223e2986ad7752d38ce24d1cbeff47db98df1ae3 Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Tue, 27 Nov 2012 17:42:41 +0000 Subject: Added a few comments and fixed a string unit test, it assumed hex would be upper case by default and now it's lower case. --- src/stable/randomsystem.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'src/stable/randomsystem.h') diff --git a/src/stable/randomsystem.h b/src/stable/randomsystem.h index 63b40f3..6692e58 100644 --- a/src/stable/randomsystem.h +++ b/src/stable/randomsystem.h @@ -12,6 +12,16 @@ namespace Bu { class File; + /** + * Access to operating system provided random number generation. On linux + * this will provide access to /dev/random or /dev/urandom depending on + * weather Fast or Good is selected. On Linux systems Good random number + * generation can block while organic sources are use to gather entropy, so + * Fast is the default, it will always provide a result. + * + * On Windows this uses the Windows system cryptographic level random number + * generation services. Or at least, it will when I get to it. Sorry. + */ class RandomSystem : public RandomBase { public: -- cgit v1.2.3