summaryrefslogtreecommitdiff
path: root/lib/crypto/Random.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/crypto/Random.h')
-rwxr-xr-xlib/crypto/Random.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/lib/crypto/Random.h b/lib/crypto/Random.h
new file mode 100755
index 00000000..da3e4335
--- /dev/null
+++ b/lib/crypto/Random.h
@@ -0,0 +1,25 @@
+// --------------------------------------------------------------------------
+//
+// File
+// Name: Random.h
+// Purpose: Random numbers
+// Created: 31/12/03
+//
+// --------------------------------------------------------------------------
+
+#ifndef RANDOM__H
+#define RANDOM__H
+
+#include <string>
+
+namespace Random
+{
+ void Initialise();
+ void Generate(void *pOutput, int Length);
+ std::string GenerateHex(int Length);
+ uint32_t RandomInt(uint32_t MaxValue);
+};
+
+
+#endif // RANDOM__H
+