Mercurial > projects > dcrypt
diff dcrypt/crypto/Hash.d @ 33:b9f8aa42a547
More changes suggested by Glenn Haecker for D2 compatibility.
author | Thomas Dixon <reikon@reikon.us> |
---|---|
date | Thu, 14 May 2009 01:33:11 -0400 |
parents | 2b4bccdc8387 |
children |
line wrap: on
line diff
--- a/dcrypt/crypto/Hash.d Tue May 12 22:09:33 2009 -0400 +++ b/dcrypt/crypto/Hash.d Thu May 14 01:33:11 2009 -0400 @@ -41,7 +41,7 @@ { this (string input_) { - return this(cast(ubyte[])input_); + this(cast(ubyte[])input_); } } @@ -162,7 +162,7 @@ * * Returns: Representation of the final hash value in hex. */ - char[] hexDigest() + string hexDigest() { return ByteConverter.hexEncode(digest()); }