Encrypting text value using MD5 in Dot Net
November 20th, 2008
No comments
For example we will have two textboxes such as ‘TextBox1′ and ‘TextBox2′.Now we will encrypt ‘TextBox1′ value using MD5 in Dot Net and display the encrypted value in ‘TextBox2′.
string pwd = “”; pwd = System.Web.Security.FormsAuthentication.HashPasswordForStoringInConfigFile(TextBox1.Text, “MD5″); TextBox2.Text = pwd;
Popularity: 1% [?]