How to encrypt and save a password
<p>I am working on the security issue in .net application and I have been reported that My code is vulnerable and I see the issue is the way I store the password </p>

<p>For example:</p>

<pre><code>&lt;add key="RegxxxChannelPassword" value="test"/&gt;
&lt;add key="xxxRegistrationConnStr" value="xxxxxxxxxx;
</code></pre>

<p>So my tool was showing that storing the password in plain text is dangerous .</p>

<p>So can I encrpt the password and save it?</p>

<p>Can some one please suggest me if there are any algorithms?</p>
