Class MGL_HexUtils

java.lang.Object
tech.mgl.core.c.MGL_HexUtils

public class MGL_HexUtils extends Object
  • Constructor Details

    • MGL_HexUtils

      public MGL_HexUtils()
  • Method Details

    • toHexString

      public static String toHexString(byte[] mDigest)
      二进制转HEX
      Parameters:
      mDigest -
      Returns:
    • toHex

      protected static char[] toHex(byte[] data, char[] lowOrUp)
    • byte2hex

      public static String byte2hex(byte[] b)
      二行制转字符串
      Parameters:
      b -
      Returns:
    • hex2byte

      public static byte[] hex2byte(byte[] b)
    • toHexWithString

      public static String toHexWithString(byte[] data)
      Parameters:
      data -
      Returns: