Mercurial > projects > dcrypt
comparison dcrypt/crypto/PRNG.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 |
---|---|
41 * output = Array to fill with the next bytes of the keystream | 41 * output = Array to fill with the next bytes of the keystream |
42 */ | 42 */ |
43 uint read(ubyte[] output); | 43 uint read(ubyte[] output); |
44 | 44 |
45 /** Returns: The name of the PRNG algorithm */ | 45 /** Returns: The name of the PRNG algorithm */ |
46 char[] name(); | 46 string name(); |
47 } | 47 } |