Exemple #1
0
 /// <summary>
 ///     Compute a hash value of the input string value using special hash algorithm
 /// </summary>
 /// <param name="value">input value</param>
 /// <param name="hashAlgorithmName">
 ///     the name of hash algorithm, please visit to
 ///     <remarks>Url:</remarks>
 ///     <see cref="http://msdn.microsoft.com/zh-cn/library/wet69s13(v=vs.85).aspx" /> for the valid names
 /// </param>
 /// <returns>the result hash code of the input string value</returns>
 public static String ToHashCode(this String value, String hashAlgorithmName)
 {
     return(HashCodeHelper.ToHashCode(value, hashAlgorithmName));
 }