public static string ToHexString(this byte[] bytes) { return(HexBouncyCastle.ToHexString(bytes)); //var sb = new StringBuilder(); //foreach (var b in bytes) // sb.Append(b.ToString("x2")); //return sb.ToString(); }
public static string ToHexString(this byte[] bytes) { return(HexBouncyCastle.ToHexString(bytes)); }
public static string ToHexString(this byte[] bytes, int offset, int count) { return(HexBouncyCastle.ToHexString(bytes, offset, count)); }