Class HexTool

java.lang.Object
com.xxl.tool.encrypt.HexTool

public final class HexTool extends Object
hex tool
Author:
xuxueli 2024-12-15
  • Constructor Details

    • HexTool

      public HexTool()
  • Method Details

    • getDec

      public static int getDec(int index)
    • getHex

      public static byte getHex(int index)
    • toHexString

      public static String toHexString(char c)
    • toHex

      public static String toHex(String input)
      byte to hex
      Parameters:
      input -
      Returns:
    • byteToHex

      public static String byteToHex(byte[] bytes)
      byte to hex
      Parameters:
      bytes -
      Returns:
    • fromHex

      public static String fromHex(String input)
      hex to byte
      Parameters:
      input -
      Returns:
    • hexToByte

      public static byte[] hexToByte(String input)
      hex to byte
      Parameters:
      input -
      Returns: