diff options
Diffstat (limited to 'flash-src/third-party/com/hurlant/crypto/hash/IHash.as')
-rw-r--r-- | flash-src/third-party/com/hurlant/crypto/hash/IHash.as | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/flash-src/third-party/com/hurlant/crypto/hash/IHash.as b/flash-src/third-party/com/hurlant/crypto/hash/IHash.as new file mode 100644 index 0000000..32c5321 --- /dev/null +++ b/flash-src/third-party/com/hurlant/crypto/hash/IHash.as @@ -0,0 +1,21 @@ +/**
+ * IHash
+ *
+ * An interface for each hash function to implement
+ * Copyright (c) 2007 Henri Torgemane
+ *
+ * See LICENSE.txt for full license information.
+ */
+package com.hurlant.crypto.hash
+{
+ import flash.utils.ByteArray;
+
+ public interface IHash
+ {
+ function getInputSize():uint;
+ function getHashSize():uint;
+ function hash(src:ByteArray):ByteArray;
+ function toString():String;
+ function getPadSize():int;
+ }
+}
\ No newline at end of file |