Package com.xxl.tool.encrypt
Class HexTool
java.lang.Object
com.xxl.tool.encrypt.HexTool
hex tool
- Author:
- xuxueli 2024-12-15
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
HexTool
public HexTool()
-
-
Method Details
-
getDec
public static int getDec(int index) -
getHex
public static byte getHex(int index) -
toHexString
-
toHex
byte to hex- Parameters:
input-- Returns:
-
byteToHex
byte to hex- Parameters:
bytes-- Returns:
-
fromHex
hex to byte- Parameters:
input-- Returns:
-
hexToByte
hex to byte- Parameters:
input-- Returns:
-