comparison dcrypt/crypto/macs/HMAC.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
comparison
equal deleted inserted replaced
28:ad687db713a4 29:b9ba770b8f16
114 reset(); 114 reset();
115 115
116 return r; 116 return r;
117 } 117 }
118 118
119 string hexDigest() 119 char[] hexDigest()
120 { 120 {
121 return ByteConverter.hexEncode(digest()); 121 return ByteConverter.hexEncode(digest());
122 } 122 }
123 123
124 HMAC copy() 124 HMAC copy()