MD5 Hash : MD5 « Security « C# / C Sharp






MD5 Hash

 

using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Security.Cryptography;

public class Util
{
    public static string Hash(string input)
    {
        return System.Text.Encoding.UTF8.GetString(MD5.Create().ComputeHash(System.Text.Encoding.UTF8.GetBytes(input)));
    }
}

   
  








Related examples in the same category

1.MD5 encode
2.MD5 Encrypt
3.Create MD5 Hash
4.Create ASCII MD5 Hash
5.Encrypt MD5
6.MD5 Hash
7.Get MD5 Hash
8.Makes a MD5 hash from a string
9.Get MD5 Hash (2)
10.Computes the MD5 checksum for a single file.
11.Get MD5 for a string
12.Get and verify MD5 Hash
13.Md5 Hash (2)