comparison dcrypt/crypto/MAC.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
comparison
equal deleted inserted replaced
32:2b4bccdc8387 33:b9f8aa42a547
55 55
56 /** Returns: The computed MAC. */ 56 /** Returns: The computed MAC. */
57 ubyte[] digest(); 57 ubyte[] digest();
58 58
59 /** Returns: The computed MAC in hexadecimal. */ 59 /** Returns: The computed MAC in hexadecimal. */
60 char[] hexDigest() 60 string hexDigest()
61 { 61 {
62 return ByteConverter.hexEncode(digest()); 62 return ByteConverter.hexEncode(digest());
63 } 63 }
64 } 64 }