Home All Groups Group Topic Archive Search About

Questions about RijndaelManaged and Rijndael

Author
7 Jul 2006 10:23 PM
Zemp Dominik
Hi

Can someone tell me what the difference is between the class RijndaelManaged
and Rijndael??

Is it correctly that if I call the Rijndael.Create method, a random Key and
IV is automatically generated?

Thanks a lot and Regards
Dominik

-----------------------------
http://blogs.ecreation.ch

Author
8 Jul 2006 10:23 PM
Pieter Philippaerts
Hi Dominik,

> Can someone tell me what the difference is between the class
> RijndaelManaged
> and Rijndael??

Rijndael is the base class of all the implementations of the Rijndael
algorithm. The RijndaelManaged class is such an implementation of the
algorithm (one in purely managed code -- as the name implies).
The idea behind this design is that you can use "Rijndael.Create" to
generate 'a Rijndael implementation', and your code doesn't have to care
whether it's actually a RijndaelManaged, or something else (such as our
RijndaelCryptoServiceProvider implementation).

> Is it correctly that if I call the Rijndael.Create method, a random Key
> and
> IV is automatically generated?

Yes, that's indeed the case.

Regards,
Pieter Philippaerts
Author
13 Jul 2006 11:50 AM
Zemp Dominik
Hello Pieter,

Thanks for your answer.

Regards
Dominik

-----------------------------
http://blogs.ecreation.ch

Show quoteHide quote
> Hi Dominik,
>
>> Can someone tell me what the difference is between the class
>> RijndaelManaged
>> and Rijndael??
> Rijndael is the base class of all the implementations of the Rijndael
> algorithm. The RijndaelManaged class is such an implementation of the
> algorithm (one in purely managed code -- as the name implies).
> The idea behind this design is that you can use "Rijndael.Create" to
> generate 'a Rijndael implementation', and your code doesn't have to
> care
> whether it's actually a RijndaelManaged, or something else (such as
> our
> RijndaelCryptoServiceProvider implementation).
>> Is it correctly that if I call the Rijndael.Create method, a random
>> Key
>> and
>> IV is automatically generated?
> Yes, that's indeed the case.
>
> Regards,
> Pieter Philippaerts