comparison dcrypt/crypto/MAC.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 2b4bccdc8387
comparison
equal deleted inserted replaced
28:ad687db713a4 29:b9ba770b8f16
46 46
47 /** Returns: The computed MAC. */ 47 /** Returns: The computed MAC. */
48 ubyte[] digest(); 48 ubyte[] digest();
49 49
50 /** Returns: The computed MAC in hexadecimal. */ 50 /** Returns: The computed MAC in hexadecimal. */
51 string hexDigest() 51 char[] hexDigest()
52 { 52 {
53 return ByteConverter.hexEncode(digest()); 53 return ByteConverter.hexEncode(digest());
54 } 54 }
55 } 55 }