Ejemplo n.º 1
0
        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();
        }
Ejemplo n.º 2
0
 public static string ToHexString(this byte[] bytes)
 {
     return(HexBouncyCastle.ToHexString(bytes));
 }
Ejemplo n.º 3
0
 public static string ToHexString(this byte[] bytes, int offset, int count)
 {
     return(HexBouncyCastle.ToHexString(bytes, offset, count));
 }