ANH_WCF_Interface.HashCalc.GetSHA C# (CSharp) Method

GetSHA() public static method

public static GetSHA ( string source ) : string
source string
return string
        public static string GetSHA(string source)
        {
            return BitConverter.ToString(new SHA1CryptoServiceProvider().ComputeHash(
             Encoding.Default.GetBytes(source))).Replace("-", String.Empty);
        }
HashCalc