ZendeskApi_v2.ZendeskApi.Md5 C# (CSharp) Method

Md5() public method

public Md5 ( string strChange ) : string
strChange string
return string
        public string Md5(string strChange)
        {
            //Change the syllable into UTF8 code
            byte[] pass = Encoding.UTF8.GetBytes(strChange);

            MD5 md5 = new MD5CryptoServiceProvider();
            md5.ComputeHash(pass);
            string strPassword = ByteArrayToHexString(md5.Hash);
            return strPassword;
        }