Package tech.mgl.core.c
Class MGL_HexUtils
java.lang.Object
tech.mgl.core.c.MGL_HexUtils
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Stringbyte2hex(byte[] b) 二行制转字符串static byte[]hex2byte(byte[] b) protected static char[]toHex(byte[] data, char[] lowOrUp) static StringtoHexString(byte[] mDigest) 二进制转HEXstatic StringtoHexWithString(byte[] data)
-
Constructor Details
-
MGL_HexUtils
public MGL_HexUtils()
-
-
Method Details
-
toHexString
二进制转HEX- Parameters:
mDigest-- Returns:
-
toHex
protected static char[] toHex(byte[] data, char[] lowOrUp) -
byte2hex
二行制转字符串- Parameters:
b-- Returns:
-
hex2byte
public static byte[] hex2byte(byte[] b) -
toHexWithString
- Parameters:
data-- Returns:
-