hi I used below class to change data to some code and save it in database
public class ClsCrypt
{
public ClsCrypt()
{
//
// TODO: Add constructor logic here
//
}
public static byte[] computeMD5Hash(string InputString)
{
byte[] MDH = new byte[16];
UTF8Encoding encoder = new UTF8Encoding();
MD5CryptoServiceProvider md5Hasher = new MD5CryptoServiceProvider();
MDH = md5Hasher.ComputeHash(encoder.GetBytes(InputString));
return MDH;
}
and
_cmd.Parameters.AddWithValue("@PassWord", ClsCrypt.computeMD5Hash(Txtpass.Text));
I wrote above code in insertbutton event for saving users password in database...
Now In other page I want shows password in lable but in database it save it like code and didn't show it in lable...
so for showing password(that save in database with code) in lable what should I do?
can I change code and show it in label?
Best Regards
Neda