Version 1.2 posted in original post. Changes are to the symmetric alorithms which previously used the default key sizes.
GenerateIV() now added to generate a random intialisation vector for use with block chaining. Existing IV property is used to access it if necessary.
New property BlockSize added to match existing property KeySize, but is not particularly useful as all these algorithms work on fixed block sizes.
New property LegalBlockSizes added to match LegalKeySizes, see below. Again not much use!
New property LegalKeySizes added. TripleDES, RC2 and Rijndael can have variable key sizes. This returns an array giving the max and min keysizes and the size of the steps between them.
EDIT : I've just noticed that the RSAdemo has the bitwise library added. This is a hangover and is not needed so you can remove the library and the bit object.
Last edited by agraham : 05-14-2008 at 03:43 PM.
|