Mercurial > projects > dcrypt
comparison dcrypt/misc/Checksum.d @ 28:ad687db713a4
Further reworked the code for hash padding. Replaced all instances of 'char[]' with 'string' and removed a few 'const' modifiers as per Glenn Haecker's patch for D2 compatibility. Updated CONTRIBUTORS file.
author | Thomas Dixon <reikon@reikon.us> |
---|---|
date | Sun, 10 May 2009 22:38:48 -0400 |
parents | 5ce3012f1def |
children | 21847420b1ac |
comparison
equal
deleted
inserted
replaced
27:8b5eaf3c2979 | 28:ad687db713a4 |
---|---|
20 * Returns: The computed 32 bit checksum. | 20 * Returns: The computed 32 bit checksum. |
21 */ | 21 */ |
22 uint compute(void[] input_, uint start); | 22 uint compute(void[] input_, uint start); |
23 | 23 |
24 /** Returns: The name of the checksum algorithm. */ | 24 /** Returns: The name of the checksum algorithm. */ |
25 char[] name(); | 25 string name(); |
26 } | 26 } |