Groups | Blog | Home
all groups > dotnet security > july 2006 >

dotnet security : Questions about RijndaelManaged and Rijndael



Zemp Dominik
7/7/2006 3:23:01 PM
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

-----------------------------
Pieter Philippaerts
7/9/2006 12:23:15 AM
Hi Dominik,

[quoted text, click to view]

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).

[quoted text, click to view]

Yes, that's indeed the case.

Regards,
Pieter Philippaerts

Zemp Dominik
7/13/2006 11:50:59 AM
Hello Pieter,

Thanks for your answer.

Regards
Dominik

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

[quoted text, click to view]

AddThis Social Bookmark Button