Mercurial > projects > dcrypt
comparison dcrypt/crypto/BlockCipherPadding.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 | 2b4bccdc8387 |
comparison
equal
deleted
inserted
replaced
27:8b5eaf3c2979 | 28:ad687db713a4 |
---|---|
12 | 12 |
13 /** Base padding class for implementing block padding schemes. */ | 13 /** Base padding class for implementing block padding schemes. */ |
14 abstract class BlockCipherPadding | 14 abstract class BlockCipherPadding |
15 { | 15 { |
16 /** Returns: The name of the padding scheme implemented. */ | 16 /** Returns: The name of the padding scheme implemented. */ |
17 char[] name(); | 17 string name(); |
18 | 18 |
19 /** | 19 /** |
20 * Generate padding to a specific length. | 20 * Generate padding to a specific length. |
21 * | 21 * |
22 * Params: | 22 * Params: |