Initialization vectors

Topics: Cryptography Application Block
Jun 30, 2009 at 10:01 PM


Is it possible to give an specific initialization vector to the EncryptSymetric method?

I am trying to port some code that uses the regular DESCryptoServiceProvider to the Enterprise Library schema, but I could not find how to set a predefined initialization vector.



Jul 1, 2009 at 2:37 AM

The out-of-the-box implementation does not give you the option to supply one, it uses a random IV.  You would need to create your own algorithm provider if you really need to have that feature.


Sarah Urmeneta
Global Technology & Solutions
Avande, Inc.