diff options
Diffstat (limited to 'src/stable/randomsystem.h')
-rw-r--r-- | src/stable/randomsystem.h | 10 |
1 files changed, 10 insertions, 0 deletions
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 @@ | |||
12 | namespace Bu | 12 | namespace Bu |
13 | { | 13 | { |
14 | class File; | 14 | class File; |
15 | /** | ||
16 | * Access to operating system provided random number generation. On linux | ||
17 | * this will provide access to /dev/random or /dev/urandom depending on | ||
18 | * weather Fast or Good is selected. On Linux systems Good random number | ||
19 | * generation can block while organic sources are use to gather entropy, so | ||
20 | * Fast is the default, it will always provide a result. | ||
21 | * | ||
22 | * On Windows this uses the Windows system cryptographic level random number | ||
23 | * generation services. Or at least, it will when I get to it. Sorry. | ||
24 | */ | ||
15 | class RandomSystem : public RandomBase | 25 | class RandomSystem : public RandomBase |
16 | { | 26 | { |
17 | public: | 27 | public: |