diff dcrypt/crypto/Hash.d @ 29:b9ba770b8f16

Second go at D2 compatibility. Changed the hexEncode method of the ByteConverter class and the hexDigest methods of various classes to return char[] instead of string.
author Thomas Dixon <reikon@reikon.us>
date Mon, 11 May 2009 01:39:19 -0400
parents ad687db713a4
children 21847420b1ac
line wrap: on
line diff
--- a/dcrypt/crypto/Hash.d	Sun May 10 22:38:48 2009 -0400
+++ b/dcrypt/crypto/Hash.d	Mon May 11 01:39:19 2009 -0400
@@ -131,7 +131,7 @@
      * 
      * Returns: Representation of the final hash value in hex.
      */
-    string hexDigest()
+    char[] hexDigest()
     {
         return ByteConverter.hexEncode(digest());
     }