comparison dcrypt/crypto/padding/X923.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 8b5eaf3c2979
children
comparison
equal deleted inserted replaced
27:8b5eaf3c2979 28:ad687db713a4
14 * This class implements the Null/Zero byte padding described in ANSI X.923. 14 * This class implements the Null/Zero byte padding described in ANSI X.923.
15 * Ex. [... 0x00, 0x00, 0x03] 15 * Ex. [... 0x00, 0x00, 0x03]
16 */ 16 */
17 class X923 : BlockCipherPadding 17 class X923 : BlockCipherPadding
18 { 18 {
19 char[] name() 19 string name()
20 { 20 {
21 return "X923"; 21 return "X923";
22 } 22 }
23 23
24 /* Assumes input_ is a multiple of the underlying 24 /* Assumes input_ is a multiple of the underlying