I need to store username and password in an app.config. I want to encrypt these values using Rijndael algorithm. Where do I store the key and IV for decrypting the un and pw? I need to deploy the application to different servers with different users.
Encrypting the web.config or app.config file is usually done with RSA or DPAPI encryption.
I'm not sure if it would suit you in your case, it's only effective if the users of the applications are restricted and not administrators.