RijndaelManaged: IV Generation?

Posted by cam on Stack Overflow See other posts from Stack Overflow or by cam
Published on 2010-03-27T19:26:11Z Indexed on 2010/03/27 19:33 UTC
Read the original article Hit count: 351

Filed under:
|
|

I want to implement the most secure, and most reliable form of symmetric key cryptography in my application. The user should input a password to encrypt/decrypt, and that's all. For RijndaelManaged, one must enter a key and an IV. I'm not sure how to address the situation. Right now, I have the entered password being hashed by SHA256 and then being used as the key for the Rijndael. What do I use for the IV? Another password?

© Stack Overflow or respective owner

Related posts about c#

Related posts about cryptography