/// <summary> /// Computes a hash value of the specified <paramref name="values"/>. /// </summary> /// <param name="values">The <see cref="string"/> sequence to compute a hash code for.</param> /// <param name="setup">The <see cref="StringHashOptions"/> which need to be configured.</param> /// <returns>A <see cref="HashResult"/> containing the computed hash value of the specified <paramref name="values"/>.</returns> public static HashResult ComputeHash(this string[] values, Action <StringHashOptions> setup = null) { return(HashUtility.ComputeHash(values, setup)); }
/// <summary> /// Computes a hash value of the specified <paramref name="value"/>. /// </summary> /// <param name="value">The object to compute a hash code for.</param> /// <param name="setup">The <see cref="HashOptions"/> which need to be configured.</param> /// <returns>A <see cref="HashResult"/> containing the computed hash value of the specified <paramref name="value"/>.</returns> public static HashResult ComputeHash(this object value, Action <HashOptions> setup = null) { return(HashUtility.ComputeHash(value, setup)); }