MD5

Posted on: 3/19/2015 3:09:44 PM | Views : 576

Hi All,
I am using below script to decrypt the text while and passing to another page now there I have to show this value in a text box to a user.
Please suggest
private string md5(string sPassword)     {         System.Security.Cryptography.MD5CryptoServiceProvider x = new System.Security.Cryptography.MD5CryptoServiceProvider();         byte[] bs = System.Text.Encoding.UTF8.GetBytes(sPassword);         bs = x.ComputeHash(bs);         System.Text.StringBuilder s = new System.Text.StringBuilder();         foreach (byte b in bs)         {             s.Append(b.ToString("x2").ToLower());         ...

Go to the complete details ...