byte数组 转 16进制字符串
public static String toHexValue(byte[] messageDigest) { if (messageDigest == null) return ""; StringBuilder hexValue = new StringBuilder(); for (byte aMessageDigest : messageDigest) { ...