Ejemplo n.º 1
0
 /// <summary>
 /// Sha384
 /// </summary>
 /// <param name="bytes"></param>
 /// <param name="isUpper">是否转大写</param>
 /// <returns></returns>
 public static string Sha384(this byte[] bytes, bool isUpper = true)
 {
     return(SecurityCommon.Sha384(bytes, isUpper));
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Sha384
 /// </summary>
 /// <param name="stream"></param>
 /// <param name="isUpper">是否转大写</param>
 /// <returns></returns>
 public static string Sha384(this Stream stream, bool isUpper = true)
 {
     return(SecurityCommon.Sha384(stream, isUpper));
 }