summaryrefslogtreecommitdiff
path: root/flash-src/third-party/com/hurlant/crypto/prng/IPRNG.as
diff options
context:
space:
mode:
Diffstat (limited to 'flash-src/third-party/com/hurlant/crypto/prng/IPRNG.as')
-rw-r--r--flash-src/third-party/com/hurlant/crypto/prng/IPRNG.as20
1 files changed, 20 insertions, 0 deletions
diff --git a/flash-src/third-party/com/hurlant/crypto/prng/IPRNG.as b/flash-src/third-party/com/hurlant/crypto/prng/IPRNG.as
new file mode 100644
index 0000000..2c61e93
--- /dev/null
+++ b/flash-src/third-party/com/hurlant/crypto/prng/IPRNG.as
@@ -0,0 +1,20 @@
+/**
+ * IPRNG
+ *
+ * An interface for classes that can be used a pseudo-random number generators
+ * Copyright (c) 2007 Henri Torgemane
+ *
+ * See LICENSE.txt for full license information.
+ */
+package com.hurlant.crypto.prng
+{
+ import flash.utils.ByteArray;
+
+ public interface IPRNG {
+ function getPoolSize():uint;
+ function init(key:ByteArray):void;
+ function next():uint;
+ function dispose():void;
+ function toString():String;
+ }
+} \ No newline at end of file