locked
Symmetric encryption and the IV RRS feed

  • Question

  • Hi,

     

    Is it possible to do symmetric encryption without using the IV in C#? I know it isnt adviceable, but is it possible? I have tried using a different cipherMode like "ECB", but in the end - the algo (using 3Des) cant exist with an IV that isnt the same size as BlockSize...How can I circumvent this - if possible at all?

     

    --

    Werner

    Friday, October 19, 2007 8:43 AM

Answers

  • Hi,

     

    Well - figured it out. The problem was that I was trying to specify IV as an empty array. In fact - if just specifying ECB, the Algo doesnt use the IV no matter what value it has.

     

    --

    Werner

    Friday, October 19, 2007 10:49 AM