diff dcrypt/crypto/Cipher.d @ 2:71aae178f89a

Added copy() to hash functions. Modified some code style.
author Thomas Dixon <reikon@reikon.us>
date Wed, 13 Aug 2008 22:01:19 -0400
parents 0e08791a1418
children
line wrap: on
line diff
--- a/dcrypt/crypto/Cipher.d	Tue Aug 12 05:48:06 2008 -0400
+++ b/dcrypt/crypto/Cipher.d	Wed Aug 13 22:01:19 2008 -0400
@@ -27,12 +27,11 @@
      *     encrypt = True if we are encrypting.
      *     params  = Parameters to be passed to the cipher. (Key, rounds, etc.)
      */
-    abstract void init(bool encrypt, CipherParameters params);
+    void init(bool encrypt, CipherParameters params);
     
     /** Returns: The name of the algorithm of this cipher. */
-    abstract char[] name();
+    char[] name();
     
     /** Reset cipher to its state immediately subsequent the last init. */
-    abstract void reset();
-    
+    void reset();
 }