comparison dcrypt/crypto/params/ParametersWithIV.d @ 32:2b4bccdc8387

Added version() statements to play nice with D2's current feelings about const. Changed a few methods (addEntropy and read in the base PRNG class, and the constructor for ParametersWithIV) to accept void[] in place of ubyte[].
author Thomas Dixon <reikon@reikon.us>
date Tue, 12 May 2009 22:09:33 -0400
parents 8b5eaf3c2979
children
comparison
equal deleted inserted replaced
31:f429c5e9dd69 32:2b4bccdc8387
19 /** 19 /**
20 * Params: 20 * Params:
21 * params = Parameters to wrap. 21 * params = Parameters to wrap.
22 * iv = IV to be held. 22 * iv = IV to be held.
23 */ 23 */
24 this (CipherParameters params=null, ubyte[] iv=null) 24 this (CipherParameters params=null, void[] iv=null)
25 { 25 {
26 _params = params; 26 _params = params;
27 _iv = cast(ubyte[]) iv; 27 _iv = cast(ubyte[]) iv;
28 } 28 }
29 29