kick
01.04.2017, 22:40
Код:
public string GetMd5Hash(string input)
{
MD5 md5Hasher = MD5.Create();
byte[] data = md5Hasher.ComputeHash(Encoding.Default.GetBytes(in put));
StringBuilder sBuilder = new StringBuilder();
for (int i = 0; i
Далее используем так:
Код:
[CODE]
string source = "MMO-DEVELOP.RU";
using (MD5 md5Hash = MD5.Create())
{
string hash = GetMd5Hash(source);
MessageBox.Show(hash);
}
public string GetMd5Hash(string input)
{
MD5 md5Hasher = MD5.Create();
byte[] data = md5Hasher.ComputeHash(Encoding.Default.GetBytes(in put));
StringBuilder sBuilder = new StringBuilder();
for (int i = 0; i
Далее используем так:
Код:
[CODE]
string source = "MMO-DEVELOP.RU";
using (MD5 md5Hash = MD5.Create())
{
string hash = GetMd5Hash(source);
MessageBox.Show(hash);
}