summaryrefslogtreecommitdiff
path: root/src/stable/randomsystem.h
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2012-11-27 17:42:41 +0000
committerMike Buland <eichlan@xagasoft.com>2012-11-27 17:42:41 +0000
commit223e2986ad7752d38ce24d1cbeff47db98df1ae3 (patch)
treeb771b61ac7ae960909c7f670baf70726f8ffe01a /src/stable/randomsystem.h
parent21df391dc6055884e621181cbc3b51d9ec2b095c (diff)
downloadlibbu++-223e2986ad7752d38ce24d1cbeff47db98df1ae3.tar.gz
libbu++-223e2986ad7752d38ce24d1cbeff47db98df1ae3.tar.bz2
libbu++-223e2986ad7752d38ce24d1cbeff47db98df1ae3.tar.xz
libbu++-223e2986ad7752d38ce24d1cbeff47db98df1ae3.zip
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.
Diffstat (limited to 'src/stable/randomsystem.h')
-rw-r--r--src/stable/randomsystem.h10
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 @@
12namespace Bu 12namespace 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: