/// <summary> /// Hash utility - pass the hash algorithm name as a string i.e. SHA1, MD5 etc. /// </summary> /// <param name="input"></param> /// <param name="algorithm"></param> /// <returns>Hashed String</returns> public static string HashIt(this string input, string algorithm) { return(SecurityHelper.HashIt(input, algorithm)); }
/// <summary> /// Hash utility - pass the hash algorithm name as a string i.e. SHA1, MD5 etc. /// </summary> /// <param name="input"></param> /// <param name="algorithm"></param> /// <param name="upperCase"></param> /// <returns></returns> public static string HashIt(this string input, string algorithm, bool upperCase) { return(SecurityHelper.HashIt(input, algorithm, upperCase)); }