Zuora.Services.PaymentManager.CreateMD5Hash C# (CSharp) Method

CreateMD5Hash() public method

Take string convert it to UTF8 then genrate MD5 Hash then Convert to Base 16
public CreateMD5Hash ( String RawData ) : String
RawData String
return String
        public String CreateMD5Hash(String RawData)
        {
            byte[] hash = System.Security.Cryptography.MD5.Create().ComputeHash(System.Text.Encoding.UTF8.GetBytes(RawData));
            String str = "";
            byte[] numArray = hash;
            int index = 0;
            while (index < numArray.Length)
            {
                byte num = numArray[index];
                str = str + num.ToString("x2");
                checked { ++index; }
            }
            return str;
        }