Mercurial > projects > dcrypt
diff 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 |
line wrap: on
line diff
--- a/dcrypt/crypto/params/ParametersWithIV.d Tue May 12 17:10:47 2009 -0400 +++ b/dcrypt/crypto/params/ParametersWithIV.d Tue May 12 22:09:33 2009 -0400 @@ -21,7 +21,7 @@ * params = Parameters to wrap. * iv = IV to be held. */ - this (CipherParameters params=null, ubyte[] iv=null) + this (CipherParameters params=null, void[] iv=null) { _params = params; _iv = cast(ubyte[]) iv;