Hi. Let's say I need to encrypt/decrypt 5 different files in my program (using AESManaged). Do I have to generate a new IV for each file and do I need to save the IV every time? If I always use the same IV will that reasonably lower the security of the encryption?
Also the key is asked for by the user, so I don't need to save it, but what about the salt?

I also forgot to mention that each file is encrypted with a different key.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.