示例代码
String data = "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx";
BigInteger sum = BigInteger.ZERO;
String[] split = StrUtil.split(data, 2);
for (String s : split) {
BigInteger num = new BigInteger(s, 16);
sum = sum.add(num);
}
String sumResult = sum.toString(16).toUpperCase();