public static string ComputeString(this IHashFunction hash, string s) { var data = Encoding.UTF8.GetBytes(s); return(BinaryToHex(hash.Compute(data))); }