<appSettings>
<add key="uname" value="user001" />
<add key="pword" value="pass001" />
</appSettings>
I'm trying to encrypt the password (pword) in the web.config file. One method is by using ASPNET_REGIIS. Is there any other way so that, instead of directly typing the password on web.config file, I can encrypt it in the server side code? i.e, by writing some encryption and decryption methods. Or using DESCryptoServiceProvider class?