LOGO

LOGO
LOGO
ads header

Breaking News

c# md5 şifreleme


using System.Security.Cryptography;
MD5CryptoServiceProvider md5 = new MD5CryptoServiceProvider();
byte[] btr = Encoding.UTF8.GetBytes(textBox2.Text);
btr = md5.ComputeHash(btr);
StringBuilder sb = new StringBuilder();
foreach (byte ba in btr)
{
sb.Append(ba.ToString(“x2”).ToLower());
}
string pass = sb.ToString();


Hiç yorum yok