private void button1_Click(object sender, EventArgs e)
{
string str = txtPwd.Text;
MD5 md= MD5.Create();
byte [] bytes= md.ComputeHash(System.Text.Encoding.UTF8.GetBytes(str));
foreach (byte b in bytes)
{
txtMd5.Text += b.ToString();
}
}